Suppress xsi:type in SOAP Client
I have an xml file that it send over a SOAP client. The following is the soap log.
How do I get rid of the namespace "s0:" from the SOAP Body
<?xml version="1.0" encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://www.w3.org/2003/05/soap-envelope'> <SOAP-ENV:Header> ...... </SOAP-ENV:Header> <SOAP-ENV:Body> <OTA_HotelRatePlanNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:s01="http://www.opentravel.org/OTA/2003/05" xsi:type="s01:OTA_HotelRatePlanNotifRQType" MessageContentCode="8" Version="1" > <RatePlans HotelCode="INTDEM"> <RatePlan> <RatePlanType RatePlanCode="xxxx" RatePlanType="10"> </RatePlanType> </RatePlan> </RatePlans> </OTA_HotelRatePlanNotifRQ> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Regards
Anil
It's a little bit complicated
Controlling the Use of Namespaces
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
Thanks Robert,
Did some tinkering with " OUTPUTTYPEATTRIBUTE" ," ELEMENTQUALIFIED" and " SUPPRESSTYPEPREFIX" and got rid of most of the of the prefix and xsitype
Regards
Anil