I am a newbie to cxf. I am seeing the error message
ServiceDescription.updateEndpointDescription: Can not do a getPort on a port
added via addPort().
My code is . I get the error during the getPort call.
Service SISservice = Service.create(SIS_SERVICE_NAME);
SISservice.addPort(SIS_PORT_NAME, SOAPBinding.SOAP11HTTP_BINDING,
_primaryServiceEndpoint);
CWSSIC = SISservice.getPort(SIS_PORT_NAME, ICWSServiceInformation.class);
javax.xml.ws.WebServiceException:
ServiceDescription.updateEndpointDescription: Can not do a getPort on a port
added via addPort(). PortQN:
{http://schemas.ipcommerce.com/CWS/v2.0/ServiceInformation}ServiceInfoProcessing_ICWSServiceInformation
at
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
at
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:487)
at
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:354)
at
org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:178)
at
org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:556)
at
org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:479)
at javax.xml.ws.Service.getPort(Unknown Source)
I appreciate your help.
Thank you
--
View this message in context:
http://cxf.547215.n5.nabble.com/Error-Can-not-do-a-getPort-on-a-port-added-via-addPort-tp4404350p4404350.html
Sent from the cxf-user mailing list archive at Nabble.com.