我正在使用asp.net Web服务(ASMX) 如何自定义SOAP响应以获取关注
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SaveApplicationResponse xmlns="http://www.ewewew.co.uk/ADNIntegration/">
<response externalid="somevalue" adnid="somevalue2">
<status>somevalue3</status>
</response>
</SaveApplicationResponse>
</soap:Body>
</soap:Envelope>
我可以将值写入<status>
,但找不到如何在<response>
标记中添加内容。在adnid
和externalid
中需要一些值有人可以帮助我