dev@glassfish.java.net

SOAP/TCP has been integrated to Glassfish V3

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 19 Aug 2009 16:58:24 +0200

Hi,

after adding port unification support, we're able to port SOAP/TCP
transport to GFv3, which was done.
I've created v3/webservices/soap-tcp module, which contains the
integration code.

Port unification and SOAP/TCP is disabled by default.
Here [1] is example how to declare port unification protocol and
enable SOAP/TCP support for network-listener on port 8080.
I've tried simple tests, which included JSR 109 servlet and ejb based
webservices - and it worked fine.

We may think about including SOAP/TCP to the Metro testset for GFv3
and also about tooling support.

Thanks.

WBR,
Alexey.

[1]

       <network-config>
         <protocols>
           <protocol name="listener-1">
             <port-unification>
               <protocol-finder protocol="http-1"
classname="com.sun.grizzly.http.portunif.HttpProtocolFinder"
name="http-finder" />
               <protocol-finder protocol="soap-tcp"
classname
="org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder"
name="soap-tcp-finder" />
             </port-unification>
           </protocol>
           <protocol name="http-1">
             <http max-connections="250" default-virtual-
server="server" server-name="">
               <file-cache enabled="false" />
             </http>
           </protocol>
           <protocol name="soap-tcp">
             <protocol-chain-instance-handler>
               <protocol-chain>
                 <protocol-filter
classname
="org.glassfish.webservices.transport.tcp.WSTCPProtocolFilter"
name="soap-tcp-filter" />
               </protocol-chain>
             </protocol-chain-instance-handler>
           </protocol>
           <protocol security-enabled="true" name="http-listener-2">
             <http max-connections="250" default-virtual-
server="server" server-name="">
               <file-cache enabled="false" />
             </http>
             <ssl ssl3-enabled="false" cert-nickname="s1as" />
           </protocol>
           <protocol name="admin-listener">
             <http max-connections="250" default-virtual-
server="__asadmin" server-name="">
               <file-cache enabled="false" />
             </http>
           </protocol>
         </protocols>
         <network-listeners>
           <network-listener port="8080" protocol="listener-1"
transport="tcp" name="http-listener-1" thread-pool="http-thread-pool" />
           <network-listener port="8181" enabled="false"
protocol="http-listener-2" transport="tcp" name="http-listener-2"
thread-pool="http-thread-pool" />
           <network-listener port="4848" protocol="admin-listener"
transport="tcp" name="admin-listener" thread-pool="http-thread-pool" />
         </network-listeners>
         <transports>
           <transport name="tcp" />
         </transports>
       </network-config>