Quantcast
Channel: SCN : Popular Discussions - SAP Process Orchestration
Viewing all articles
Browse latest Browse all 1306

Testing ICO using WSNavigator

$
0
0

HI Folks,

 

I am getting a mapping error while using WSnavigator to test my SOAP to Proxy scenario.

PI server is PI7.3ehp1 SPS8

 

Error: com.sap.aii.mappingtool.tf7.IllegalInstanceException; Cannot create target element.

 

Reason being XML payload in message content looks like below:

<yq1:MT_Get_WorkOrder xmlns:yq1='urn://Ellipse_SAP/WAMMI_01/Ellipse/Get_WO' xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><WorkOrder_Details><Workrequest_Num>WR_1002</Workrequest_Num><Workrequest_Desc>TestRequest_Anurag2</Workrequest_Desc>

<Workorder_Num>WO_1002</Workorder_Num><Workorder_Desc>TestOrder_Anurag2</Workorder_Desc>

</WorkOrder_Details></yq1:MT_Get_WorkOrder>

 

I am not sure why message has been converted into this format.

Is it something wrong with WSnavigator?

 

While sending data from WSnavigator it looks like below:

<?xml version="1.0" encoding="utf-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <SOAP-ENV:Body>

    <yq1:MT_Get_WorkOrder xmlns:yq1="urn://Ellipse_SAP/WAMMI_01/Ellipse/Get_WO">

      <WorkOrder_Details>

        <Workrequest_Num>WR_1002</Workrequest_Num>

        <Workrequest_Desc>TestRequest_Anurag2</Workrequest_Desc>

        <Workorder_Num>WO_1002</Workorder_Num>

        <Workorder_Desc>TestOrder_Anurag2</Workorder_Desc>

      </WorkOrder_Details>

    </yq1:MT_Get_WorkOrder>

  </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

Please comment what is possibly wrong here.

 

Many Thanks & Regards,

Anurag


Viewing all articles
Browse latest Browse all 1306

Trending Articles



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