Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Namespace in SOAP Body Request Structure

$
0
0

Hi,

 

I have a soap request structure created manually in PI.

 

The soap body starts with the following

 

<shipmentRequest>

<Request>

<RequestOption>4EV527680000075</RequestOption>

</Request>

</ShipmentRequest>

 

Please note that I have created a datatype called ShipmentRequest.

 

The problem is that the webservice requests expects the structure to be like this.

 

ShipmentRequest xmlns:m="http://www.test.com/XMLSchema/Xxxxx/Ship/v1.0">

Request xmlns="http://www.test.com/XMLSchema/XOxxxS/Common/v1.0"


How do i insert these namespace at the datatype element level. I tried exporting the datatype into xsd and modifying it, but did not work.

 

Basically they are expecting the target structure to be like this

 

<shipmentRequest xmlns:m="http://www.test.com/XMLSchema/Xxxxx/Ship/v1.0">

<Request 

xmlns="http://www.test.com/XMLSchema/XOxxxS/Common/v1.0">

<RequestOption>4EV527680000075</RequestOption>

 

</Request>

</ShipmentRequest>


Let me know how to handle this.

 

Regards

Anandh.B

 


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>