Im trying to consume this webservice: http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl from another wsdl... Dont worry for that, im just tryng to make some kind of bridge to test the webservice call with not logic at all, so, the flow that i need is something like that
cxf:jaxws-service --- > Java bean ----> externalWebservice
The problem is that i cant find how to call through my java impl class the external webservice, i need to inject that in my bean but i cant find how to do it. ACtualy my flow is this:
<flow name="soapservice" doc:name="soapservice">
<http:inbound-endpoint exchange-pattern="request-response"
address="http://localhost:60603/Hello" doc:name="HTTP" />
<cxf:jaxws-service serviceClass="org.example.HelloWorld"
doc:name="SOAP" />
<component class="org.example.HelloWorldImpl" doc:name="Java" />
</flow>
Everything works fine, the service returns the entry parameter, but i need to retrieve some data from the Weather Webservice. Somebody can help me to consume that webservice with CXF?
Thanks!