on 12-14-2016 8:45 PM
I need to send call SYNC SOAP service and it require Soap envelop to be attached with Payload. Can anybody help me??
Hi Puneet!
Take a look at this blog:
It describes the way to see the message trace in receiver SOAP adapter. There you can check if the message comes with SOAP Envelope or without it.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Evgeniy,
In my Case it's not wrapped in Soap Envelope. below is example of my Payload. it's only sending payload to WS without soap envelope but when i am debugging this using XPI inspector, SOAP envelope is first coming and then payload. I try to send below XML and it got successfully passed to WS. Now my question is how to add SOAP envelope along with payload. i read so many blogs and the suggested that i need to create Soap envelope using Java/XSLT mapping and set "Do not use SOAP Envelope" option in adapter's properties. let me know if i clarify you.
I marked the lines with Code which is not coming as part of payload.
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsor="http://www.abc.com/wsdl/WSOrder" xmlns:xs="http://www.abc.com/schema/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
<wsor:post>
<ns0:SalesOrder xmlns:ns0="http://www.abc.com/wsdl/WSOrder" id="7687896075" Customer="7687896075"><ns1:Order_No xmlns:ns1="http://www.abc.com/schema/XMLSchema">5654792099</ns1:Order_No><ns1:Order_Type xmlns:ns1="http://www.abc.com/schema/XMLSchema">ZQT</ns1:Order_Type><ns1:Sales_Organisation xmlns:ns1="http://www.abc.com/schema/XMLSchema">1000</ns1:Sales_Organisation><ns1:Distribution_Channel xmlns:ns1="http://www.abc.com/schema/XMLSchema">01</ns1:Distribution_Channel><ns1:Product_Division xmlns:ns1="http://www.abc.com/schema/XMLSchema">01</ns1:Product_Division><ns1:Order_Date xmlns:ns1="http://www.abc.com/schema/XMLSchema">2015-11-13</ns1:Order_Date><ns1:Created_By xmlns:ns1="http://www.abc.com/schema/XMLSchema">puneet.aggarwal_ex@abc.com</ns1:Created_By><ns1:Customer_No xmlns:ns1="http://www.abc.com/schema/XMLSchema">11968660</ns1:Customer_No><ns1:Ordered_By xmlns:ns1="http://www.abc.com/schema/XMLSchema">AGGPX002</ns1:Ordered_By><ns1:Customer_PO_No xmlns:ns1="http://www.abc.com/schema/XMLSchema">0002665104:0023892701</ns1:Customer_PO_No><ns1:Customer_PO_Date xmlns:ns1="http://www.abc.com/schema/XMLSchema">2016-12-16</ns1:Customer_PO_Date><ns1:Requested_Delivery_Date xmlns:ns1="http://www.abc.com/schema/XMLSchema">2016-12-16</ns1:Requested_Delivery_Date><ns1:Currency xmlns:ns1="http://www.abc.com/schema/XMLSchema">USD</ns1:Currency><ns1:Payment_Terms xmlns:ns1="http://www.abc.com/schema/XMLSchema">0043</ns1:Payment_Terms><ns1:Company_Code xmlns:ns1="http://www.abc.com/schema/XMLSchema">1000</ns1:Company_Code><ns1:SalesOrderItem xmlns:ns1="http://www.abc.com/schema/XMLSchema"><ns1:Product Product_No="000000000020021130" Name=""></ns1:Product><ns1:Order_Item_No>000020</ns1:Order_Item_No><ns1:Product_No>000000000020021130</ns1:Product_No><ns1:Product_Type>ZFA1</ns1:Product_Type><ns1:Net_Price>17.89</ns1:Net_Price><ns1:Quantity type="SalesUnit" unit="CS" value="1.00">84.000</ns1:Quantity><ns1:Customer_PO_ItemNo>5654792099</ns1:Customer_PO_ItemNo></ns1:SalesOrderItem><ns1:SalesOrderItem xmlns:ns1="http://www.abc.com/schema/XMLSchema"><ns1:Product Product_No="000000000010001048" Name=""></ns1:Product><ns1:Order_Item_No>000010</ns1:Order_Item_No><ns1:Product_Type>ZFA1</ns1:Product_Type><ns1:Net_Price>6.25</ns1:Net_Price><ns1:Quantity type="SalesUnit" unit="CS" value="1.00">100.000</ns1:Quantity><ns1:Customer_PO_ItemNo>5654792099</ns1:Customer_PO_ItemNo></ns1:SalesOrderItem><ns1:SalesOrderItem xmlns:ns1="http://www.abc.com/schema/XMLSchema"><ns1:Product Product_No="000000000010001037" Name=""></ns1:Product><ns1:Order_Item_No>000030</ns1:Order_Item_No><ns1:Product_Type>ZFA1</ns1:Product_Type><ns1:Net_Price>6.25</ns1:Net_Price><ns1:Quantity type="SalesUnit" unit="CS" value="1.00">100.000</ns1:Quantity><ns1:Customer_PO_ItemNo>5654792099</ns1:Customer_PO_ItemNo></ns1:SalesOrderItem></ns0:SalesOrder>
</wsor:post>
</soapenv:Body>
</soapenv:Envelope>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Puneet!
Wouldn't you please clarify your requirement? When you use SOAP adapter, your message is wrapped with SOAP Envelope tags by default, unless you set "Do not use SOAP Envelope" option in adapter's properties.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.