On Tuesday 18 January 2011 9:44:28 am Dmitry wrote:
> 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!!!
That's definitely a bug. I'm testing a fix now, but it won't make it for
2.3.2 which is already being voted on.
--
Daniel Kulp
[email protected]
http://dankulp.com/blog