users@glassfish.java.net

Re: How to force GF to use Java EE SE for web services?

From: <glassfish_at_javadesktop.org>
Date: Mon, 15 Oct 2007 01:16:38 PDT

It is possible to route the traffic from EJB WS1 to EJB WS2 via Java EE Service Engine.

The jbi.xml of "Java EE Service Unit" [1] should contain <consumes...> and <provides...> entry for EJB WS2. For example, your jbi.xml file should look something like this :

<consumes interface-name="tns:EJBWS2Interface"
                          service-name="tns:EJBWS2Service"
                          endpoint-name="EJBWS2Port"/>

<provides interface-name="tns:EJBWS2Interface"
                          service-name="tns:EJBWS2Service"
                          endpoint-name="EJBWS2Port"/>

[1] : http://java.sun.com/developer/technicalArticles/J2EE/sunjavaee_engine/#service
[Message sent by forum member 'bhavanishankar' (bhavanishankar)]

http://forums.java.net/jive/thread.jspa?messageID=240074