users@glassfish.java.net

server side webservice java ee architecture question

From: Mark Hansen <mark_at_javector.com>
Date: Mon, 06 Mar 2006 12:20:58 -0500

I think maybe glassfish is a better place for me to post this ....

-------- Original Message --------
Subject: server side java ee architecture question
Date: Sat, 04 Mar 2006 08:21:24 -0500
From: Mark Hansen <mark_at_javector.com>
Reply-To: users_at_jax-ws.dev.java.net
To: users_at_jax-ws.dev.java.net



Does a server side Java EE deployment of a web service (i.e.,
@WebService or @WebServiceProvider) implement the javax.xml.ws.Binding
interface? I'm looking at the JAX-WS spec and trying to understand how
Figure 9.1 (Handler architecture) applied to Java EE endpoints.

In addition to just trying to understand the architecture, I'm trying to
figure out if there is a way to access the javax.xml.ws.Binding from inside a
@WebService or one of its Handlers at runtime?

Specifically, I'd like to be able to use the SOAPBinding.getSOAPFactory() on
the server side so I can use it for creating SAAJ elements (faults and
detail elements). But, maybe this is the wrong approach. Am I supposed
to use injection like:

@Resource
SOAPFactory fac;

to get an instance of SOAPFactory??

Thanks for any explanations,

Mark

---------------------------------------------------------------------
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