on 01-05-2011 4:17 PM
Hi Experts,
I am trying to consume a WS developed in Axis. My scenario is RFC to SOAP Receiver. When i execute the RFC to consume WS, it shows message above. I mapped in Fault Message into a RFC Exception, but the error still persist.
Do i need to use a SOAP Axis Adapter? Or i can use a SOAP Adapter default?
Please, could you help me?
Thanks!
Best regards.
Fábio Ferri
<?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>Application</SAP:Category>
<SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>application fault</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZV_VALEPEDAGIO_ENVIO_PROV03.Exception</SAP:ApplicationFaultMessage>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
>>> Do i need to use a SOAP Axis Adapter? Or i can use a SOAP Adapter default?
You can use SOAP receiver adapter default. No need axis adapter.
Have you used target system wsdl as the receiver message and configured all the required parameters such as target URL in the soap adapter?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you followed the below instruction in configuring ...
http://help.sap.com/saphelp_sm32/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
http://www.riyaz.net/blog/xipi-a-guide-to-using-sap-xi-soap-adapter/technology/sap/113/
If you have specific errors, please share here. We can help you.
Suggestion. Test the webservice using given WSDL and url using SOAP UI or some tool. We will figure it out problem easily.
If you get 401 unauthorized error, you need to give username and password for that webservice. Get it from the webservice hosting team. Same thing you have to input in the soap receiver adapter.
HI JAVAGUI,
First of all thank for your help!
I am suspecting that is xsi tag. For example, see SOAP message above, there are two different tags u201Cxsiu201D and with element has type typed. The PI doesnu2019t do that. I have heard about it is possible to add xsi tag with module soap adapter or via XLST. I would try first via module. Do you know about Module Adapter adding xsi tag?
I tested with SOAP UI it doesnu2019t work to. I sure that the service occurs the application error . But I need be sure the it is possible to consume this services via PI.
Could you help me? Please.
Best regards
Fábio Ferri
Message that WS expects
VuoFsdRWLTuH3WO5nswQlyvROcVK4XorL6r1cMygoy3+YFA1n/Ct8YTQlRwN7Ui/dA4l/RIY7HquVQ7m8maP/QXAX5miKz/TB9dn79R/5IOLAvdUBTFMv2KvDheLCaUGfH1tDe7FfPLHBe8wWRWn/SKG0s/atzOICxCInXry1kXuhpjLO/5ICoUShp2XrsRd5oiZaDl6BfQRMsgTAE2D8niZI1Uz4eVBmPNm
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.