Thank for your reply. None of the earlier web services servers are running.
I have attached debugger and found that "javax.xml.ws.Endpoint.publish"
method getting called twice. I am not sure why that is happening. I am using
same source code as earlier, did not change single line of code.

Running the web services server in a jetty server. I have restarted my
machine also, but no luck.

Thank you,
Naresh.

On Wed, Apr 7, 2010 at 3:45 PM, Glen Mazza <[email protected]> wrote:

>
> Just to confirm, you indeed don't already have the web service published
> earlier?  What if you go to the browser at that URL and type
> <serverURL>?wsdl -- do you see the WSDL?  I'm trying to determine whether
> indeed a rogue earlier instance of your web service provider is still
> running.
>
> Does the problem remain if you shut down and reactivate your application
> container?  If you're using Tomcat, is the old web service sitting in a WAR
> file under webapps and getting expanded/reactivated everytime you start up
> the servlet container?
>
> Glen
>
>
> Naresh Tallapelli wrote:
> >
> > 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.
> >
>
> --
> View this message in context:
> http://old.nabble.com/Soap-1.1-endpoint-already-registered-on-address-tp28171587p28171946.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to