My Oracle Support Banner

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

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.2.1 and later   [Release: 6.2 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>
<bea_fault:stacktrace xmlns:bea_fault="">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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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