开发者

create a soap request message

HI while trying to use soapUI, I got error; SOAP RESPONSE FAILED: this is my request xml, I just copy pasted this xml under soapenv:Body, and sumbitted a request, do I need to do something else?

<holyrequest xsi:schemaLocation="http://www.mywebsite.com/xml/webservice Request.xsd"
 xmlns="http://www.mywebsite.com/xml/webservice"
 xmlns:xsi="http:/开发者_运维百科/www.w3.org/2001/XMLSchema-instance">

<state reached="false">
 <value>Plan</value>
<myvariable>myplan</myvariable>
</state>

 </holyrequest>


Add the WSDL of your webservice to your soapUI project: http://www.soapui.org/Getting-Started/your-first-soapui-project.html

Then soapUI will generate you demo requests and you can see the required structure of a request.


I found it;

<SOAP-ENV:Body>
<holyrequest xmlns="http://www.myservice.com/xml/webservice">

<state goalreached="false">
  <value>PlanKB</value>
    <goalvariable>myGoal</goalvariable>
</state>

    </holyrequest>

</SOAP-ENV:Body>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜