This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Web Services : --> There is an error in XML document,
Mythili Sathya
Greenhorn
Joined: Aug 04, 2008
Posts: 10
posted
0
Am getting the following error :
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.blockbuster.onlinesub.central.service.CallWebServices.sendWaitingMessages(CallWebServices.java:237) at com.blockbuster.onlinesub.central.service.CallWebServices.call(CallWebServices.java:141) at com.blockbuster.onlinesub.central.service.AllocationService.getPickListForDC(AllocationService.java:117) at com.blockbuster.onlinesub.central.batch.AllocationPushThread.run(AllocationPushThread.java:35) Caused by: java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Server was unable to read request. --> There is an error in XML document (1, 24668). --> '_', hexadecimal value 0x16, is an invalid character. Line 1, position 24680. Detail: <detail> </detail>; nested exception is: javax.xml.rpc.soap.SOAPFaultException: Server was unable to read request. --> There is an error in XML document (1, 24668). --> '_', hexadecimal value 0x16, is an invalid character. Line 1, position 24680. at com.blockbuster.onlinesub.central.webservices.client.DistributionCenterSoap_Stub.procurementFeed(DistributionCenterSoap_Stub.java:246) ... 9 more Caused by: javax.xml.rpc.soap.SOAPFaultException: Server was unable to read request. --> There is an error in XML document (1, 24668). --> '_', hexadecimal value 0x16, is an invalid character. Line 1, position 24680. at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:313) at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144) at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457) at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443) at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290) at com.blockbuster.onlinesub.central.webservices.client.DistributionCenterSoap_Stub.procurementFeed(DistributionCenterSoap_Stub.java:242) ... 9 more
Can any one explain me the problem..........
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
0
Welcome to JavaRanch.
Is the request you're sending valid (or at least well-formed) XML? A tool like tcpmon or SOAPUI can show you the XML in transit.
We have not captured the response from the Webservice.... Any idea which character is not getting recognised......?
So that i can check teh DB values for the same
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
0
If you look closely at the error message, it explicitly mentions that the ASCII code of the character is hex 16, which is a control character. (It's not the underscore character, though, as the message seems to imply.)
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Web Services : --> There is an error in XML document,