ok,
thanks for your reply,
it allows me to go deeper and to get some new errors suggesting an endpoint
spring definition anyway.

I'm here now :
    <cxf:cxfEndpoint id="wsEndpoint"
        address="http://192.168.5.1:9767/services/version";
        wsdlURL="http://192.168.5.1:9763/services/version?wsdl";
        serviceName="getVersion">
        <cxf:properties>
                <entry key="dataFormat" value="MESSAGE"/>
                <entry key="portName"   value="versionSOAP12port1"/>
        </cxf:properties>
    </cxf:cxfEndpoint>

    <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
        <package>org.foo.bar</package>
        <route>
          <from uri="activemq:example.AA"/>
          <to uri="cxf:bean:wsEndpoint"/>
          <to uri="activemq:example.BB"/>
        </route>
    </camelContext>

but it claims :
org.apache.camel.FailedToCreateProducerException: Failed to create Producer
for endpoint: Endpoint[http://localhost:9767/services/version]. Reason:
org.apache.cxf.service.factory.ServiceConstructionException: Could not find
definition for service
{http://www.springframework.org/schema/beans}getVersion.

http://www.easy-share.com/1910393961/applicationContext.xml
http://www.easy-share.com/1910393776/version.wsdl

Maybe serviceName or portName are not correctly configured,
Do we agree such values are specific to the remote webservice, and should be
identifiable within the wsdl?

Thanks in advance for your help,

Francois



janstey wrote:
> 
> Try the following as the CXF endpoint URI
> 
> cxf://
> http://192.168.5.1:9763/services/myservice?wsdlURL=/services/myservice%3Fwsdl
> 
> 

-- 
View this message in context: 
http://old.nabble.com/webservice-to-transform-enrich-content-tp28683162p28693693.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to