and this tells how to run apt ant task:
https://jax-ws.dev.java.net/nonav/jax-ws-21-ea3/docs/apt.html
or you can also run wsgen to generate wrappers, this tells you how:
https://jax-ws.dev.java.net/nonav/jax-ws-21-ea3/docs/wsgen.html
-vivek.
Vivek Pandey wrote:
> Hmm. Looking at the code, I see that we are properly localizing it.
> Anyway, the error message is to run APT on your classes before
> deploying it. Its Document wrapped case and running apt would generate
> the wrapper beans.
>
> JAXWS 2.0.1 was merged into JAXWS 2.1 sometime middle of last year.
> You should only be using JAXWS 2.1 and it will be going FCS shortly.
>
> In anycase you may like to try our latest JAXWS 2.1 and this
> localization error should not be there.
>
> thanks,
>
> -vivek.
>
>
>
> Cameron Taggart wrote:
>> I wrote a basic web service that I've named GetterWebService. While,
>> it works useing Apache CXF (in incubator), I get errors when trying to
>> launch it with JAX-WS RI 2.0.1 (default in Java 6) or 2.1 EA3. I get
>> different errors with each, which I'm hoping someone can help me
>> resolve.
>>
>> GetterWebService is attached.
>>
>> With JAX-WS RI 2.0.1 I get this error:
>> Runtime Error: class: jaxws.jaxws.GetInt could not be found
>>
>> With JAX-WS RI 2.1 EA3 it can't find the localized error message, so
>> I'm not really sure. Both stacktraces are attached.
>>
>> I must be missing something obvious.
>>
>> cheers,
>> Cameron
>> ------------------------------------------------------------------------
>>
>> Exception in thread "main" Server Runtime Error: class:
>> jaxws.jaxws.GetInt could not be found
>> at
>> com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.publish(HttpEndpoint.java:269)
>>
>> at
>> com.sun.xml.internal.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:87)
>>
>> at
>> com.sun.xml.internal.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:59)
>>
>> at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
>> at jaxws.GetterWebService.main(GetterWebService.java:29)
>> Caused by: class: jaxws.jaxws.GetInt could not be found
>> at
>> com.sun.xml.internal.ws.modeler.RuntimeModeler.getClass(RuntimeModeler.java:271)
>>
>> at
>> com.sun.xml.internal.ws.modeler.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:562)
>>
>> at
>> com.sun.xml.internal.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:509)
>>
>> at
>> com.sun.xml.internal.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:355)
>>
>> at
>> com.sun.xml.internal.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
>>
>> at
>> com.sun.xml.internal.ws.server.RuntimeEndpointInfo.createSEIModel(RuntimeEndpointInfo.java:170)
>>
>> at
>> com.sun.xml.internal.ws.server.RuntimeEndpointInfo.init(RuntimeEndpointInfo.java:317)
>>
>> at
>> com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.publish(HttpEndpoint.java:298)
>>
>> at
>> com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.publish(HttpEndpoint.java:263)
>>
>> ... 4 more
>>
>>
>> ------------------------------------------------------------------------
>>
>> Exception in thread "main" [failed to localize]
>> nestedModelerError(com.sun.xml.ws.util.localization.LocalizableMessage_at_110003)
>>
>> at
>> com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:276)
>> at
>> com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:573)
>>
>> at
>> com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:520)
>>
>> at
>> com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:361)
>>
>> at
>> com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:247)
>>
>> at
>> com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:266)
>>
>> at
>> com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)
>>
>> at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:420)
>> at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:439)
>> at
>> com.sun.xml.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointImpl.java:208)
>>
>> at
>> com.sun.xml.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:138)
>>
>> at
>> com.sun.xml.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:91)
>>
>> at javax.xml.ws.Endpoint.publish(Endpoint.java:161)
>> at jaxws.GetterWebService.main(GetterWebService.java:29)
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
>> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>