Hi All,
To day i have upgraded my cxf version to 2.2.7. I have generated client and
server stubs as earlier. And when i try to publish the service i am getting
following exception,
Exception in thread "main" javax.xml.ws.WebServiceException:
java.lang.RuntimeException: Soap 1.1 endpoint already registered on address
<serverURL>
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:278)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:212)
at
org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:84)
at javax.xml.ws.Endpoint.publish(Unknown Source)
Caused by: java.lang.RuntimeException: Soap 1.1 endpoint already
registered on address http://localhost:7080/itgrcxml/services/itgrcxmlws
at
org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:833)
at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:122)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:274)
... 10 more
Please help me to resolve this issue.
Any help would be much appreciated.
Thank you,
Naresh.