xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ragnvald Balch Barth 8378 <...@rubicon.no>
Subject Call.invoke fails.
Date Mon, 21 Aug 2000 10:22:19 GMT
> Hi.
> Why does Call.invoke() throw an exeption?
> This code should be by the book...
> 
>          Call call = new Call ();
>          call.setTargetObjectURI (strTmp);  
>          call.setMethodName ("ebizGetClients");   
>          call.setEncodingStyleURI(encodingStyleURI);
>          call.setParams (params);                          
>          Response resp = call.invoke (url, "" );
> 
> ... but I always get this exeption:
> 
> [SOAPException: faultCode=SOAP-ENV:Client; msg=Root element of a SOAP
> message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope'.;
> targetException=java.lang.IllegalArgumentException: Root element of a SOAP
> message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope'.]
> 
> the fault code is SOAP-ENV:Client, so nothing is sent. 
> Anybody has any idea?
> Thanks!
> Ragnvald.

Mime
View raw message