Skip to Content
0
Jan 22, 2013 at 08:36 AM

ClassCastException with RouterService

24 Views

Hi,

I have SAP ME 6.0.4.1 installed and yesterday I noticed some errors in the routerservice Web Service.

With FindRouterByBasicData:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME">

<soapenv:Header/>

<soapenv:Body>

<me:RouterByBasicDataQuery_sync>

<me:RouterByBasicDataQuery>

<!--You may enter the following 4 items in any order-->

<!--Optional:-->

<me:SiteRef>

<me:Site>TEST1</me:Site>

</me:SiteRef>

<me:Router>JOHANTESTAR2</me:Router>

<!--Optional:-->

<me:Revision>99</me:Revision>

</me:RouterByBasicDataQuery>

</me:RouterByBasicDataQuery_sync>

</soapenv:Body>

</soapenv:Envelope>

I get the following response:

<SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SOAP-ENV:Body>

<SOAP-ENV:Fault>

<faultcode>SOAP-ENV:Client</faultcode>

java.lang.ClassCastException: class com.sap.me.frame.Data: sap.com/me~ear@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@7cd90079@alive incompatible with class com.sap.me.frame.BOHandle: sap.com/me~ear@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@7cd90079@alive>

<detail>

<yq1:java.lang.RuntimeException xmlns:yq1="java.lang.ClassCastException" _mce_href="http://sap-j2ee-engine/client-runtime-error">java.lang.ClassCastException">http://sap-j2ee-engine/client-runtime-error">java.lang.ClassCastException: class com.sap.me.frame.Data:sap.com/me~ear@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@7cd90079@alive incompatible with class com.sap.me.frame.BOHandle:sap.com/me~ear@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@7cd90079@alive>

</detail>

</SOAP-ENV:Fault>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Anybody have an idea?

Br,

Johan