cancel
Showing results for 
Search instead for 
Did you mean: 

Consume a Web Service developed in Axis

Former Member
0 Kudos

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>

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>>> 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?

Former Member
0 Kudos

Hi JAVAGUI,

Thank you for your help.

Yes, configured wsdl, but it doesn't work. Are there some espefic setup for it?

Thanks!

Fábio Ferri

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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