hi folks,
We have sorted out the problem, when i was giving the parameter a name, ie passing the first arg. to the Parameter constructor, it was not matching the parameter name from the wsdl file.
Brian
Scott Nichol <[EMAIL PROTECTED]> wrote:
Scott Nichol <[EMAIL PROTECTED]> wrote:
If you could post the SOAP payloads you captured and the WSDL for the service, that would be a big help.
Thanks.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "Brian Shields" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 09, 2004 4:32 PM
Subject: passing parameters to JWSDP services
Hi all,
I am trying to call a JWSDP service from an apache SOAP client. It is working when there are no parameters in the service method. When i add the parameters i get the following error:
[Attributes={}] [faultCode=env:Client] [faultString=JAXRPC.TIE.01: caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: START: param1] [faultActorURI=null] [DetailEntries=] [FaultEntries=]
I have caught the SOAP messages and TCP traffic for the calls if anyone needs anymore info. Is there anything that I am missing from my code that would cause such an error:
org.apache.soap.rpc.Call call = new org.apache.soap.rpc.Call();
call.setParams(parameters);
call.setMethodName("testIntInputStringOutput");
call.setFullTargetObjectURI("urn:Foo");
call.setEncodingStyleURI("http://schemas.xmlsoap.org/soap/encoding/");
Response resp = call.invoke(new URL("http://192.168.16.35:8080/LimaR/interface"), "");
FYI this is all working on both SOAP and AXIS deployed services.
Thanks,
Brian
---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online