Did you try CXF with ServiceMix or what kind of container environment?
As Rama said, Glassfish supports such hot deployments. Maybe JAXWS
should think about such support for other containers or maybe the JAXWS
Sprint support can do it.
-vivek.
Rama Pulavarthi wrote:
> If you deploy on glassfish and is a 109 Web Service, it runs wsgen
> behind the scene when you deploy the app.
>
> thanks,
> Rama Pulavarthi
>
> Cameron Taggart wrote:
>> Thanks Vivek. When I use the nightly snapshot I get the correct error
>> message: "Wrapper class jaxws.jaxws.GetInt is not found. Have you run
>> APT to generate them?"
>>
>> wsgen looks like the right tool for the job. "The wsgen tool
>> generates JAX-WS portable artifacts used in JAX-WS web services. The
>> tool reads a web service endpoint class and generates all the required
>> artifacts for web service deployment, and invocation."
>>
>> So, how come I don't need to do this additional step when using CXF?
>> I guess I'll ask them. My guess is they do something like wsgen
>> behind the scenes when Endpoint.publish is called. That is really
>> convenient. I was expecting JAX-WS RI to do that too. Oh well.
>>
>> cheers,
>> Cameron
>>
>> On 1/19/07, Vivek Pandey <Vivek.Pandey_at_sun.com> wrote:
>>> 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
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>
> ---------------------------------------------------------------------
> 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
>