Вопрос

I am using Oracle service bus to handle REST based services. I need to handle REST to POST conversion in OSB. Bcse ma back-end is a SOAP system. This is a request generated from OSB

<soapenv:Body  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 
  <get:InputParameters  xmlns:get="http://www.crm.org/CustomerService/"> 
    <get:P_USERNAME>DBAKER</get:P_USERNAME> 
  </get:InputParameters> 
</soapenv:Body> 

But i need to remove "xmlns:get="http://www.crm.org/CustomerService/"" from my request. bcse it will through an error. I am using OSB Eclipse and Xquery to build requet. Is it possible to handle in XQ.

Это было полезно?

Решение

Check out the FunctX function module, especially the change element ns deep function.

http://www.xqueryfunctions.com/xq/functx_change-element-ns-deep.html

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top