« Return to Thread: Calling external web service

RE: Calling external web service

by duachirag :: Rate this Message:

Reply to Author | View in Thread

Thanks for your response.

Config file URL, which one exactly? And this is the content in my cityrequest.xml from which it should read the SOAP message:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetCitiesByCountry xmlns="http://www.webserviceX.NET">
      <CountryName>India</CountryName>
    </GetCitiesByCountry>
  </soap:Body>
</soap:Envelope>

And it's a SOAP based web service, do I need any other configurations/transformers?



antoine.borg wrote:
Hi,
 
Looks like the config file URL you used is invalid.
 
If your response is empty, it sounds like you may have a problem with the WS
invocation. Are you passing the correct info to it?
 
A
 
Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM
email: antoine.borg <mailto:antoine.borg@ricston.com> @ricston.com | blog:
<http://blog.ricston.com/> blog.ricston.com | web:
<http://www.ricston.com/> ricston.com
 

  _____  

From: duachirag [mailto:duac@gsicommerce.com]
Sent: Monday, December 22, 2008 5:57 PM
To: user@mule.codehaus.org
Subject: [mule-user] Calling external web service


I am new to Mule. I am trying to call
http://www.webservicex.net/globalweather.asmx/GetCitiesByCountry?method=GetC
itiesByCountry. I want Mule to read cityrequest.xml, create a request using
WSDL and send it to the web service. This is my configuration file, request
is being sent to the web service but response is empty. Please help. I am
also attaching cityrequest.xml with this message.cityrequest.xml
<http://www.nabble.com/file/p21131102/cityrequest.xml>  

  _____  

View this message in context: Calling
<http://www.nabble.com/Calling-external-web-service-tp21131102p21131102.html
> external web service
Sent from the Mule - User mailing list
<http://www.nabble.com/Mule---User-f2727.html> archive at Nabble.com.

 « Return to Thread: Calling external web service