asp.net - How can i change/edit SOAP response in ASMX -


im creating soap web service our client , need change response from:

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema">    <soap:body>       <send_messageresponse xmlns="send_message_response">          <message_response>             <message_id>2001</message_id>             <description>sent</description>             <status>sent</status>          </message_response>       </send_messageresponse>    </soap:body> </soap:envelope> 

to

    <soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema">    <soap:body>       <send_message_response xmlns="send_message_response">          <message_response>             <message_id>2001</message_id>             <description>sent</description>             <status>sent</status>          </message_response>       </send_messageresponse>    </soap:body> </soap:envelope> 

i've tried adding

[webmethod]         [return: xmlelement("message_response")]         [soapdocumentmethod("send_message", requestnamespace = "urn", responsenamespace = "send_message_response", use = soapbindinguse.literal, parameterstyle = soapparameterstyle.wrapped)] 

but still cant change response. im wondering if have experience in creating outbound api of oracle field service cloud? coz our client oracle :)


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -