-1

Hi I am working with Mule Studio and i just want to know how can i pass the parameters and call the particular Operation from SOAP using the Web Service Consumer component.

enter image description here

Payload i am setting as #[{'Orlando','United States'}] for the operation GetWeather

The sample SOAP service i am using is LINK

Utsav
  • 1,593
  • 4
  • 22
  • 46

1 Answers1

0

Here you have a video demonstration on how to do it.

Here the manual Page, and here an example.

If you don't want to use DataMapper, I would recommend to use a CXF client or to write a specilized connector.

If you still want to use the web service consumer no matter what, you just need to set a payload with the body (this is just the body, not the whole envelope) of the operation. You are passing a JSON, this more than probably won't work. You need to convert it to a proper XML SOAP request body.

Víctor Romero
  • 5,107
  • 2
  • 22
  • 32
  • video is awesome but i dont want to use data mapper and i want to pass the values in the selected operation how to do that.. – Utsav Nov 26 '14 at 17:34
  • I am updating question plz have a look at once i need something similar to this plz recommend some thing whether this is possible or not – Utsav Nov 26 '14 at 18:54
  • I have updated, however I can't create the body for you. – Víctor Romero Nov 26 '14 at 20:43
  • Thanks but i need a solution for dynamically passing the payload value to the web service consumer , is their any way.... – Utsav Dec 02 '14 at 07:58