cancel
Showing results for 
Search instead for 
Did you mean: 

Making Soap call to .Net web-service with operation auto-populated at run-time in CPI

0 Kudos

Hi All,

Being Amateur to CPI development have came across an issue while trying a POC and making Soap call to a .net web service holding multiple operations/methods.

The operation name comes as node in the payload and so I have been trying to capture it in parameter/header in Content Modifier / External Parameter and use it as variable/expression in the operation field to auto-populate it at run-time while doing Soap Call to webservice (http://currencyconverter.kowabunga.net/converter.asmx).

Objective:

My basic intention is to utilize the same soap connection for calling all the operation from the above webservice.

Questions:

  • Please let me know if I am doing something wrong here?
  • Also if the objective can be met by any other approach?

PFB the flow and payload and webservice call from SoapUI


Attempts:

The issue I post here after unsuccessful attempts to the below possibilities.

  1. Saved the operation in Content Modifier and tried as an expression in operation field in connection configuration with the predefined namespace but noted that the field takes the expression as constant and hence throws the below error.

  2. The same approach when tried without operation name throws the below error

  3. Another approach to keep the operation name in the address

  4. Similar to 3 with operation as get parameter to address url

Accepted Solutions (1)

Accepted Solutions (1)

cweissheimer
Advisor
Advisor
0 Kudos

Unfortunately "operation name" cannot be used as a dynamic parameter:
https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/c9bba0eb3f724dca8388d6f92ea...

Best Regards,
Carlos

Answers (0)