on 01-29-2008 2:18 PM
Hello
Since SAP XI am consuming a web service NET. If this service has errors send a SOAP FAULT.
How it catches on SAP XI this message?
Hi, If you web service is synchronous and when you import the WSDL in to XI, in the interface mapping you should find three tabs - Request, Response and FAULT. The last one is the tab you should used to capture this error. You have to create the Falut Message types in Xi using the Fault message data types created automatically under the name space. Then map these to any Message type that you would want to using a separate mapping program and send them to the caller.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello.
The interface is synchronous.
In XI (SXI_MONITOR) the message response is:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
<SAP:P1>Object ID FFF3F9236B94360882DC00201E820C4B Software Component 59495DE0A1C211DCAEE8C51A0A0000F5</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Interface mapping Object ID FFF3F9236B94360882DC00201E820C4B Software Component 59495DE0A1C211DCAEE8C51A0A0000F5 does not exist in runtime cache</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Solve problem.
I still can not solve this problem.
I have included the field to WSDL and SOAP FAULT yet so I can not get this information.
<wsdl:fault name="SolicitarOrdenPagoFault"/>
<s:schema elementFormDefault="qualified" targetNamespace="http://LarrainVial.WebServices.SAP2LV/Tesoreria">
<s:complexType name="WSSAP2LVSOAPFaultType">
<s:sequence>
<s:element name="faultcode" type="s:string"/>
<s:element name="faultstring" type="s:string"/>
<s:element name="faultactor" type="s:string"/>
<s:element name="detail">
<s:complexType>
<s:sequence>
<s:element name="message" type="s:string"/>
<s:element name="description" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:schema>
Edited by: Claudio Enrique León Hernández on Jan 30, 2008 11:10 PM
I still can not solve this problem.
I have included the field to WSDL and SOAP FAULT yet so I can not get this information.
Edited by: Claudio Enrique León Hernández on Sep 8, 2008 9:20 PM
Edited by: Claudio Enrique León Hernández on Sep 8, 2008 9:20 PM
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.