Hello!

Using jbossws-cxf-3.4.1.GA (CXF-2.3.1) not able to manually add ports into a JAX-WS service.
The code works with JDK 6 jax-ws, as well as with jbossws-native-3.4.1.GA.


QName sName = new QName("service");
QName pName = new QName("port");

javax.xml.ws.Service service = Service.create(sName);
service.addPort(pName, SOAPBinding.SOAP11HTTP_BINDING, "http://mysite.org/test");

Iterator<QName> ports = service.getPorts(); // iterator has no elements!!!

Kind Regards,

Dmitry
--

Barcelona
          Supercomputing Center National Institute of Bioinformatics, Life Science, Computational Node 6
Nexus II, Jordi Girona 29, 08034 Barcelona, Spain

Reply via email to