Originally posted by santosh raveendran:
I am sending a request to the web service as a SOAP request and the web service returns me a SOAP response which is received as a object in my deployed code from which i need to extract my required information, exception is getting thrown while creating the out put or response object
Your original post shows a SOAPFault which clearly lists:
According to the SOAP standard
The Server class of errors indicate that the message could not be processed for reasons not directly attributable to the contents of the message itself but rather to the processing of the message. For example, processing could include communicating with an upstream processor, which didn't respond. The message may succeed at a later point in time. See also section 4.4 for a description of the SOAP Fault detail sub-element.
This would then mean that your request was ultimately responsible for the failure. The contents of "1981-01-01" in the request message was OK because the message treats it as a String. It's only later in the service logic (processing) that conversion of the String to a Date fails - hence the Server.userException code.
So technically your aren't receiving a SOAP response but a SOAP Fault which is thrown as an AxisFault.
Otherwise you are telling me that "1981-01-01" is nowhere in the SOAP request but is actually in your SOAP response and that the client stub is failing and throwing an AxisFault - setting the faultCode to "Server.userException" even though the problem is occurring locally, not on the server.
one of my coworkers successfully deployed the same wsdl in .NET without issues.[/QB]
Do you mean that your co-worker has successfully accessed the PeopleSoft web service with a .NET based client?
At this point I would capture the SOAP requests and responses from
both clients with
Apache TCPMon (
Tutorial) or
java.net tcpmon and compare the sets - that might give you a clue as to what is going wrong.
If after that you still need help, please refer to
How to Get Help with SOAP web services.