Deprecated: Optional parameter $format declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1409

Deprecated: Optional parameter $options declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1409

Deprecated: Optional parameter $format declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1424

Deprecated: Optional parameter $options declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1424

Deprecated: Optional parameter $format declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1451

Deprecated: Optional parameter $options declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1451

Deprecated: Optional parameter $format declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1511

Deprecated: Optional parameter $options declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1511

Deprecated: Optional parameter $format declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1532

Deprecated: Optional parameter $options declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/webform/includes/webform.report.inc on line 1532

Deprecated: Optional parameter $field declared before required parameter $language is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/i18n/i18n_node/i18n_node.pages.inc on line 263
Suppress xsi:type in SOAP Client | InterSystems Developer Community | Caché
Question
· Sep 12, 2017

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

Discussion (2)0
Log in or sign up to continue