Hi Romain

do you have/know a concrete Sample?
EJB is not a must have. Configuring with CDI would be the better Joys for us 
anyway.

Shure I know the other way around it is done with now work. But TomEE+ is not 
EE6 certified which is one argument and the other is, that most of our 
applications, expect two, runs on JAXRS which has also the smaller footprint.


Martin



-----Ursprüngliche Nachricht-----
Von: Romain Manni-Bucau [mailto:[email protected]] 
Gesendet: Donnerstag, 23. Oktober 2014 08:21
An: [email protected]
Betreff: Re: migrating jax-ws Application vrom TomEE-Plus To TomEE-JAXRS

Hi

You need to define the webservice as a pojo, configure it in web.xml with cxf 
servlet, import cxf jaxws jars and finally delegate to the stateless if you 
really need an ejb.

Side note: harmonizing on tomee+ is clearly easier since it is no work 
migration normally Le 23 oct. 2014 07:54, "Berner Martin" 
<[email protected]> a écrit :

> Hi,
> I have a JAX-WS Application working perfectly on a TomEE-PLUS.
> SOAP-Webservice correctly recognized by Annotation in a EJB:
>
> @Stateless
> @WebService(name = "LBEQualitasService",
>             portName = "LBEQualitasPort",
>                     serviceName = "LBEQualitasService",
>                     targetNamespace = 
> "http://wsdlc.business.fsho.com/";)
> @XmlSeeAlso({
>     ObjectFactory.class
> })
> public class LBEQualitas implements ServicesPortType, Serializable {
>        private static final long serialVersionUID = 
> -1959730900195946000L;
>
>
> For harmonization reason I'd like to let them run on TomEE-JAXRS.
>
> Is there a simple sample, how to do such a "migration".
> I know it's not as simple as just deploy the relevant cxf-jars with 
> the Application.
>
> Best Regards
> Martin Berner
>

Reply via email to