Reputation: 580
I have situation like on picture:
I configured request connector like i did in soap-ui, but I don't know how to build valid SOAP HTTP_Request with uri or query parameters from HTTP listener.
How can I pass those parameters to SOAP HTTP_Request?
Edit: I know that i can put parameters into payload, how can i transform that payload into xml soap request? Is this a right way to do it or there is another way?
Edit2:
I switched to Web service consumer, but i have same problem, i don't know how to get data from http listener payload and map it to Web Service Consumer Request metadata.
Thanks in advance
Upvotes: 3
Views: 1489
Reputation: 6697
Read through the following blog post. This provides with detailed information on consuming consuming a SOAP service via a Rest proxy.
http://blogs.mulesoft.com/dev/howto/rest-api-proxy-to-soap-webservice/
or
https://www.mulesoft.com/exchange#!/create-rest-api-proxy-to-soap-web-service
This should help.
Upvotes: -1
Reputation: 31
if you need to call an operation of a Web Service based on a WSDL, you need to use a WS Consumer block to call it, providing WSDL link in WS block as suggested by Ranveer. To map your input into WS Consumer you can use a Datamapper (Mule 3.6 or below) or a Dataweave (Mule 3.7+). I hope this helps.
Upvotes: 1
Reputation: 35
If your SAOP message is single part then use web services connector and provide WSDL file link to it. It will configure automatic.
In http requester you can see add parameter button so add as much parameter as you doing in SOAPUI..
Upvotes: 0