Hi Thomas I am trying to invoke .NET WS from Java Axis client. I am able to invoke the WS but not able to pass parameters. In .NET it is receiving as null for sting. I searched the forum and found that AXIS by default uses RPC and .NET by default is Document. So If we force the .NET to use RPC the problem will be solved. I gave [SoapRpcService] in .NET WS and i saw the WSDL it is mentioned as
- <wsdl:binding name="Service1Soap" type="tns:Service1Soap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> - <wsdl:operation name="HelloWorld"> <soap:operation soapAction="http://tempuri.org/Rpc" style="rpc" /> - <wsdl:input> <soap:body use="encoded" namespace="http://tempuri.org/HelloWorld" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> </wsdl:input> - <wsdl:output> <soap:body use="encoded" namespace="http://tempuri.org/HelloWorld" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> </wsdl:output> </wsdl:operation> </wsdl:binding> Earlier it was Document now it is RPC. Now my problem is java client is not working it is throwing exception. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: Server was unable to read request. --> There is an error in XML document (4, 4). --> <HelloWorld xmlns=''> was not e xpected. faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: Server was unable to read request. --> There is an error in XML document (4, 4). --> &lt;HelloWorld xmlns='&apo s;&gt; was not expected. faultActor: faultNode: faultDetail: Please help me to fix the problem. Thanks in Advance Prasanna View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859607#3859607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859607 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
