Hi all
I'm trying to access an external web service and get this error when it gets
to this line
String result = (String)call.invoke(new Object[] {param1, param2, param3});
Error in deserialization : failed deserializing value of type
{http://www.api.org/schema/par/common/v1_0}
EndUserIdentifier into class org.api.www.par.common.EndUserIdentifier
I'm been back to the supplier of the web service but i'm not getting much
help from them. Does anyone know what this error means. I have to pass up
username and password in the http header and using the passweord/usernme
they gave me
This is my code
Can anyone see anything outstandingly wrong in my code
Thanks for any help
URL endpoint = new URL
("http://www.domain.com:9000/ccx/par_third_party_calling_service/encoded");
Service service = new Service();
Call call = (Call)service.createCall();
call.setTargetEndpointAddress(endpoint);
call.setOperationName("methodName");
call.setUsername("username");
call.setPassword("password");
String result = (String)call.invoke(new Object[] {param1, param2, param3});
System.out.println("call result " + result);
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/