cancel
Showing results for 
Search instead for 
Did you mean: 

mapping error in SOAP --> SFTP integration flow

0 Kudos

We set up the following integration flow in SAP PI:

SOAP Adapter as synchronous interface should receive message which should be transfer to a SFTP server. The message should be mapped by an SAP PI  mapping to the defined output message format. Attached you can see a screenshot of this integration flow..

Sending a message to the webservice interface of this PI scenario we receive the following error message while the message has been delivered to the SFTP server !!!

com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message cf4cba8b-8919-11e5-8ac2-000006276b3a

    at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:772)

    at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:530)


For this test we are using the webservice client in the SAP Web Services Navigator.

If we remove the message mapping from the iFlow the webservice call will processed without any error and we are receiving as answer from the webservice the directory and the filename of the delivered message. For sure the message is delivered to SFTP in the original message format.

So it seems that the receiver adapter sends a message back which can not be processed in the message mapping.


Can somebody help me ?

Accepted Solutions (0)

Answers (1)

Answers (1)

vicky20691
Active Contributor
0 Kudos

Hi Christian,

I am not sure about this. But is your operation mapping has everything defined correctly? Can you please give a screen shot of the Operation Mapping.

Regards,

Vikas

0 Kudos

Yes, I can 😉

Attached you can find a screenshot of both tabs of my operation mapping.

former_member186851
Active Contributor
0 Kudos

Christain.

so your using Soap--->SFTP right?

SFTP is async.So you need make is Sync using Beans/BPM.

Let me know how your doing it

0 Kudos

I guess we are talking exactly about my problem. Currently we don't use on the receiver side anything to make it synchronous.

BPM will not be an option. How can  I solve the problem with using a bean ?

former_member186851
Active Contributor
vicky20691
Active Contributor
0 Kudos

Thanks Christian,

Is the TPCEventUpdate field mapped to any target field?? Can you please confirm as I could see only Parent node Input mapped to target side Input node. Just want to know Is the field TPCEventUpdate mapped to anything?

Regards,

Vikas

0 Kudos

Yes, it is. The INPUT message Type TPCEventUpdate is mapped to the OUTPUT message Type TPCReportMonitorStatements. The message mapping is the window shown below in the screenshot.

This mapping works fine. It's tested within the PI test tools in the message mapping editor.

0 Kudos

Hi Raghuraman,

I'm just trying to re-built the described "SOAP - File" example from this document since this comes very close to my scenario. Unfortunately I'm missing how to configure in the second ICO (sending the response from the File adapter back to the SOAP adapter) the configuration of the receiving system. I guess it is a SOAP adapter, but to which target URL and action do I have to sent the response.

Furthermore can I use this approach for other receiver types as well (e.g. JDBC or SFTP instead of the file receiver) ?

former_member186851
Active Contributor
0 Kudos


Hello Christian,

No need to configure one more channel for Soap Receiver.

In the sender channel configure QOS as BE and for rest all thing sfoloow the blog

Yes,you can follow the approach for IDOC,JDBC as well.

0 Kudos

I still think there is a little piece of information missing in the document or  I didn't get it how to do it.

1st ICO is clear: it's the communication from SOAP_OutSync to File_InSync.

2nd ICO handles the FileRespone message created with help of the several beans. Here we use the File_OutAsync as sender (shown on pages 24-26) but then the document stops and says nothing about the receiver configuration SOAP_InAsync.

How do I have to configure the SOAP adapter of this receiver ?

former_member186851
Active Contributor
0 Kudos

Christian,

No need to configure the receiver channel,

The soap Channel with QOS Best effort will take care of it.

0 Kudos

After studying other blogs in the SCN as well I think I've now understood how the bridge should work. So I configured everythink as described in the doc and start testing the SOAP client I still get an error:

...

Request-Mapping "http://metro.webcourse.bridge/OM_Req_SOAP_to_File" (SWCV 747ffbfaf30811e4a634000006276b3a) wird ausgeführt


Mapping "http://metro.webcourse.bridge/OM_Req_SOAP_to_File" konnte nicht ausgeführt werden: MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message 7e030b43-8d10-11e5-840e-000006276b3a, ResourceException: Could not determine mapping steps for message 7e030b43-8d10-11e5-840e-000006276b3a, CPAException: Could not determine mapping steps for message 7e030b43-8d10-11e5-840e-000006276b3a

...


Something seems to be wrong with the operation or message mapping, because the error occurs during mapping the incoming request.


Former Member
0 Kudos

Hi Christian

Try to remove the s/w component version from ICO and then see if it works or not.

Let me know if u have any doubt.

Thanks,

Indrajit