axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin Sisodia" <sachin.siso...@gmail.com>
Subject Problem to call web service through WSDL2Java
Date Thu, 08 Mar 2007 02:07:16 GMT
Hi All,
I am gettig the error message while trying to run the below code to call web
service:

*Code:*
--------------------------------------------------

        org.apache.axis.client.Call _call = createCall();
        _call.setOperation(_operations[0]);
        _call.setUseSOAPAction(*true*);
       _call.setSOAPActionURI("");
        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
        _call.setOperationName(*new*
javax.xml.namespace.QName("http://10.171.44.97/service", "testWS"));
	
        setRequestHeaders(_call);
        setAttachments(_call);
        System.out.println("before invoke");
	java.lang.Object _resp = _call.invoke(*new* java.lang.Object[] {input});



--------------------------------------------------------------------------


*Error-*


----------------------------------

org.xml.sax.SAXException: Error: URI=*null* Line=3: Illegal
xml:lang value "".



----------------------------------

I would appreciate if anyone can help me out.

Thanks in advance.

Regards
Sachin

Mime
View raw message