Forum Discussion

sriharsha's avatar
14 years ago

SOAPUI not generating method name in soap request body.

Hello Fellow members,
I am trying out SOAPUI for custom built soap server. Which caters for some of the requests.

I expect the request to be like below

<soapenv:Envelope 
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tns="http://xyz.com/myservice"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
<tns:MyServiceRequest>
<Parameter1>1234</Parameter1>
</tns:MyServiceRequest>
</soapenv:Body>
</soapenv:Envelope>


Instead the SOAPUI is generating request like below

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<Parameter1>1234</Parameter1>
</soapenv:Body>
</soapenv:Envelope>


Why doesn't the SOAPUI tool generates the method name in request and missing some namespace. What could have been the issue? I am using wsdl provided to generate these requests.
No RepliesBe the first to reply