On Fri, Mar 21, 2008 at 8:56 PM, spasco <[EMAIL PROTECTED]> wrote: > > What component(s) would I use to grab XML from a URL then save it to file?
Well I assume the 'XML from a URL' is a web service that is external to ServiceMix, yes? If so, then you could use the servicemix-cxf-bc consumer and provider endpoints to invoke the external web service. Below is an example: <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" xmlns:ns1="http://example.com"> <cxfbc:consumer wsdl="http://www.example.com/path/to/wsdl" targetService="ns1:StockQuotes" targetEndpoint="StockQuotesSoap" targetInterface="ns1:StockQuotesSoap"> </cxfbc:consumer> <cxfbc:provider wsdl="http://www.example.com/path/to/wsdl" locationURI="http://www.example.com/path/to/external/web/service/" service="ns1:StockQuotes" endpoint="StockQuotesSoap" interfaceName="ns1:StockQuotesSoap"> </cxfbc:provider> </beans> Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache ActiveMQ - http://activemq.org/ Apache Camel - http://activemq.org/camel/ Apache ServiceMix - http://servicemix.org/ Apache Geronimo - http://geronimo.apache.org/ Blog: http://bruceblog.org/
