tck: r1966 - in /axis-tck/trunk/jws: ./ axis2/ axis2/WEB-INF/ axis2/WEB-INF/conf/ axis2/WEB-INF/services/ axis2/WEB-INF/services/OnewayWebService/ axis2/WEB-INF/services/OnewayWebService/META-INF/ axis2/WEB-INF/services/WSHandlerChainWebService/ axis2/...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

tck: r1966 - in /axis-tck/trunk/jws: ./ axis2/ axis2/WEB-INF/ axis2/WEB-INF/conf/ axis2/WEB-INF/services/ axis2/WEB-INF/services/OnewayWebService/ axis2/WEB-INF/services/OnewayWebService/META-INF/ axis2/WEB-INF/services/WSHandlerChainWebService/ axis2/...

dims-2
Author: dims
Date: Mon Feb 19 20:20:17 2007
New Revision: 1966

Log:
deploy a couple of services in JWS TCK (JSR 181)

Added:
    axis-tck/trunk/jws/
    axis-tck/trunk/jws/STATUS
    axis-tck/trunk/jws/axis2/
    axis-tck/trunk/jws/axis2/WEB-INF/
    axis-tck/trunk/jws/axis2/WEB-INF/conf/
    axis-tck/trunk/jws/axis2/WEB-INF/conf/axis2.xml
    axis-tck/trunk/jws/axis2/WEB-INF/services/
    axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/
    axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/META-INF/
    axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/META-INF/OnewayWebServiceService.wsdl
    axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/META-INF/services.xml
    axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/
    axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/META-INF/
    axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/META-INF/HandlerChainWebServiceService.wsdl
    axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/META-INF/services.xml
    axis-tck/trunk/jws/axis2/WEB-INF/web.xml
    axis-tck/trunk/jws/build.xml
    axis-tck/trunk/jws/jws-url-props.dat
    axis-tck/trunk/jws/readme.txt

Added: axis-tck/trunk/jws/STATUS
==============================================================================
    (empty)

Added: axis-tck/trunk/jws/axis2/WEB-INF/conf/axis2.xml
==============================================================================
--- axis-tck/trunk/jws/axis2/WEB-INF/conf/axis2.xml (added)
+++ axis-tck/trunk/jws/axis2/WEB-INF/conf/axis2.xml Mon Feb 19 20:20:17 2007
@@ -0,0 +1,335 @@
+<!--
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+
+<axisconfig name="AxisJava2.0">
+    <!-- ================================================= -->
+    <!-- Parameters -->
+    <!-- ================================================= -->
+    <parameter name="hotdeployment" locked="false">true</parameter>
+    <parameter name="hotupdate" locked="false">false</parameter>
+    <parameter name="enableMTOM" locked="false">false</parameter>
+    <parameter name="enableSwA" locked="false">false</parameter>
+
+    <!--Uncomment if you want to enable file caching for attachments -->
+    <!--parameter name="cacheAttachments" locked="false">true</parameter>
+    <parameter name="attachmentDIR" locked="false"></parameter>
+    <parameter name="sizeThreshold" locked="false">4000</parameter-->
+
+    <!--This will give out the timout of the configuration contexts, in seconds-->
+    <parameter name="ConfigContextTimeoutInterval" locked="false">30</parameter>
+
+    <!--During a fault, stacktrace can be sent with the fault message. The following flag will control -->
+    <!--that behaviour.-->
+    <parameter name="sendStacktraceDetailsWithFaults" locked="false">false</parameter>
+
+    <!--If there aren't any information available to find out the fault reason, we set the message of the expcetion-->
+    <!--as the faultreason/Reason. But when a fault is thrown from a service or some where, it will be -->
+    <!--wrapped by different levels. Due to this the initial exception message can be lost. If this flag-->
+    <!--is set then, Axis2 tries to get the first exception and set its message as the faultreason/Reason.-->
+    <parameter name="DrillDownToRootCauseForFaultReason" locked="false">false</parameter>
+
+    <parameter name="userName" locked="false">admin</parameter>
+    <parameter name="password" locked="false">axis2</parameter>
+
+    <!--To override repository/services you need to uncomment following parameter and value SHOULD be absolute file path.-->
+    <!--<parameter name="ServicesDirectory" locked="false">service</parameter>-->
+    <!--To override repository/modules you need to uncomment following parameter and value SHOULD be absolute file path-->
+    <!--<parameter name="ModulesDirectory" locked="false">modules</parameter>-->
+
+
+
+    <!--Following params will set the proper context paths for invocations. All the endpoints will have a commons context-->
+    <!--root which can configured using the following contextRoot parameter-->
+    <!--<parameter name="contextRoot" locked="false">axis2</parameter>-->
+
+    <!--Our HTTP endpoints can handle both REST and SOAP. Following parameters can be used to distingiush those endpoints-->
+    <!--In case of a servlet, if you change this you have to manually change the settings of your servlet container to map this -->
+    <!--context path to proper Axis2 servlets-->
+    <parameter name="servicePath" locked="false">jws</parameter>
+    <!--<parameter name="restPath" locked="false">rest</parameter>-->
+
+
+    <!--Set the flag to true if you want to enable transport level session mangment-->
+    <parameter name="manageTransportSession" locked="false">false</parameter>
+
+    <!-- Following parameter will completely disable REST handling in Axis2-->
+    <parameter name="disableREST" locked="true">false</parameter>
+
+    <!-- If you have a frontend host which exposes this webservice using a different public URL  -->
+    <!-- use this parameter to override autodetected url -->
+    <!--<parameter name="httpFrontendHostUrl" locked="false">https://someotherhost/context</parameter>-->
+
+
+    <!--    The way of adding listener to the system-->
+    <!--    <listener class="org.apache.axis2.ObserverIMPL">-->
+    <!--        <parameter name="RSS_URL" locked="false">http://127.0.0.1/rss</parameter>-->
+    <!--    </listener>-->
+
+    <!-- ================================================= -->
+    <!-- Message Receivers -->
+    <!-- ================================================= -->
+    <!--This is the Deafult Message Receiver for the system , if you want to have MessageReceivers for -->
+    <!--all the other MEP implement it and add the correct entry to here , so that you can refer from-->
+    <!--any operation -->
+    <!--Note : You can ovride this for particular service by adding the same element with your requirement-->
+    <messageReceivers>
+        <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
+                         class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
+        <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
+                         class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+    </messageReceivers>
+
+    <!-- ================================================= -->
+    <!-- Message Formatter -->
+    <!-- ================================================= -->
+    <!--Following content type to message formatter mapping can be used to implement support for different message -->
+    <!--format  serialization in Axis2. These message formats are expected to be resolved based on the content type. -->
+    <messageFormatters>
+        <messageFormatter contentType="application/x-www-form-urlencoded"
+                          class="org.apache.axis2.transport.http.XFormURLEncodedFormatter"/>
+        <messageFormatter contentType="application/xml"
+                          class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
+        <messageFormatter contentType="text/xml"
+                          class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
+        <messageFormatter contentType="application/echo+xml"
+                          class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
+    </messageFormatters>
+
+    <!-- ================================================= -->
+    <!-- Transport Ins -->
+    <!-- ================================================= -->
+    <transportReceiver name="http"
+                       class="org.apache.axis2.transport.http.SimpleHTTPServer">
+        <parameter name="port" locked="false">8080</parameter>
+        <!-- Here is the complete list of supported parameters (see example settings further below):
+            port: the port to listen on (default 6060)
+            hostname:  if non-null, url prefix used in reply-to endpoint references                                 (default null)
+            originServer:  value of http Server header in outgoing messages                                         (default "Simple-Server/1.1")
+            requestTimeout:  value in millis of time that requests can wait for data                                (default 20000)
+            requestTcpNoDelay:  true to maximize performance and minimize latency                                   (default true)
+                                false to minimize bandwidth consumption by combining segments
+            requestCoreThreadPoolSize:  number of threads available for request processing (unless queue fills up)  (default 25)
+            requestMaxThreadPoolSize:  number of threads available for request processing if queue fills us         (default 150)
+                                       note that default queue never fills up:  see HttpFactory
+            threadKeepAliveTime:  time to keep threads in excess of core size alive while inactive                  (default 180)
+                                  note that no such threads can exist with default unbounded request queue
+            threadKeepAliveTimeUnit:  TimeUnit of value in threadKeepAliveTime (default SECONDS)                    (default SECONDS)
+        -->
+        <!-- <parameter name="hostname"                  locked="false">http://www.myApp.com/ws</parameter> -->
+        <!-- <parameter name="originServer"              locked="false">My-Server/1.1</parameter>           -->
+        <!-- <parameter name="requestTimeout"            locked="false">10000</parameter>                   -->
+        <!-- <parameter name="requestTcpNoDelay"         locked="false">false</parameter>                   -->
+        <!-- <parameter name="requestCoreThreadPoolSize" locked="false">50</parameter>                      -->
+        <!-- <parameter name="RequestMaxThreadPoolSize"  locked="false">100</parameter>                     -->
+        <!-- <parameter name="threadKeepAliveTime"       locked="false">240000</parameter>                  -->
+        <!-- <parameter name="threadKeepAliveTimeUnit"   locked="false">MILLISECONDS</parameter>            -->
+    </transportReceiver>
+    
+    <!--Uncomment this and configure as appropriate for JMS transport support, after setting up your JMS environment (e.g. ActiveMQ)
+    <transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener">
+        <parameter name="myTopicConnectionFactory" locked="false">                
+         <parameter name="java.naming.factory.initial" locked="false">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
+         <parameter name="java.naming.provider.url" locked="false">tcp://localhost:61616</parameter>        
+         <parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">TopicConnectionFactory</parameter>
+        </parameter>
+
+        <parameter name="myQueueConnectionFactory" locked="false">                
+         <parameter name="java.naming.factory.initial" locked="false">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
+         <parameter name="java.naming.provider.url" locked="false">tcp://localhost:61616</parameter>        
+         <parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">QueueConnectionFactory</parameter>
+        </parameter>
+
+        <parameter name="default" locked="false">                
+         <parameter name="java.naming.factory.initial" locked="false">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
+         <parameter name="java.naming.provider.url" locked="false">tcp://localhost:61616</parameter>        
+         <parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">QueueConnectionFactory</parameter>
+        </parameter>
+    </transportReceiver>-->
+
+    <!--Uncomment if you want to have SMTP transport support-->
+    <!--<transportReceiver name="mail" class="org.apache.axis2.transport.mail.SimpleMailListener">-->
+    <!--<parameter name="transport.mail.pop3.host" locked="false">127.0.0.1</parameter>-->
+    <!--<parameter name="transport.mail.pop3.user" locked="false">axis2</parameter>-->
+    <!--<parameter name="transport.mail.pop3.password" locked="false">axis2</parameter>-->
+    <!--<parameter name="transport.mail.pop3.port" locked="false">110</parameter>-->
+    <!--<parameter name="transport.mail.replyToAddress" locked="false">axis2@127.0.0.1</parameter>-->
+    <!--</transportReceiver>-->
+
+ <!--Uncomment if you want to have TCP transport support-->
+    <!--transportReceiver name="tcp"
+                       class="org.apache.axis2.transport.tcp.TCPServer">
+        <parameter name="port" locked="false">6060</parameter-->>
+        <!--If you want to give your own host address for EPR generation-->
+        <!--uncommet following paramter , and set as you required.-->
+        <!--<parameter name="hostname" locked="false">tcp://myApp.com/ws</parameter>-->
+    <!-- /transportReceiver -->
+
+    <!-- ================================================= -->
+    <!-- Transport Outs -->
+    <!-- ================================================= -->
+
+    <transportSender name="tcp"
+                     class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
+    <transportSender name="local"
+                     class="org.apache.axis2.transport.local.LocalTransportSender"/>
+    <transportSender name="http"
+                     class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+        <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
+        <parameter name="Transfer-Encoding" locked="false">chunked</parameter>
+        
+        <!-- If following is set to 'true', optional action part of the Content-Type will not be added to the SOAP 1.2 messages -->
+        <!--  <parameter name="OmitSOAP12Action" locked="false">true</parameter>  -->
+    </transportSender>
+    
+    <transportSender name="https"
+                     class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+        <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
+        <parameter name="Transfer-Encoding" locked="false">chunked</parameter>
+    </transportSender>
+    <!--Uncomment this and configure as appropriate for JMS transport support, after setting up your JMS environment (e.g. ActiveMQ)
+    <transportSender name="jms"
+                     class="org.apache.axis2.transport.jms.JMSSender"/>
+    -->
+
+    <!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
+   <transportSender name="mailto" class="org.apache.axis2.transport.mail.MailTransportSender">
+       <parameter name="transport.mail.smtp.host" locked="false">127.0.0.1</parameter>
+       <parameter name="transport.mail.smtp.user" locked="false">axis2</parameter>
+       <parameter name="transport.mail.smtp.password" locked="false">axis2</parameter>
+       <parameter name="transport.mail.smtp.port" locked="false">25</parameter>
+   </transportSender>
+   -->
+
+    <!-- ================================================= -->
+    <!-- Global Modules  -->
+    <!-- ================================================= -->
+    <!-- Comment this to disable Addressing -->
+    <!--<module ref="addressing"/>-->
+
+    <!--Configuring module , providing parameters for modules whether they refer or not-->
+    <!--<moduleConfig name="addressing">-->
+    <!--<parameter name="addressingPara" locked="false">N/A</parameter>-->
+    <!--</moduleConfig>-->
+
+    <!-- ================================================= -->
+    <!-- Phases  -->
+    <!-- ================================================= -->
+    <phaseOrder type="InFlow">
+        <!--  System pre defined phases       -->
+        <phase name="Transport">
+            <handler name="RequestURIBasedDispatcher"
+                     class="org.apache.axis2.engine.RequestURIBasedDispatcher">
+                <order phase="Transport"/>
+            </handler>
+            <handler name="SOAPActionBasedDispatcher"
+                     class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
+                <order phase="Transport"/>
+            </handler>
+        </phase>
+        <phase name="Security"/>
+        <phase name="PreDispatch"/>
+        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+            <handler name="AddressingBasedDispatcher"
+                     class="org.apache.axis2.engine.AddressingBasedDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+            <handler name="RequestURIOperationDispatcher"
+                     class="org.apache.axis2.engine.RequestURIOperationDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+
+            <handler name="SOAPMessageBodyBasedDispatcher"
+                     class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+
+            <handler name="HTTPLocationBasedDispatcher"
+                     class="org.apache.axis2.engine.HTTPLocationBasedDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+            
+            <handler name="InstanceDispatcher"
+                     class="org.apache.axis2.engine.InstanceDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+        </phase>
+        <!--  System pre defined phases       -->
+        <!--   After Postdispatch phase module author or or service author can add any phase he want      -->
+        <phase name="OperationInPhase"/>
+ <phase name="soapmonitorPhase"/>
+    </phaseOrder>
+    <phaseOrder type="OutFlow">
+        <!--      user can add his own phases to this area  -->
+ <phase name="soapmonitorPhase"/>
+        <phase name="OperationOutPhase"/>
+        <!--system predefined phase-->
+        <!--these phase will run irrespective of the service-->
+        <phase name="PolicyDetermination"/>
+        <phase name="MessageOut"/>
+        <phase name="Security"/>
+    </phaseOrder>
+    <phaseOrder type="InFaultFlow">
+        <phase name="PreDispatch"/>
+        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+            <handler name="RequestURIBasedDispatcher"
+                     class="org.apache.axis2.engine.RequestURIBasedDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+
+            <handler name="SOAPActionBasedDispatcher"
+                     class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+
+            <handler name="AddressingBasedDispatcher"
+                     class="org.apache.axis2.engine.AddressingBasedDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+            <handler name="RequestURIOperationDispatcher"
+                     class="org.apache.axis2.engine.RequestURIOperationDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+
+            <handler name="SOAPMessageBodyBasedDispatcher"
+                     class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+
+            <handler name="HTTPLocationBasedDispatcher"
+                     class="org.apache.axis2.engine.HTTPLocationBasedDispatcher">
+                <order phase="Dispatch"/>
+            </handler>
+
+            <handler name="InstanceDispatcher"
+                     class="org.apache.axis2.engine.InstanceDispatcher">
+                <order phase="PostDispatch"/>
+            </handler>
+        </phase>
+        <!--      user can add his own phases to this area  -->
+        <phase name="OperationInFaultPhase"/>
+ <phase name="soapmonitorPhase"/>
+    </phaseOrder>
+    <phaseOrder type="OutFaultFlow">
+        <!--      user can add his own phases to this area  -->
+ <phase name="soapmonitorPhase"/>
+        <phase name="OperationOutFaultPhase"/>
+        <phase name="PolicyDetermination"/>
+        <phase name="MessageOut"/>
+    </phaseOrder>
+</axisconfig>
+

Added: axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/META-INF/OnewayWebServiceService.wsdl
==============================================================================
--- axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/META-INF/OnewayWebServiceService.wsdl (added)
+++ axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/META-INF/OnewayWebServiceService.wsdl Mon Feb 19 20:20:17 2007
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<definitions targetNamespace="http://server.oneway.jws.tests.ts.bea.com/" name="OnewayWebServiceService" xmlns:tns="http://server.oneway.jws.tests.ts.bea.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <types>
+<xs:schema version="1.0" targetNamespace="http://server.oneway.jws.tests.ts.bea.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:element name="ping" type="ns1:ping" xmlns:ns1="http://server.oneway.jws.tests.ts.bea.com/"/>
+
+  <xs:complexType name="ping">
+    <xs:sequence>
+      <xs:element name="arg0" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>
+
+  </types>
+  <message name="ping">
+    <part name="parameters" element="tns:ping"/>
+  </message>
+  <portType name="OnewayWebService">
+    <operation name="ping">
+      <input message="tns:ping"/>
+    </operation>
+  </portType>
+  <binding name="OnewayWebServicePortBinding" type="tns:OnewayWebService">
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+    <operation name="ping">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+    </operation>
+  </binding>
+  <service name="OnewayWebServiceService">
+    <port name="OnewayWebServicePort" binding="tns:OnewayWebServicePortBinding">
+      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+    </port>
+  </service>
+</definitions>
+

Added: axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/META-INF/services.xml
==============================================================================
--- axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/META-INF/services.xml (added)
+++ axis-tck/trunk/jws/axis2/WEB-INF/services/OnewayWebService/META-INF/services.xml Mon Feb 19 20:20:17 2007
@@ -0,0 +1,13 @@
+<serviceGroup>
+ <service name="OnewayWebServiceService" targetNamespace="http://server.oneway.jws.tests.ts.bea.com/">
+ <parameter name="useOriginalwsdl">true</parameter>
+  <messageReceivers>
+   <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/>
+  </messageReceivers>
+  <parameter locked="false" name="ServiceClass">com.bea.ts.tests.jws.oneway.server.OnewayWebService</parameter>
+  <operation name="invoke" mep="http://www.w3.org/2004/08/wsdl/in-out">
+    <actionMapping/>
+  </operation>
+ </service>
+</serviceGroup>
+

Added: axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/META-INF/HandlerChainWebServiceService.wsdl
==============================================================================
--- axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/META-INF/HandlerChainWebServiceService.wsdl (added)
+++ axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/META-INF/HandlerChainWebServiceService.wsdl Mon Feb 19 20:20:17 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<definitions targetNamespace="http://server.handlerchain.jws.tests.ts.bea.com/" name="HandlerChainWebServiceService" xmlns:tns="http://server.handlerchain.jws.tests.ts.bea.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <types>
+<xs:schema version="1.0" targetNamespace="http://server.handlerchain.jws.tests.ts.bea.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:element name="hello" type="ns1:hello" xmlns:ns1="http://server.handlerchain.jws.tests.ts.bea.com/"/>
+
+  <xs:complexType name="hello">
+    <xs:sequence>
+      <xs:element name="arg0" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:element name="helloResponse" type="ns2:helloResponse" xmlns:ns2="http://server.handlerchain.jws.tests.ts.bea.com/"/>
+
+  <xs:complexType name="helloResponse">
+    <xs:sequence>
+      <xs:element name="return" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>
+
+  </types>
+  <message name="hello">
+    <part name="parameters" element="tns:hello"/>
+  </message>
+  <message name="helloResponse">
+    <part name="parameters" element="tns:helloResponse"/>
+  </message>
+  <portType name="HandlerChainWebServiceInterface">
+    <operation name="hello">
+      <input message="tns:hello"/>
+      <output message="tns:helloResponse"/>
+    </operation>
+  </portType>
+  <binding name="HandlerChainWebServicePortBinding" type="tns:HandlerChainWebServiceInterface">
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+    <operation name="hello">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+  </binding>
+  <service name="HandlerChainWebServiceService">
+    <port name="HandlerChainWebServicePort" binding="tns:HandlerChainWebServicePortBinding">
+      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+    </port>
+  </service>
+</definitions>
+

Added: axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/META-INF/services.xml
==============================================================================
--- axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/META-INF/services.xml (added)
+++ axis-tck/trunk/jws/axis2/WEB-INF/services/WSHandlerChainWebService/META-INF/services.xml Mon Feb 19 20:20:17 2007
@@ -0,0 +1,13 @@
+<serviceGroup>
+ <service name="HandlerChainWebServiceService" targetNamespace="http://server.handlerchain.jws.tests.ts.bea.com/">
+ <parameter name="useOriginalwsdl">true</parameter>
+  <messageReceivers>
+   <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/>
+  </messageReceivers>
+  <parameter locked="false" name="ServiceClass">com.bea.ts.tests.jws.handlerchain.server.HandlerChainWebService</parameter>
+  <operation name="invoke" mep="http://www.w3.org/2004/08/wsdl/in-out">
+    <actionMapping/>
+  </operation>
+ </service>
+</serviceGroup>
+

Added: axis-tck/trunk/jws/axis2/WEB-INF/web.xml
==============================================================================
--- axis-tck/trunk/jws/axis2/WEB-INF/web.xml (added)
+++ axis-tck/trunk/jws/axis2/WEB-INF/web.xml Mon Feb 19 20:20:17 2007
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+    <display-name>Apache-Axis2</display-name>
+    <servlet>
+        <servlet-name>AxisServlet</servlet-name>
+        <display-name>Apache-Axis Servlet</display-name>
+        <servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
+        <!--<init-param>-->
+        <!--<param-name>axis2.xml.path</param-name>-->
+        <!--<param-value>/WEB-INF/conf/axis2.xml</param-value>-->
+        <!--<param-name>axis2.xml.url</param-name>-->
+        <!--<param-value>http://localhot/myrepo/axis2.xml</param-value>-->
+        <!--<param-name>axis2.repository.path</param-name>-->
+        <!--<param-value>/WEB-INF</param-value>-->
+        <!--<param-name>axis2.repository.url</param-name>-->
+        <!--<param-value>http://localhot/myrepo</param-value>-->
+        <!--</init-param>-->
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <servlet>
+        <servlet-name>AxisAdminServlet</servlet-name>
+        <display-name>Apache-Axis AxisAdmin Servlet (Web Admin)</display-name>
+        <servlet-class>
+            org.apache.axis2.transport.http.AxisAdminServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>AxisServlet</servlet-name>
+        <url-pattern>/rest/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>AxisServlet</servlet-name>
+        <url-pattern>/servlet/AxisServlet</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>AxisServlet</servlet-name>
+        <url-pattern>*.jws</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>AxisServlet</servlet-name>
+        <url-pattern>/services/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>AxisServlet</servlet-name>
+        <url-pattern>/jws/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>AxisAdminServlet</servlet-name>
+        <url-pattern>/axis2-admin/*</url-pattern>
+    </servlet-mapping>
+
+   <welcome-file-list>
+      <welcome-file>index.jsp</welcome-file>
+      <welcome-file>index.html</welcome-file>
+      <welcome-file>/axis2-web/index.jsp</welcome-file>
+    </welcome-file-list>
+
+    <error-page>
+      <error-code>404</error-code>
+      <location>/axis2-web/Error/error404.jsp</location>
+    </error-page>
+
+    <error-page>
+        <error-code>500</error-code>
+        <location>/axis2-web/Error/error500.jsp</location>
+    </error-page>
+</web-app>

Added: axis-tck/trunk/jws/build.xml
==============================================================================
--- axis-tck/trunk/jws/build.xml (added)
+++ axis-tck/trunk/jws/build.xml Mon Feb 19 20:20:17 2007
@@ -0,0 +1,134 @@
+<?xml version="1.0"?>
+<project name="jws-tck" default="all">
+    <property environment="env"/>
+    <property name="axis2.dir" location="/apache/axis2"/>
+    <property name="tomcat.dir" location="${basedir}/work/apache-tomcat-5.5.20"/>
+    <property name="webapps.dir" location="${tomcat.dir}/webapps/axis2"/>
+    <property name="ts.home" location="${basedir}/work/jwstck"/>
+
+    <path id="classpath.id">
+        <fileset dir="${ts.home}/lib">
+            <include name="tsharness.jar"/>
+        </fileset>
+    </path>
+
+    <target name="all" depends="init,refresh"/>
+
+    <target name="refresh">
+        <ant dir="${axis2.dir}" target="clean">
+          <property name="offline" value="true"/>
+        </ant>
+        <ant dir="${axis2.dir}" target="jar">
+          <property name="skip" value="true"/>
+        </ant>
+        <ant dir="${axis2.dir}" target="download-libs">
+          <property name="offline" value="true"/>
+        </ant>
+        <antcall target="copy-libs"/>
+    </target>
+
+    <target name="copy-libs">
+        <copy todir="${tomcat.dir}/shared/lib" flatten="true">
+            <fileset dir="${axis2.dir}/target/lib">
+                <include name="commons-codec-*.jar"/>
+                <include name="commons-httpclient-*.jar"/>
+                <include name="backport-*.jar"/>
+                <include name="XmlSchema-*.jar"/>
+                <include name="wsdl4j-*.jar"/>
+                <include name="neethi-*.jar"/>
+                <include name="activation-*.jar"/>
+                <include name="axiom-api-*.jar"/>
+                <include name="axiom-dom-*.jar"/>
+                <include name="axiom-impl-*.jar"/>
+                <include name="commons-logging-*.jar"/>
+                <include name="mail-*.jar"/>
+                <include name="stax-api-*.jar"/>
+                <include name="wstx-asl-*.jar"/>
+                <include name="jaxb-*.jar"/>
+            </fileset>
+            <fileset dir="${axis2.dir}/">
+                <include name="modules/kernel/target/axis2-kernel-*.jar"/>
+                <include name="modules/saaj/target/axis2-saaj-*.jar"/>
+                <include name="modules/saaj-api/target/axis2-saaj-api-*.jar"/>
+                <include name="modules/metadata/target/axis2-metadata-*.jar"/>
+                <include name="modules/jaxws/target/axis2-jaxws-*.jar"/>
+                <include name="modules/jaxws-api/target/axis2-jaxws-api-*.jar"/>
+            </fileset>
+        </copy>
+    </target>
+    
+    <target name="init">
+        <mkdir dir="${basedir}/work"/>
+        <unzip src="${basedir}/../tckresources/apache-tomcat-5.5.20.zip" dest="${basedir}/work"/>
+        <unzip src="${basedir}/../tckresources/apache-tomcat-5.5.20-compat.zip" dest="${basedir}/work"/>
+                    
+        <!-- unzipping jwstck from the zip file into work directory -->
+        <unzip src="${basedir}/../tckresources/jwsmeta-jsr181-v2.zip" dest="${basedir}/work"/>
+
+        <antcall target="copy-libs"/>
+
+        <!--<copy todir="${tomcat.dir}/webapps">
+            <fileset dir="${ts.home}/dist">
+              <include name="*.war"/>
+            </fileset>
+        </copy>-->
+        
+        <mkdir dir="${tomcat.dir}/temp" />
+        
+        <mkdir dir="${ts.home}/work"/>
+        <mkdir dir="${ts.home}/work/jtData"/>
+        
+        <echo file="${ts.home}/work/jtData/testsuite" append="false">#JavaTest Work Directory: Test Suite Info#JavaTest Work Directory: Test Suite Info
+#Sun Feb 18 13:23:47 EST 2007
+root=../src
+        </echo>        
+
+        <path id="classpath">
+            <fileset dir="${tomcat.dir}/shared/lib">
+                <include name="**/*.jar"/>
+            </fileset>
+        </path>
+
+        <pathconvert property="classpath.as.string"
+                     targetos="unix"
+                     refid="classpath"/>
+
+        <replace file="${ts.home}/bin/ts.jte" token="local.classes=" value="local.classes=${classpath.as.string}"/>
+
+        <mkdir dir="${webapps.dir}" />
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/handlerchain/server/WSHandlerChainWebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/oneway/server/WSOnewayWebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webmethod/webmethod1/server/WSDefaultWebMethodWebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webmethod/webmethod2/server/WSDefaultWebMethod2WebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webmethod/webmethod3/server/WSWebMethodWebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webparam/webparam1/server/WSWebParamWebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webparam/webparam2/server/WSWebParam2WebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webparam/webparam3/server/WSWebParam3WebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webresult/webresult1/server/WSWebResultWebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webresult/webresult2/server/WSWebResult2WebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webresult/webresult3/server/WSWebResult3WebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webservice/webservice1/server/WSDefaultWebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webservice/webservice2/server/WSEndpointInterfaceWebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webservice/webservice3/server/WSNameServiceNameTargetNamespaceWebServiceApp.war" dest="${webapps.dir}"/>
+ <unzip src="${ts.home}/dist/com/bea/ts/tests/jws/webservice/webservice4/server/WSEndpointInterface2WebServiceApp.war" dest="${webapps.dir}"/>
+        <delete dir="${webapps.dir}/META-INF" />
+      <delete>
+  <fileset dir="${webapps.dir}" includes="**/*.xml"/>
+    </delete>
+
+        <copy todir="${webapps.dir}">
+            <fileset dir="${basedir}/axis2">
+              <include name="**/*.*"/>
+            </fileset>
+        </copy>
+        <copy todir="${ts.home}/bin">
+            <fileset dir="${basedir}">
+              <include name="jws-url-props.dat"/>
+            </fileset>
+        </copy>
+    </target>
+
+    <target name="clean">
+        <delete dir="${basedir}/work"/>
+    </target>
+</project>

Added: axis-tck/trunk/jws/jws-url-props.dat
==============================================================================
--- axis-tck/trunk/jws/jws-url-props.dat (added)
+++ axis-tck/trunk/jws/jws-url-props.dat Mon Feb 19 20:20:17 2007
@@ -0,0 +1,118 @@
+###############################################################################
+# @(#)jws-url-props.dat 1.2 05/08/31
+#
+# Data file containing URLs for webservice endpoints and wsdl locations
+#
+# Sun's JAX-WS RI Implementation specifys URL's for webservice endpoints
+# and final published WSDL's in the following format defined below.
+#
+# URL format for endpoints is as follows:
+#
+# o <a href="http://HOST:PORT/CONTEXT_ROOT/URL_ALIAS/PORT_TYPE">http://HOST:PORT/CONTEXT_ROOT/URL_ALIAS/PORT_TYPE
+#
+# URL format for wsdl locations of given endpoints is as follows:
+#
+# o <a href="http://HOST:PORT/CONTEXT_ROOT/URL_ALIAS/PORT_TYPE?WSDL">http://HOST:PORT/CONTEXT_ROOT/URL_ALIAS/PORT_TYPE?WSDL
+#
+# All URL's given below start from CONTEXT_ROOT. The
+# <a href="http://HOST:PORT">http://HOST:PORT (HOST and PORT are defined and
+# configured in ts.jte file) is prepended to each URL.
+#
+# Example)
+#
+# For a webservice with a PORT_TYPE of Hello the URL endpoint for
+# the JAX-WS RI is:
+#
+# o http://localhost:8080/HelloService/jws/Hello
+#
+# For the final published WSDL URL for the above endpoint in
+# the JAX-WS RI is:
+#
+# o http://localhost:8080/HelloService/jws/Hello?wsdl
+#
+###############################################################################
+#
+# jws/oneway/client URL's
+jwstest.onewaywebservice.endpoint.1=/axis2/jws/OnewayWebServiceService
+jwstest.onewaywebservice.wsdlloc.1=/axis2/jws/OnewayWebServiceService?wsdl
+
+# jws/handlerchain/client URL's
+jwstest.handlerchainwebservice.endpoint.1=/axis2/jws/HandlerChainWebServiceService
+jwstest.handlerchainwebservice.wsdlloc.1=/axis2/jws/HandlerChainWebServiceService?wsdl
+
+
+# jws/webmethod/webmethod1/client URL's
+
+jwstest.defaultwebmethodwebservice.endpoint.1=/axis2/jws/defaultWebMethodWebServiceService
+jwstest.defaultwebmethodwebservice.wsdlloc.1=/axis2/jws/defaultWebMethodWebServiceService?wsdl
+
+# jws/webmethod/webmethod2/client URL's
+
+jwstest.defaultwebmethod2webservice.endpoint.1=/WSDefaultWebMethod2WebServiceApp/jws/defaultWebMethod2WebService
+jwstest.defaultwebmethod2webservice.wsdlloc.1=/WSDefaultWebMethod2WebServiceApp/jws/defaultWebMethod2WebService?wsdl
+
+# jws/webmethod/webmethod3/client URL's
+
+jwstest.webmethodwebservice.endpoint.1=/WSWebMethodWebServiceApp/jws/webMethodWebService
+jwstest.webmethodwebservice.wsdlloc.1=/WSWebMethodWebServiceApp/jws/webMethodWebService?wsdl
+
+# jws/webservice/webservice1/client URL's
+
+jwstest.defaultwebservice.endpoint.1=/WSDefaultWebServiceApp/jws/defaultWebService
+jwstest.defaultwebservice.wsdlloc.1=/WSDefaultWebServiceApp/jws/defaultWebService?wsdl
+
+
+# jws/webservice/webservice2/client URL's
+
+jwstest.endpointinterfacewebservice.endpoint.1=/WSEndpointInterfaceWebServiceApp/jws/endpointInterfaceWebService
+jwstest.endpointinterfacewebservice.wsdlloc.1=/WSEndpointInterfaceWebServiceApp/jws/endpointInterfaceWebService?wsdl
+
+# jws/webservice/webservice3/client URL's
+
+jwstest.nameservicenametargetnamespacewebservice.endpoint.1=/WSNameServiceNameTargetNamespaceWebServiceApp/jws/nameServiceNameTargetNamespaceWebService
+jwstest.nameservicenametargetnamespacewebservice.wsdlloc.1=/WSNameServiceNameTargetNamespaceWebServiceApp/jws/nameServiceNameTargetNamespaceWebService?wsdl
+
+# jws/webservice/webservice4/client URL's
+
+jwstest.endpointinterface2webservice.endpoint.1=/WSEndpointInterface2WebServiceApp/jws/endpointInterface2WebService
+jwstest.endpointinterface2webservice.wsdlloc.1=/WSEndpointInterface2WebServiceApp/jws/endpointInterface2WebService?wsdl
+
+
+# jws/webparam/webparam1/client URL's
+# Doc Bare Service
+
+jwstest.webparamwebservice.endpoint.1=/WSWebParamWebServiceApp/jws/webParamWebService
+jwstest.webparamwebservice.wsdlloc.1=/WSWebParamWebServiceApp/jws/webParamWebService?wsdl
+
+
+# jws/webparam/webparam2/client URL's
+# Doc Wrapped Service
+
+jwstest.webparam2webservice.endpoint.1=/WSWebParam2WebServiceApp/jws/webParam2WebService
+jwstest.webparam2webservice.wsdlloc.1=/WSWebParam2WebServiceApp/jws/webParam2WebService?wsdl
+
+# jws/webparam/webparam3/client URL's
+# RPC Literal Service
+
+jwstest.webparam3webservice.endpoint.1=/WSWebParam3WebServiceApp/jws/webParam3WebService
+jwstest.webparam3webservice.wsdlloc.1=/WSWebParam3WebServiceApp/jws/webParam3WebService?wsdl
+
+# jws/webresult/webresult/client URL's
+# Doc Bare Service
+
+jwstest.webresultwebservice.endpoint.1=/WSWebResultWebServiceApp/jws/webResultWebService
+jwstest.webresultwebservice.wsdlloc.1=/WSWebResultWebServiceApp/jws/webResultWebService?wsdl
+
+
+# jws/webresult/webresult2/client URL's
+# Doc Wrapped Service
+
+jwstest.webresult2webservice.endpoint.1=/WSWebResult2WebServiceApp/jws/webResult2WebService
+jwstest.webresult2webservice.wsdlloc.1=/WSWebResult2WebServiceApp/jws/webResult2WebService?wsdl
+
+
+# jws/webresult/webresult3/client URL's
+# RPC Lit Service
+
+jwstest.webresult3webservice.endpoint.1=/WSWebResult3WebServiceApp/jws/webResult3WebService
+jwstest.webresult3webservice.wsdlloc.1=/WSWebResult3WebServiceApp/jws/webResult3WebService?wsdl
\ No newline at end of file

Added: axis-tck/trunk/jws/readme.txt
==============================================================================
--- axis-tck/trunk/jws/readme.txt (added)
+++ axis-tck/trunk/jws/readme.txt Mon Feb 19 20:20:17 2007
@@ -0,0 +1,14 @@
+
+README.TXT for JWS TCK
+==============================
+
+1. Run "ant" from this folder
+2. Open another prompt, cd to work\apache-tomcat-5.5.20\bin and run "catalina start"
+3. Set environment variable TS_HOME  pointing to work\jwstck directory
+4. cd to work\jwstck\bin and run "tsant gui".
+5. In the tck ui, create work folder for the session and run the tests.
+
+NOTES:
+- to start fresh, run "ant clean" from this folder and then follow steps above.
+
+



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]