java - WSDL Request response format different in Soap UI and WSDL2Java -
i have wsdl file, have generated java files using "java org.apache.axis.wsdl.wsdl2java -o . -d session -s -p org.att handlingrequest2.wsdl" command in linux system create server , client, working fine take tcpdump , request , response format, when process wsdl file using soapui generated different request format not working in server getting error code 500 server, pls suggest.
request format tcpdump:-
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <soapenv:body> <requestreceiver xmlns="http://connect.ags.com"><req><extra1 xsi:nil="true"/> <extra2 xsi:nil="true"/> <extra3 xsi:nil="true"/> <mdn>8802649138</mdn> <req_type>102</req_type> <tid xsi:nil="true"/> <time xsi:nil="true"/> </req> </requestreceiver> </soapenv:body> </soapenv:envelope>
request format soapui:-
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://connect.ags.com"> <soapenv:header/> <soapenv:body> <con:requestreceiver> <con:req> <con:extra1>?</con:extra1> <con:extra2>?</con:extra2> <con:extra3>?</con:extra3> <con:mdn>?</con:mdn> <con:req_type>?</con:req_type> <con:tid>?</con:tid> <con:time>?</con:time> </con:req> </con:requestreceiver> </soapenv:body> </soapenv:envelope>
Comments
Post a Comment