Hi,
it looks like you don't have cxf-rt-frontent-jaxws in your classpath.
You need to add this dependency so that the org.apache.cxf. jaxws
implementation is used instead of com.sun.xml...
regards, aki

2012/4/19 Shashikant Sarade <[email protected]>:
> I Have Used java2wsdl with -all option to have server and client.
>
> ant used Successfully
>
> But when I run server in jdk 1.6_0 I got WSDL localization error
>
> *****
> Starting Server
> Exception in thread "main"
> com.sun.xml.internal.ws.server.ServerRtException: [failed to localize] *
> cannot.load.wsdl(file:*/C:/Users/Shashi/Desktop/wsdl/showfullname.wsdl)
>        at
> com.sun.xml.internal.ws.transport.http.server.EndpointImpl.getPrimaryWsdl(EndpointI
> mpl.java:281)
>        at
> com.sun.xml.internal.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointI
> mpl.java:213)
>        at
> com.sun.xml.internal.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.jav
> a:143)
>        at
> com.sun.xml.internal.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java
> :102)
>        at javax.xml.ws.Endpoint.publish(Endpoint.java:170)
>        at
> ShowFullName_ShowFullNamePort_Server.<init>(ShowFullName_ShowFullNamePort_Server.ja
> va:18)
>        at
> ShowFullName_ShowFullNamePort_Server.main(ShowFullName_ShowFullNamePort_Server.java
> :22)

Reply via email to