on 07-14-2009 10:31 PM
Hi,
we call a web service from Netweaver 7.0 ABAP system through PI.
So the scenario is Netweaver 7.0 ABAP -> PI -> Web service (HTTP SOAP)
When the web service gives a SOAP Fault, it returns an error message which we want to be able to get in the ABAP calling system. However , when a SOAP Fault happens the mapping fails and the only exception we get back in the abap system is
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">CANNOT_READ_PAYLOAD</SAP:Code>
How can we actually get the real fault message back to the abap system ... ?
Thanks.
Dagnino,
Can you please see shabharish blog on this:
/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I hope you are using a mapping program in your scenario...
When you define your SYNC OB and IN message interfaces you have the option of specifying the Fault message type in the MI....in this section specify the fault message for both the MIs......then build a Message Mapping between these two fault messages....then you will have one more option of Fault mapping in the Interface Mapping when you say Read Interfaces alongwith Request and Response mappings....in this fault mapping give the above developed fault message mapping.....in this way your fault message should go the Proxy......check if this is what you are looking for...
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using the wsdl generated by XI or you have imported the service provider WSDL?
If its from XI there is nothing more to do just do the inteface mapping with all the mapping (request , response and fault)
In case you are using the service provide wsdl.... you have to import it into the external definitions of XI.
Needs to create the interface and select the proper message for the interfaces and do the mapping and use it in interface mapping.
Hope its clear
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.