cancel
Showing results for 
Search instead for 
Did you mean: 

Error when using WSDL file in PI

Former Member
0 Kudos

Hi experts,

PI newbie here. We recently encountered errors when we tried using WSDL in PI.

I've attached here screenshots of the errors. Hope anyone can help us.

Thank you in advance.

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi ,

Your interface looks sync interace , the problem is you are not getting valid response and reponse did not have value for mandatory field.

If ROID not a mandatory field then change occurance to 0 to 1 in  WSDL or if it is mandatory then pass correct data tio target system and get valid response.

Regards,

Raj

Answers (4)

Answers (4)

Former Member
0 Kudos

It says Field name ROID can't be created.

Please check your inbound message with the logic applied against that field

iaki_vila
Active Contributor
0 Kudos

Hi Dennis,

It seems a mapping error. Pay attention to the exception: "Cannot create target element /ns:Execute..", PI says taht it can not create that field. You should check:

1. Take the  XML from sxmb_moni and test in operation mapping and message mapping.

2. You should assure if you scenario is sychronous that the receiver doesn't generate an exception because in the response will fail the mapping, but the error is not in that mapping then, the error is in the request.

What is your scenario SOAP-PI-SOAP or is another like SOAP-PI-RFC?

Regards.

Former Member
0 Kudos

Hi Cheng,

It clearly says, problem during Mapping.

Do check, http://scn.sap.com/thread/3157351 for some hint! Good luck.

Regards,

Lakshman V.

former_member184681
Active Contributor
0 Kudos

Hi Dennis,

You gave us very little information about the scenario to help you effectively. Based on the screenshots I suspect that there was an error in your mapping - a mandatory field is not provided with any value ("Runtime exception occurred during application mapping MM_POCGEMS_PA_to_FES. Cannot create target element" on your screenshot). You can try testing the mapping in ESR, using the "real" message payload from moni to identify the error precisely and fix it, for instance using mapWithDefault function.

Regards,

Greg