error sending string with "http://" with soap lite



Does anyone know how to send a web service request that contains the
string "http://"; in Soap Lite?

I have a web service in java with the method signature
doOperation(String str). When I try to send a request with the text
"http://testing.com";, soap lite converts the request type from
"xsd:string" to xsi:type="xsd:anyURI".

When I run the web service, I get the error message
"org.xml.sax.SAXException: Bad types (class java.net.URI -> class
java.lang.String)", from Java web service server because it thinks it
is going to receive a url instead of string. It is expecting a string.

Regards
Simon

.



Relevant Pages

  • Re: Accessing a Web Service using a Query String
    ... basically a query string that has the asmx address for the page where the ... Accessing a Web Service using a Query String ... > May be you should add the HttpGet request protocol for the Web services ... An unhandled exception occurred during the execution of the ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Accessing a Web Service using a Query String
    ... May be you should add the HttpGet request protocol for the Web services ... > Query String should work. ... > Can I access a Web Service through a Query Sting. ... An unhandled exception occurred during the execution of the ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Calling a Web Service hosted on a Web Logic server from a C# S
    ... include credentials in the WebLogic web service request. ... >> causes the client to crash. ... a Java client that accesses the same web service succeeds. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Connecting to Analysis Services with Java XML
    ... Most likely your element isn't in the correct namespace. ... Compare your Java request to the VB request and see the difference... ... public static void main(String[] args) throws Exception { ...
    (microsoft.public.data.xmlanalysis)
  • Re: Accessing a Web Service using a Query String
    ... > May be you should add the HttpGet request protocol for the Web services ... >> Query String should work. ... >> Can I access a Web Service through a Query Sting. ... An unhandled exception occurred during the execution of the ...
    (microsoft.public.dotnet.framework.webservices)