on 09-27-2011 4:40 PM
hi all,
We have an interface from ECC to Webmethods. It is a Sync interface.
We are using a HTTP adapter on the receiver side.
The issue is that while WM sends a response to PI , the structure is getting changed. Not sure where it is happening.
The Expected response format is :
-
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_requestVendorInvetory_PortType_vendorInventoryRequest_SAPResponse xmlns:ns0="http://applied.com/I3020/Vendor_Availability">
<requestVendorInventory_PortType_vendorInventoryRequest_SAP>
<aitResponse>
<AvailabilityCheckResult>
<AvailabilityCheckHeader>
<SupplierID>
<Reference>
<RefNum RefID=""/>
</Reference>
</SupplierID>
<AccountCode>
<Reference>
<RefNum RefID=""/>
</Reference>
</AccountCode>
........................................................
........................................................
-
The inbound message in SXMB_MONI is as below:
-
<?xml version="1.0" encoding="UTF-8"?>
<Values version="2.0">
<record name="p1:MT_requestVendorInvetory_PortType_vendorInventoryRequest_SAPResponse" javaclass="com.wm.util.Values">
<record name="requestVendorInventory_PortType_vendorInventoryRequest_SAP" javaclass="com.wm.util.Values">
<record name="aitResponse" javaclass="com.wm.util.Values">
<record name="AvailabilityCheckResult" javaclass="com.wm.util.Values">
<record name="AvailabilityCheckHeader" javaclass="com.wm.util.Values">
<record name="SupplierID" javaclass="com.wm.util.Values">
........................................................
........................................................
-
As you can see the nodes are getting replaced.
solved using java mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try to do an independent test using SOAP UI for the WS and see the response.
Are they different from what is coming inside PI?
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.