Hi all,
We are trying to develop an EP service (EP 6.0 SP2) that sends a SOAP message to XI 3.0, to be used in an Iview or to be invoked in a Mobile Device through another Web Service Call.
We develop with Eclipse (not NWDS) and we use the Java WS client wizard for the WSDL import.
We can build the Java Code to invoke the XI Web Service from Portal Service but the labels in the SOAP body have "prt0" namespace.
XML inbound sample in XI:
- http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:wn4=" http://company.com/xi/" xmlns:wn3=" http://www.w3.org/1999/XMLSchema" xmlns:wn2=" http://www.w3.org/2000/10/XMLSchema" xmlns:wn1=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:wn0=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns=" http://company.com/xi/">
<prt0:IDLCG>20000</prt0:IDLCG>
<prt0:USUARIO>user</prt0:USUARIO>
- <prt0:TI_MOT_RCHZO>
<wn1:MANDT>3000000020</wn1:MANDT>
<wn1:CDRCHZO>user</wn1:CDRCHZO>
<wn1:DSRCHZO>23</wn1:DSRCHZO>
</prt0:TI_MOT_RCHZO>
- <prt0:TI_POS_DOCTPTE>
<wn1:POSLCG>121</wn1:POSLCG>
<wn1:SOLTPTE>1212</wn1:SOLTPTE>
<wn1:MATNR>100</wn1:MATNR>
<wn1:CNTSOL>31.1</wn1:CNTSOL>
<wn1:CNTREAL>12.2</wn1:CNTREAL>
<wn1:RECHAZO>12.2</wn1:RECHAZO>
<wn1:VISTO>12</wn1:VISTO>
<wn1:MTRCHO>121</wn1:MTRCHO>
<wn1:OBSORIG>1212</wn1:OBSORIG>
</prt0:TI_POS_DOCTPTE>
</prt0:ZPP_VALIDAR_DOCTRANSP>
We get the error in XI:
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_Validar_to_Validar_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>During the application mapping com/sap/xi/tf/_Validar_to_Validar_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
How can we avoid the namespaces in labesls?
Is this scenario deployable in real world?
Thank you