First time I see the WSDL HTTP binding in action.
Anyway, this is not supported out of the box, but
there's no reason it can not be done with little coding.
The base component to use is the
org.apache.servicemix.components.http.HttpInvoker
but it will require some modifications to be able to send
a GET request.
Then you could use a quartz component to fire events
to an EIP pipeline, which would call the http component
and redirect the response to a
o.a.s.components.util.TraceComponent to display the
JBI exchange to the console.

Makes sense ?

On 11/7/06, BenP <[EMAIL PROTECTED]> wrote:

I am trying to do a comparison between Mule and ServiceMix.  I successfully
used a Mule example to access a .NET web service by sending a request for a
stock quote at
http://www.webservicex.net/stockquote.asmx/GetQuote?symbol=string and then
transformed the response to output on the screen.  I would like to see how
to do the equivalent in ServiceMix.  Can somebody provide some advice on how
to do this?

Here is a sample return when trying to access a stockquote with symbol GIB:

<string>
<StockQuotes><Stock><Symbol>GIB</Symbol><Last>6.91</Last><Date>11/7/2006</Date><Time>11:02am</Time><Change>+0.01</Change><Open>6.93</Open><High>6.93</High><Low>6.92</Low><Volume>14500</Volume><MktCap>2.343B</MktCap><PreviousClose>6.90</PreviousClose><PercentageChange>+0.14%</PercentageChange><AnnRange>5.70
- 8.53</AnnRange><Earns>0.387</Earns><P-E>17.83</P-E><Name>CGI GRP CL A
SUB</Name></Stock></StockQuotes>
</string>
--
View this message in context: 
http://www.nabble.com/Help-making-a-SOAP-example-tf2589813s12049.html#a7221609
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to