When trying to invoke the ‘stringToDocument’ service I get the following Error. (I’m not sure what the XQUERY segment above is from. Possible Oracle system) Could you possibly guide me on the error.
java.lang.ClassCastException: class com.wm.util.Values:sun.misc.Launcher$AppClassLoader@1a16869 incompatible with class [B:null
at pub.web.stringToDocument(web.java:482)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:303)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:700)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:147)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:279)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:556)
at com.wm.lang.flow.FlowState.stepIncremental(FlowState.java:479)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:370)
at wm.server.JSBC_flow.stepFlow(JSBC_flow.java:203)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:310)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:700)
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:104)
at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:151)
at com.wm.app.b2b.server.HTTPDispatch.run(HTTPDispatch.java:441)
at com.wm.util.TimeWrappingProvider$TimeMesuredTask.run(TimeWrappingProvider.java:40)
at com.wm.util.pool.PooledThread.run(PooledThread.java:109)
at java.lang.Thread.run(Thread.java:725)
The WmPublic/pub.xml-Services have been introduced long time ago (before or with wM 7.1).
The WmPublic/pub.web-Services are marked as deprecated since then.