how to customize soap message in axis 2
exsatheeshv <[email protected]>
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <[email protected]> |
this is the soap message xml geeratd by axis 2
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ns:SendScheduleMessageResponse xmlns:ns="http://genone">
<ns:return><![CDATA[<?xml version="1.0" encoding="UTF-8"?><Response
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="ScheduleResponse.xsd"><MessageID>999999</MessageID><ResponseToMessageID>999999</ResponseToMessageID><Status><Code>Error</Code></Status><Error><Code>1004</Code><Description>Invalid
Username/Password</Description></Error></Response>]]></ns:return>
</ns:SendScheduleMessageResponse>
</soapenv:Body>
</soapenv:Envelope>
i want to modify the soap message xml follwing way:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap">
<soap:Body>
<ns:SendScheduleMessageResponse xmlns:ns="http://genone">
<ns:return><![CDATA[<?xml version="1.0" encoding="UTF-8"?><Response
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="ScheduleResponse.xsd"><MessageID>999999</MessageID><ResponseToMessageID>999999</ResponseToMessageID><Status><Code>Error</Code></Status><Error><Code>1004</Code><Description>Invalid
Username/Password</Description></Error></Response>]]></ns:return>
</ns:SendScheduleMessageResponse>
</soap:Body>
</soap:Envelope>
because .net client only accespt soap: body instead of soapenv:body
--
View this message in context: http://old.nabble.com/how-to-customize-soap-message-in-axis-2-tp34387169p34387169.html
Sent from the Axis - User mailing list archive at Nabble.com.