My Oracle Support Banner

Webservice Call With Following Errormessage :Java.Lang.Classcastexception (Doc ID 1315214.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 6.2.1 and later
Information in this document applies to any platform.


On OTM version 6.2.1

When doing a webservice call using :

<soap:Header xmlns:soap="">

We are getting following errormessage :

<env:Envelope xmlns:soapenc="" xmlns:xsd="" xmlns:env="" xmlns:xsi="">
<faultstring>Exception during processing: java.lang.ClassCastException: weblogic.webservice.core.soap.SOAPTextElement
(see Fault Detail for stacktrace)</faultstring>
<host_fault:stacktrace xmlns:bea_fault="http://<host>/servers/wls70/webservice/fault/1.0.0">java.lang.ClassCastException: weblogic.webservice.core.soap.SOAPTextElement

java.lang.ClassCastException: weblogic.webservice.core.soap.SOAPTextElement
at glog.server.webservice.WSSHeaderHandler$Service.handleRequest(

When we get ridd off the Carriage Return it seems to work...
<soap:Header xmlns:soap=""></soap:Header>
or using

<soap:Header xmlns:soap=""/>


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.