简体   繁体   English

如何将SOAP请求发送到Web服务?

[英]How do I send a SOAP request to a webservice?

Are there any tools available to send XML request to a webservice to see if it is functioning? 有没有可用的工具可以将XML请求发送到Web服务,以查看其是否正常运行?

I tried it pro grammatically by consuming a WSDL in Visual Studio and using the exposed interface but I want to try another way. 我通过在Visual Studio中使用WSDL并使用公开的界面来进行语法上的尝试,但是我想尝试另一种方法。

Could a tool like soapUI do this? 像soapUI这样的工具可以做到这一点吗?

Thanks 谢谢

Here is the Request I want to send. 这是我要发送的请求。

<SOAP-ENV:Envelope xmlns:SOAP-ENV="urn:schemas-xmlsoap-org:envelope">
    <SOAP-ENV:Body>
        <AccountObject timeFormat="blah"  transactionType ="READ" >
            <AccountObjectDetails>
                <AccountObjectDetailsHeader
                    AccountID="99999999"/>
            </AccountObjectDetails>
        </AccountObject>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

You could also use a tool like Fiddler to send your request: http://www.fiddler2.com/fiddler2/ 您也可以使用Fiddler之类的工具发送请求: http : //www.fiddler2.com/fiddler2/

Go into the request builder tab and fill out the details. 进入请求构建器选项卡并填写详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM