Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Passing values to a Request-Reply SOAP webservice (HCI)

Hi experts,

I am using SOAP UI to test some operations, in this case I am passing a sessionId and a queryString and it's working using the SOAP UI.

Now my requirement is to get these values using HCI. For that I :

1 - Imported the WSDL

2 - Generated an XSD file from the XML

3 - Added a mapping before the Request-Reply and passed the values as constants

4 - Called the SOAP WS with the following parameters :

-----------------------

I get this error :

  Error               = java.lang.IllegalArgumentException: The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.

-------------------------

Any idea about how to solve this ?

BR.

Mohammed Amine.

Former Member
Former Member replied

Dear all,

I found out how to set a SAOP Header and pass the missing parameter !

It's by coding a groovy script. The sample code can be found in here

but be careful in the iflow it should be in order :

The mapping to pass the value of the query --> The SOAPHeaderGroovyScript --> The request-reply --> the SAOP channel to call the WS.

Please do not hesitate if you need to know more details.

BR.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question