>I referred to this Page:- http://cxf.apache.org/docs/ws-security.html
> for this implementation, i stuck in the line
>"  EndpointImpl jaxWsEndpoint = (EndpointImpl) EndpointImpl.publish(WSDL_URL, 
>new DemoCXF()); "
> (see code below), so i tried in different direction, let me know
>how can i acheive this via annotations.

As far as I know, in an application server, normally the server is responsible 
for publishing the endpoint. Normally this happens if you use the @WebService 
annotation together with the @Servlet annotation (publishing the web service as 
a servlet) or the @Stateless annotation (publishing it as an EJB) -- you could 
also use XML descriptors to define the servlet or EJB.

I'm not sure how manually publishing the endpoint works in the context of an 
application server, I never tried that.

Greetings,
Dirk

--------------------------------------------------------
DATAGROUP BGS GmbH
Dirk Lattermann


Auf den Tongruben 3
D-53721 Siegburg
Fon: +49 2241 166-531
Fax: +49 2241 166-680
E-Mail: [email protected]
http://www.datagroup.de

Sie finden uns auch auf:
Facebook<https://www.facebook.com/#!/datagroupag/> | 
Xing<https://www.xing.com/companies/datagroupag/updates/> | 
Google+<https://plus.google.com/s/datagroup#112017044868465108697/posts> | 
LinkedIn<http://www.linkedin.com/company/datagroup-ag/> | 
Kununu<http://www.kununu.com/de/all/de/it/datagroup/>

Geschäftsführung: Hans-Hermann Schaber
Amtsgericht Mainz, HRB 44217

DATAGROUP ist als einer von wenigen IT-Dienstleistern zertifiziert nach ISO 
20000, der höchstmöglichen Auszeichnung für professionelles IT Service 
Management.

Reply via email to