Hi Bertrand

On 12/01/12 08:15, bgoetzmann wrote:
Hello,

As I did tests, I realized that I'm wrong: in the configuration I gave, the
WSDL document is generated from the POJO. So, sorry for this mistake!

The right configuration seems to be this one:

props.put("service.exported.configs", "wsdl")
props.put("osgi.remote.configuration.wsdl.location", "wsdl/Helloworld.wsdl")

Here I don't specify the port, and in the traces I saw that d-osgi chooses
the only port present in my WSDL.
I will test the property "osgi.remote.configuration.wsdl.port.name" to
indicate the port to use.

You may also need to specify the service.ns & service.name properties because a port is supposed to scoped by the (wsdl:)service

Sergey

Best regards,

Bertrand.

--
View this message in context: 
http://cxf.547215.n5.nabble.com/WSDL-configuration-driven-from-WSDL-with-Apache-CXF-Distributed-OSGi-tp5125029p5139336.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to