You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2011/07/11 23:10:56 UTC
svn commit: r1145356 [18/28] - in /incubator/airavata/trunk/ws-messaging: ./
distribution/ distribution/axis2_releases/
distribution/axis2_releases/axis2-1.6.0/
distribution/axis2_releases/axis2-1.6.0/bin/
distribution/axis2_releases/axis2-1.6.0/conf/ ...
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/axis2.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/axis2.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/axis2.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/axis2.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,352 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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">true</parameter>
+ <parameter name="hotupdate">false</parameter>
+ <parameter name="enableMTOM">false</parameter>
+ <parameter name="enableSwA">false</parameter>
+
+ <!--Uncomment if you want to enable file caching for attachments -->
+ <!--parameter name="cacheAttachments">true</parameter>
+ <parameter name="attachmentDIR"></parameter>
+ <parameter name="sizeThreshold">4000</parameter-->
+
+ <!--Uncomment if you want to plugin your own attachments lifecycle implementation -->
+ <!--<attachmentsLifecycleManager class="org.apache.axiom.attachments.lifecycle.impl.LifecycleManagerImpl"/>-->
+
+
+ <!--Uncomment if you want to enable the reduction of the in-memory cache of WSDL definitions -->
+ <!--In some server environments, the available memory heap is limited and can fill up under load -->
+ <!--Since in-memory copies of WSDL definitions can be large, some steps can be taken-->
+ <!--to reduce the memory needed for the cached WSDL definitions. -->
+ <!--parameter name="reduceWSDLMemoryCache">true</parameter-->
+
+ <!--This will give out the timout of the configuration contexts, in milliseconds-->
+ <parameter name="ConfigContextTimeoutInterval">30000</parameter>
+
+ <!--During a fault, stack trace can be sent with the fault message. The following flag will control -->
+ <!--that behavior.-->
+ <parameter name="sendStacktraceDetailsWithFaults">false</parameter>
+
+ <!--If there aren't any information available to find out the fault reason, we set the message of the exception-->
+ <!--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">false</parameter>
+
+ <parameter name="userName">admin</parameter>
+ <parameter name="password">axis2</parameter>
+
+ <!--To override repository/services you need to uncomment following parameter and value SHOULD be absolute file path.-->
+ <!--ServicesDirectory only works on the following cases-->
+ <!---File based configurator and in that case the value should be a file URL (http:// not allowed)-->
+ <!---When creating URL Based configurator with URL âfile://â -->
+ <!--- War based configurator with expanded case , -->
+
+ <!--All the other scenarios it will be ignored.-->
+ <!--<parameter name="ServicesDirectory">service</parameter>-->
+ <!--To override repository/modules you need to uncomment following parameter and value SHOULD be absolute file path-->
+ <!--<parameter name="ModulesDirectory">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">axis2</parameter>-->
+
+ <!--Our HTTP endpoints can handle both REST and SOAP. Following parameters can be used to distinguiush 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">services</parameter>-->
+ <!--<parameter name="restPath">rest</parameter>-->
+
+ <!-- Following parameter will completely disable REST handling in Axis2-->
+ <parameter name="disableREST" locked="true">false</parameter>
+
+ <!-- Following parameter will suppress generation of SOAP 1.2 bindings in auto-generated WSDL files -->
+ <parameter name="disableSOAP12" locked="true">false</parameter>
+
+ <!--POJO deployer , this will alow users to drop .class file and make that into a service-->
+ <deployer extension=".class" directory="pojo" class="org.apache.axis2.deployment.POJODeployer"/>
+ <deployer extension=".jar" directory="pojo" class="org.apache.axis2.jaxws.framework.JAXWSDeployer"/>
+ <!--<deployer extension=".jsa" directory="rmiservices" class="org.apache.axis2.rmi.deploy.RMIServiceDeployer"/>-->
+
+
+ <!-- Following parameter will set the host name for the epr-->
+ <!--<parameter name="hostname" locked="true">myhost.com</parameter>-->
+
+ <!-- If you have a front end host which exposes this webservice using a different public URL -->
+ <!-- use this parameter to override autodetected url -->
+ <!--<parameter name="httpFrontendHostUrl">https://someotherhost/context</parameter>-->
+
+
+ <!-- The way of adding listener to the system-->
+ <!-- <listener class="org.apache.axis2.ObserverIMPL">-->
+ <!-- <parameter name="RSS_URL">http://127.0.0.1/rss</parameter>-->
+ <!-- </listener>-->
+
+ <!-- Uncomment if JAX-WS 2.1 support is needed. -->
+ <!--
+ <threadContextMigrators>
+ <threadContextMigrator listId="JAXWS-ThreadContextMigrator-List" class="org.apache.axis2.jaxws.addressing.migrator.EndpointContextMapMigrator"/>
+ </threadContextMigrators>
+ -->
+
+ <!-- ================================================= -->
+ <!-- Message Receivers -->
+ <!-- ================================================= -->
+ <!--This is the deafult MessageReceiver 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 ovrride this for a 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"/>
+ <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-only"
+ class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
+ <messageReceiver mep="http://www.w3.org/2006/01/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="multipart/form-data"
+ class="org.apache.axis2.transport.http.MultipartFormDataFormatter"/>
+ <messageFormatter contentType="application/xml"
+ class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
+ <messageFormatter contentType="text/xml"
+ class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
+ <messageFormatter contentType="application/soap+xml"
+ class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
+ </messageFormatters>
+
+ <!-- ================================================= -->
+ <!-- Message Builders -->
+ <!-- ================================================= -->
+ <!--Following content type to builder mapping can be used to implement support for different message -->
+ <!--formats in Axis2. These message formats are expected to be resolved based on the content type. -->
+ <messageBuilders>
+ <messageBuilder contentType="application/xml"
+ class="org.apache.axis2.builder.ApplicationXMLBuilder"/>
+ <messageBuilder contentType="application/xml"
+ class="org.apache.axis2.builder.ApplicationXMLBuilder"/>
+ <messageBuilder contentType="application/x-www-form-urlencoded"
+ class="org.apache.axis2.builder.XFormURLEncodedBuilder"/>
+ <messageBuilder contentType="multipart/form-data"
+ class="org.apache.axis2.builder.MultipartFormDataBuilder"/>
+ </messageBuilders>
+
+ <!-- ================================================= -->
+ <!-- Transport Ins -->
+ <!-- ================================================= -->
+ <transportReceiver name="http"
+ class="org.apache.axis2.transport.http.SimpleHTTPServer">
+ <parameter name="port">6060</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 up (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">http://www.myApp.com/ws</parameter> -->
+ <!-- <parameter name="originServer">My-Server/1.1</parameter> -->
+ <!-- <parameter name="requestTimeout">10000</parameter> -->
+ <!-- <parameter name="requestTcpNoDelay">false</parameter> -->
+ <!-- <parameter name="requestCoreThreadPoolSize">50</parameter> -->
+ <!-- <parameter name="requestMaxThreadPoolSize">100</parameter> -->
+ <!-- <parameter name="threadKeepAliveTime">240000</parameter> -->
+ <!-- <parameter name="threadKeepAliveTimeUnit">MILLISECONDS</parameter> -->
+ </transportReceiver>
+
+ <!--Uncomment if you want to have TCP transport support-->
+ <!--transportReceiver name="tcp"
+ class="org.apache.axis2.transport.tcp.TCPServer">
+ <parameter name="port">6060</parameter-->>
+ <!--If you want to give your own host address for EPR generation-->
+ <!--uncomment the following paramter , and set it as you required.-->
+ <!--<parameter name="hostname">tcp://myApp.com/ws</parameter>-->
+ <!-- /transportReceiver -->
+
+ <!-- ================================================= -->
+ <!-- Transport Outs -->
+ <!-- ================================================= -->
+
+ <!--Uncomment if you want to have TCP transport support-->
+ <!--
+ <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">HTTP/1.1</parameter>
+ <parameter name="Transfer-Encoding">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">true</parameter> -->
+ </transportSender>
+
+ <transportSender name="https"
+ class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+ <parameter name="PROTOCOL">HTTP/1.1</parameter>
+ <parameter name="Transfer-Encoding">chunked</parameter>
+ </transportSender>
+ <transportSender name="java"
+ class="org.apache.axis2.transport.java.JavaTransportSender"/>
+
+ <!-- ================================================= -->
+ <!-- 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">N/A</parameter>-->
+ <!--</moduleConfig>-->
+
+ <!-- ================================================= -->
+ <!-- Clustering -->
+ <!-- ================================================= -->
+ <!-- Configure and uncomment following for preparing Axis2 to a clustered environment -->
+ <!--
+ <cluster class="org.apache.axis2.cluster.tribes.TribesClusterManager">
+ <parameter name="param1">value1</parameter>
+ <parameter name="domain">apache.axis2.domain</parameter>
+ <parameter name="synchronizeAll">true</parameter>
+ <parameter name="maxRetries">10</parameter>
+ <configurationManager class="org.apache.axis2.cluster.configuration.TribesConfigurationManager">
+ <listener class="org.apache.axis2.cluster.configuration.DefaultConfigurationManagerListener"/>
+ </configurationManager>
+ <contextManager class="org.apache.axis2.cluster.context.TribesContextManager">
+ <listener class="org.apache.axis2.cluster.context.DefaultContextManagerListener"/>
+ </contextManager>
+ </cluster>
+ -->
+
+ <!-- ================================================= -->
+ <!-- Phases -->
+ <!-- ================================================= -->
+ <phaseOrder type="InFlow">
+ <!-- System predefined phases -->
+ <phase name="Transport">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
+ <order phase="Transport"/>
+ </handler>
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
+ <order phase="Transport"/>
+ </handler>
+ </phase>
+ <phase name="Addressing">
+ <handler name="AddressingBasedDispatcher"
+ class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
+ <order phase="Addressing"/>
+ </handler>
+ </phase>
+ <phase name="Security"/>
+ <phase name="PreDispatch"/>
+ <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
+ <handler name="RequestURIOperationDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
+
+ <handler name="HTTPLocationBasedDispatcher"
+ class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
+ </phase>
+ <phase name="RMPhase"/>
+ <!-- System predefined phases -->
+ <!-- After Postdispatch phase module author 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="RMPhase"/>
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ <phase name="Security"/>
+ </phaseOrder>
+ <phaseOrder type="InFaultFlow">
+ <phase name="Addressing">
+ <handler name="AddressingBasedDispatcher"
+ class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
+ <order phase="Addressing"/>
+ </handler>
+ </phase>
+ <phase name="Security"/>
+ <phase name="PreDispatch"/>
+ <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
+ <handler name="RequestURIOperationDispatcher"
+ class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
+
+ <handler name="HTTPLocationBasedDispatcher"
+ class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
+ </phase>
+ <phase name="RMPhase"/>
+ <!-- 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="RMPhase"/>
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ </phaseOrder>
+</axisconfig>
+
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/commons-logging.properties
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/commons-logging.properties?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/commons-logging.properties (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/commons-logging.properties Mon Jul 11 21:10:36 2011
@@ -0,0 +1,31 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+
+
+# This is the logging properties that goes to the war, there are two logging conf kept at the
+# svn, one for developement (one at src/test-resources) and other for producation
+
+# Uncomment the next line to disable all logging.
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
+
+# Uncomment the next line to enable the simple log based logging
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
+
+# Uncomment the next line to enable log4j based logging
+org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/log4j.properties?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/log4j.properties (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/log4j.properties Mon Jul 11 21:10:36 2011
@@ -0,0 +1,41 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+
+
+# Set root category priority to INFO and its only appender to CONSOLE.
+log4j.rootCategory=INFO, CONSOLE
+#log4j.rootCategory=INFO, CONSOLE, LOGFILE
+
+# Set the enterprise logger priority to FATAL
+log4j.logger.org.apache.axis2.enterprise=FATAL
+log4j.logger.de.hunsicker.jalopy.io=FATAL
+log4j.logger.httpclient.wire.header=FATAL
+log4j.logger.org.apache.commons.httpclient=FATAL
+
+# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=[%p] %m%n
+
+# LOGFILE is set to be a File appender using a PatternLayout.
+log4j.appender.LOGFILE=org.apache.log4j.FileAppender
+log4j.appender.LOGFILE.File=axis2.log
+log4j.appender.LOGFILE.Append=true
+log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/org/apache/axis2/jaxws/samples/echo/loghandler.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/org/apache/axis2/jaxws/samples/echo/loghandler.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/org/apache/axis2/jaxws/samples/echo/loghandler.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/classes/org/apache/axis2/jaxws/samples/echo/loghandler.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<handler-chains xmlns="http://java.sun.com/xml/ns/javaee">
+ <handler-chain>
+ <service-name-pattern xmlns:ns1="http://org/apache/axis2/jaxws/samples/echo/">ns1:*</service-name-pattern>
+ <handler>
+ <handler-class>org.apache.axis2.jaxws.samples.handler.LoggingSOAPHandler</handler-class>
+ </handler>
+ </handler-chain>
+</handler-chains>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/jsp/demoEchoPing.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/jsp/demoEchoPing.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/jsp/demoEchoPing.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/jsp/demoEchoPing.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,144 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<HTML>
+<HEAD>
+ <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+ pageEncoding="ISO-8859-1" %>
+ <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+ <TITLE>JAX-WS Web Services Ping and Echo Sample</TITLE>
+</HEAD>
+<BODY>
+<P align="center"><B><FONT size="+2">JAX-WS Web Services Ping and Echo Sample
+</FONT></B></P>
+
+<H3><B> <U>Message Options</U></B></H3>
+
+<FORM name="demoMe" method="POST" action="/jaxws-samples/demoEchoPing">
+<TABLE border="0" cellpadding="0" cellspacing="1">
+<TBODY>
+<TR>
+ <TD>
+ <TABLE border="0" cellpadding="0" cellspacing="1" bgcolor="#99FFBB">
+ <TBODY>
+ <TR>
+ <TD><B>Message Type:</B></TD>
+ <TD><B><SELECT name="msgservice">
+ <OPTION value="Ping" <%=request.getAttribute("PingSelected")%>>One-Way
+ Ping
+ </OPTION>
+ <OPTION value="Echo" <%=request.getAttribute("EchoSelected")%>>Synchronous
+ Echo
+ </OPTION>
+ <OPTION value="Async" <%=request.getAttribute("AsyncSelected")%>>Asynchronous
+ Echo with Sync Communication
+ </OPTION>
+ <OPTION value="AsyncWire"
+ <%=request.getAttribute("AsyncWireSelected")%>>Asynchronous
+ Echo with Async Communication
+ </OPTION>
+ </SELECT></B></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><BR>
+ </TD>
+ <TD></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><B>Message String:</B></TD>
+ <TD><INPUT type="text" name="msgstring" size="40"></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><BR>
+ </TD>
+ <TD></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><B>Message Count:</B></TD>
+ <TD><B><INPUT type="text" name="msgcount" size="4"
+ value="<%=request.getAttribute("msgcount")%>"></B></TD>
+ </TR>
+ <TR>
+ <TD><BR>
+ </TD>
+ <TD></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><B>Service URI:</B></TD>
+ <TD><B><INPUT type="text" name="uri" size="40"
+ value="<%=request.getAttribute("uridef")%>"></B></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><BR>
+ </TD>
+ <TD><FONT size="-1">"example:
+ http://ServiceHostname:port"</FONT></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><BR>
+ </TD>
+ <TD></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><B>SOAP:</B></TD>
+ <TD><INPUT type="checkbox" name="soap12"
+ <%=request.getAttribute("soapdef")%>>Use SOAP 1.2
+ </TD>
+ <TD></TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+</TR>
+<TR>
+ <TD>
+ <TABLE width="50" border="0" cellpadding="0" cellspacing="1">
+ <TBODY>
+ <TR>
+ <TD><INPUT type="submit" name="SUBMIT" value="Send Message">
+ </TR>
+ <TR>
+ <TD><TEXTAREA rows="20" cols="60" name="OUTPUT" readonly
+ style="background:#E6E6FA" style="font-weight: bold"
+ style="border-style:solid">
+ <%=request.getAttribute("messageS")%>
+ <%=request.getAttribute("messageR")%>
+ </TEXTAREA>
+ </TD>
+ <TD></TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+</TR>
+</TBODY>
+</TABLE>
+</FORM>
+</BODY>
+</HTML>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/jsp/demoMTOM.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/jsp/demoMTOM.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/jsp/demoMTOM.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/jsp/demoMTOM.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,130 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+ pageEncoding="ISO-8859-1" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+ <title>JAX-WS Web Services MTOM Sample</title>
+ <script language="JavaScript" type="text/javascript">
+ <!--
+ function checkform(form)
+ {
+ if (form.filedef.value == "") {
+ alert("Please enter a Source Filename");
+ form.filedef.focus();
+ return false;
+ }
+ return true;
+ }
+ //-->
+ </script>
+</head>
+<body>
+<P align="center"><B><FONT size="+2">JAX-WS Web Services MTOM Sample
+</FONT></B></P>
+
+<H3><B> <U>Message Options</U></B></H3>
+
+<FORM name="mtomdemo" method="POST" action="/jaxws-samples/demoMTOM" onsubmit="return checkform(this);" enctype="multipart/form-data">
+ <TABLE border="0" cellpadding="0" cellspacing="1">
+ <TBODY>
+ <TR>
+ <TD>
+ <TABLE border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCC22">
+ <TBODY>
+ <TR>
+ <TD><B>Service Type:</B></TD>
+ <TD><B><SELECT name="msgservice">
+ <OPTION value="Dispatch" <%=request.getAttribute("DispatchSelected")%>>Dispatch
+ </OPTION>
+ <OPTION value="Proxy" <%=request.getAttribute("ProxySelected")%>>Proxy</OPTION>
+ </SELECT></B></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><B>Source Filename:</B></TD>
+ <TD><B><INPUT type="file" name="filedef" size="32"
+ value="<%=request.getAttribute("filedef")%>"></B></TD>
+ </TR>
+ <TR>
+ <TD><BR>
+ </TD>
+ <TD></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><B>Service URI:</B></TD>
+ <TD><B><INPUT type="text" name="uridef" size="40"
+ value="<%=request.getAttribute("uridef")%>"></B></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><BR>
+ </TD>
+ <TD><FONT size="-1">example:
+ http://ServiceHostname:port</FONT></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><BR>
+ </TD>
+ <TD></TD>
+ <TD></TD>
+ </TR>
+ <TR>
+ <TD><B>SOAP:</B></TD>
+ <TD><INPUT type="checkbox" name="soapdef"
+ <%=request.getAttribute("soapdef")%>>Use SOAP 1.2
+ </TD>
+ <TD></TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+ </TR>
+ <TR>
+ <TD>
+ <TABLE width="50" border="0" cellpadding="0" cellspacing="1">
+ <TBODY>
+ <TR>
+ <TD><INPUT type="submit" name="SUBMIT" value="Send Message">
+ </TR>
+ <TR>
+ <TD><TEXTAREA rows="20" cols="60" name="OUTPUT" readonly
+ style="background:#FAE622" style="font-weight: bold"
+ style="border-style:solid">
+ <%=request.getAttribute("messageS")%>
+ <%=request.getAttribute("messageR")%>
+ </TEXTAREA>
+ </TD>
+ <TD></TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+</FORM>
+</body>
+</html>
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/web.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/web.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/web.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+
+<web-app id="jaxws-samples" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <servlet>
+ <servlet-name>AxisServlet</servlet-name>
+ <servlet-class>
+ org.apache.axis2.transport.http.AxisServlet
+ </servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>AxisServlet</servlet-name>
+ <url-pattern>/services/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet id="Servlet_1182367307416">
+ <servlet-name>MTOMSampleServlet</servlet-name>
+ <servlet-class>
+ org.apache.axis2.jaxws.samples.servlet.MTOMSampleServlet
+ </servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>MTOMSampleServlet</servlet-name>
+ <url-pattern>/demoMTOM</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>EchoPingSampleServlet</servlet-name>
+ <servlet-class>org.apache.axis2.jaxws.samples.servlet.EchoPingSampleServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>EchoPingSampleServlet</servlet-name>
+ <url-pattern>/demoEchoPing</url-pattern>
+ </servlet-mapping>
+</web-app>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Echo.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Echo.wsdl?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Echo.wsdl (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Echo.wsdl Mon Jul 11 21:10:36 2011
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://org/apache/axis2/jaxws/samples/echo/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="EchoService"
+ targetNamespace="http://org/apache/axis2/jaxws/samples/echo/">
+ <wsdl:types>
+ <xsd:schema
+ targetNamespace="http://org/apache/axis2/jaxws/samples/echo/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+
+ <xsd:element name="echoStringResponse">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="echoResponse"
+ type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="echoStringInput">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="echoInput" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="echoOperationRequest">
+ <wsdl:part element="tns:echoStringInput" name="parameter"/>
+ </wsdl:message>
+ <wsdl:message name="echoOperationResponse">
+ <wsdl:part element="tns:echoStringResponse" name="parameter"/>
+ </wsdl:message>
+ <wsdl:portType name="EchoServicePortType">
+
+ <wsdl:operation name="echoOperation">
+ <wsdl:input message="tns:echoOperationRequest"/>
+ <wsdl:output message="tns:echoOperationResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="EchoSOAP" type="tns:EchoServicePortType">
+ <soap:binding style="document"
+ transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="echoOperation">
+ <soap:operation soapAction="echoOperation" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="EchoService">
+ <wsdl:port binding="tns:EchoSOAP" name="EchoServicePort">
+ <soap:address
+ location="http://localhost:8080/jaxws-samples/services/EchoService"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Echo12.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Echo12.wsdl?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Echo12.wsdl (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Echo12.wsdl Mon Jul 11 21:10:36 2011
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/"
+ xmlns:tns="http://org/apache/axis2/jaxws/samples/echo/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="EchoService12"
+ targetNamespace="http://org/apache/axis2/jaxws/samples/echo/">
+ <wsdl:types>
+ <xsd:schema
+ targetNamespace="http://org/apache/axis2/jaxws/samples/echo/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:element name="echoStringResponse">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="echoResponse"
+ type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="echoStringInput">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="echoInput" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="echoOperationRequest">
+ <wsdl:part element="tns:echoStringInput" name="parameter"/>
+ </wsdl:message>
+ <wsdl:message name="echoOperationResponse">
+ <wsdl:part element="tns:echoStringResponse" name="parameter"/>
+ </wsdl:message>
+ <wsdl:portType name="EchoService12PortType">
+
+ <wsdl:operation name="echoOperation">
+ <wsdl:input message="tns:echoOperationRequest"/>
+ <wsdl:output message="tns:echoOperationResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="EchoSOAP12" type="tns:EchoService12PortType">
+ <soap:binding style="document"
+ transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="echoOperation">
+ <soap:operation soapAction="echoOperation" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="EchoService12">
+ <wsdl:port binding="tns:EchoSOAP12" name="EchoService12Port">
+ <soap:address
+ location="http://localhost:8080/jaxws-samples/services/EchoService12"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/ImageDepot.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/ImageDepot.wsdl?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/ImageDepot.wsdl (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/ImageDepot.wsdl Mon Jul 11 21:10:36 2011
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+<wsdl:definitions targetNamespace="http://org/apache/axis2/jaxws/samples/mtom/"
+ xmlns:impl="http://org/apache/axis2/jaxws/samples/mtom/"
+ xmlns:intf="http://org/apache/axis2/jaxws/samples/mtom/"
+ xmlns:mtom="http://org/apache/axis2/jaxws/samples/mtom/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+ <xs:schema elementFormDefault="qualified"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
+ xmlns:tns="http://org/apache/axis2/jaxws/samples/mtom/"
+ targetNamespace="http://org/apache/axis2/jaxws/samples/mtom/">
+ <xs:complexType name="ImageDepot">
+ <xs:sequence>
+ <xs:element name="imageData"
+ type="xs:base64Binary"
+ xmime:expectedContentTypes="multipart/*"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="sendImage">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="1" name="input" type="tns:ImageDepot"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="sendImageResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="1" name="output" type="tns:ImageDepot"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ </wsdl:types>
+
+ <wsdl:message name="sendImageRequest">
+ <wsdl:part element="mtom:sendImage" name="parameters"/>
+ </wsdl:message>
+
+ <wsdl:message name="sendImageResponse">
+ <wsdl:part element="mtom:sendImageResponse" name="parameters"/>
+ </wsdl:message>
+
+ <wsdl:portType name="MtomSampleService">
+ <wsdl:operation name="sendImage">
+ <wsdl:input message="impl:sendImageRequest" name="sendImageRequest"/>
+ <wsdl:output message="impl:sendImageResponse" name="sendImageResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="MtomSampleSoap" type="impl:MtomSampleService">
+ <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="sendImage">
+ <wsdlsoap:operation soapAction="sendImage"/>
+ <wsdl:input name="sendImageRequest">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="sendImageResponse">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="MtomSampleService">
+ <wsdl:port binding="impl:MtomSampleSoap" name="MtomSamplePort">
+ <wsdlsoap:address location="http://localhost:8080/jaxws-samples/services/MtomSampleService"/>
+ </wsdl:port>
+ </wsdl:service>
+
+</wsdl:definitions>
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/ImageDepot12.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/ImageDepot12.wsdl?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/ImageDepot12.wsdl (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/ImageDepot12.wsdl Mon Jul 11 21:10:36 2011
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:impl="http://org/apache/axis2/jaxws/samples/mtom/"
+ xmlns:intf="http://org/apache/axis2/jaxws/samples/mtom/"
+ xmlns:mtom="http://org/apache/axis2/jaxws/samples/mtom/"
+ xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://org/apache/axis2/jaxws/samples/mtom/">
+ <wsdl:types>
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://org/apache/axis2/jaxws/samples/mtom/"
+ xmlns:xmime="http://www.w3.org/2005/05/xmlmime" elementFormDefault="qualified"
+ targetNamespace="http://org/apache/axis2/jaxws/samples/mtom/">
+ <xs:complexType name="ImageDepot">
+ <xs:sequence>
+ <xs:element name="imageData" type="xs:base64Binary" xmime:expectedContentTypes="multipart/*"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="sendImage">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="0" name="input" type="tns:ImageDepot"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="sendImageResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="0" name="output" type="tns:ImageDepot"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ </wsdl:types>
+
+ <wsdl:message name="sendImageRequest">
+ <wsdl:part element="mtom:sendImage" name="parameters"/>
+ </wsdl:message>
+
+ <wsdl:message name="sendImageResponse">
+ <wsdl:part element="mtom:sendImageResponse" name="parameters"/>
+ </wsdl:message>
+
+ <wsdl:portType name="MtomSampleService12">
+ <wsdl:operation name="sendImage">
+ <wsdl:input message="impl:sendImageRequest" name="sendImageRequest"/>
+ <wsdl:output message="impl:sendImageResponse" name="sendImageResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="MtomSampleSoap" type="impl:MtomSampleService12">
+ <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="sendImage">
+ <wsdlsoap:operation soapAction="sendImage"/>
+ <wsdl:input name="sendImageRequest">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="sendImageResponse">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="MtomSampleService12">
+ <wsdl:port binding="impl:MtomSampleSoap" name="MtomSamplePort">
+ <wsdlsoap:address location="http://localhost:8080/jaxws-samples/services/MtomSampleService12"/>
+ </wsdl:port>
+ </wsdl:service>
+
+</wsdl:definitions>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Ping.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Ping.wsdl?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Ping.wsdl (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Ping.wsdl Mon Jul 11 21:10:36 2011
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://org/apache/axis2/jaxws/samples/ping/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PingService"
+ targetNamespace="http://org/apache/axis2/jaxws/samples/ping/">
+ <wsdl:types>
+ <xsd:schema
+ targetNamespace="http://org/apache/axis2/jaxws/samples/ping/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+
+ <xsd:element name="pingStringInput">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="pingInput" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="pingOperationRequest">
+ <wsdl:part element="tns:pingStringInput" name="parameter"/>
+ </wsdl:message>
+ <wsdl:portType name="PingServicePortType">
+ <wsdl:operation name="pingOperation">
+ <wsdl:input message="tns:pingOperationRequest"/>
+
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="PingSOAP" type="tns:PingServicePortType">
+ <soap:binding style="document"
+ transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="pingOperation">
+ <soap:operation soapAction="pingOperation" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="PingService">
+ <wsdl:port binding="tns:PingSOAP" name="PingServicePort">
+ <soap:address
+ location="http://localhost:8080/jaxws-samples/services/PingService"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Ping12.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Ping12.wsdl?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Ping12.wsdl (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/WEB-INF/wsdl/Ping12.wsdl Mon Jul 11 21:10:36 2011
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/"
+ xmlns:tns="http://org/apache/axis2/jaxws/samples/ping/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PingService12"
+ targetNamespace="http://org/apache/axis2/jaxws/samples/ping/">
+ <wsdl:types>
+ <xsd:schema
+ targetNamespace="http://org/apache/axis2/jaxws/samples/ping/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+
+ <xsd:element name="pingStringInput">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="pingInput" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="pingOperationRequest">
+ <wsdl:part element="tns:pingStringInput" name="parameter"/>
+ </wsdl:message>
+ <wsdl:portType name="PingService12PortType">
+ <wsdl:operation name="pingOperation">
+ <wsdl:input message="tns:pingOperationRequest"/>
+
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="PingSOAP12" type="tns:PingService12PortType">
+ <soap:binding style="document"
+ transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="pingOperation">
+ <soap:operation soapAction="pingOperation" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="PingService12">
+ <wsdl:port binding="tns:PingSOAP12" name="PingService12Port">
+ <soap:address
+ location="http://localhost:8080/jaxws-samples/services/PingService12"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/index.html
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/index.html?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/index.html (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/webapp/index.html Mon Jul 11 21:10:36 2011
@@ -0,0 +1,63 @@
+<HTML>
+<HEAD>
+<TITLE>JAX-WS Web Services Samples</TITLE>
+</HEAD>
+
+<BODY>
+<TABLE>
+ <tr>
+ <td>
+ <strong>
+ Ping and Echo Sample
+ </strong>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>
+ <a href="/jaxws-samples/demoEchoPing">Run</a>
+ </strong>
+ </td>
+ <tr>
+ <tr>
+ <td>
+ The Ping and Echo Sample illustrates simple JAX-WS services. The Ping Sample
+ demonstrates a one-way service transaction. A simple text string is sent
+ from the service client to the service endpoint. The Echo Sample demonstrates
+ a two-way service transaction. A simple text string is sent from the service
+ client to the service endpoint. The service prepends an identifier and returns
+ the string to the client. The Echo Sample also demonstrates the use of the
+ synchronous programming model and also the use of two modes of the asynchronous programming model.
+ You can choose either SOAP 1.1 or SOAP 1.2 as the transport option for the Ping and Echo Samples.
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <strong>
+ MTOM Sample
+ </strong>
+ </td>
+
+ </tr>
+ <tr>
+ <td>
+ <strong>
+ <a href="/jaxws-samples/demoMTOM">Run</a>
+ </strong>
+ </td>
+
+ </tr>
+ <tr>
+ <td>
+ The MTOM Sample illustrates the use of the SOAP Message Transmission
+ Optimization Mechanism (MTOM) on the transport to send and receive binary files.
+ The MTOM feature enables SOAP bindings to optimize the transmission or
+ wire format of a SOAP message by selectively encoding portions of the message,
+ while still presenting an XML Infoset to the SOAP application.
+ A file is sent from the service client to the service endpoint with
+ the binary data encoded using MTOM.
+ </td>
+ </tr>
+</BODY>
+</HTML>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/README.txt
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/README.txt?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/README.txt (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/README.txt Mon Jul 11 21:10:36 2011
@@ -0,0 +1,28 @@
+Sample: JAXWS Version
+===============
+
+Introduction
+============
+
+A simple JAXWS service that returns a text which contains the version number and the built
+date of the Axis2 Distribution used.
+
+In other words, this is a simple JAXWS/JSR 181 service used by many to test whether the distribution they got is setup
+and working properly. It contains a single method that simply returns version and build
+date of the Axis2 distribution used.
+
+
+Pre-Requisites
+==============
+
+Apache Ant 1.6.2 or later
+
+Running the Sample
+==================
+
+Type $ant from Axis2_HOME/samples/version
+
+
+Help
+====
+Please contact axis-user list (axis-user@ws.apache.org) if you have any trouble running the sample.
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/build.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/build.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/build.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/build.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,63 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+
+<project name="version" basedir="." default="generate.service">
+
+ <property name="dest.dir" value="build" />
+
+ <property name="dest.dir.classes" value="${dest.dir}/classes" />
+
+ <property name="axis2.home" value="../../" />
+
+ <property name="repository.path" value="${axis2.home}/repository/servicejars" />
+
+ <path id="build.class.path">
+ <fileset dir="${axis2.home}/lib">
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
+ <target name="clean">
+ <delete dir="${dest.dir}" />
+ </target>
+
+ <target name="prepare">
+
+ <mkdir dir="${dest.dir}" />
+
+ <mkdir dir="${dest.dir.classes}" />
+
+ <copy todir="${dest.dir.classes}">
+ <fileset dir="resources"/>
+ </copy>
+ </target>
+
+ <target name="generate.service" depends="clean,prepare">
+
+ <javac srcdir="src" destdir="${dest.dir.classes}" includes="sample/jaxws/**">
+ <classpath refid="build.class.path" />
+ </javac>
+
+ <jar basedir="${dest.dir.classes}" destfile="${dest.dir}/version.jar" />
+
+ <copy file="${dest.dir}/version.jar" tofile="${repository.path}/version.jar" overwrite="true" />
+
+ </target>
+
+</project>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/pom.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/pom.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/pom.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,62 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.axis2.examples</groupId>
+ <artifactId>jaxws-version</artifactId>
+ <version>1.6.0</version>
+ <packaging>jar</packaging>
+ <name>Apache Axis2 -JAXWS Version Service</name>
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <resources>
+ <resource>
+ <directory>resources</directory>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <repository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>http://repository.apache.org/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+</project>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/resources/META-INF/version.wsdl
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/resources/META-INF/version.wsdl?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/resources/META-INF/version.wsdl (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/resources/META-INF/version.wsdl Mon Jul 11 21:10:36 2011
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://jaxws.sample/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://jaxws.sample/" name="JAXWSVersion">
+ <types>
+ <xsd:schema>
+ <xsd:import namespace="http://jaxws.sample/" schemaLocation="version.xsd"/>
+ </xsd:schema>
+ </types>
+ <message name="getVersionResponse">
+ <part name="parameters" element="tns:getVersionResponse">
+ </part>
+ </message>
+ <message name="Exception">
+ <part name="fault" element="tns:Exception">
+ </part>
+ </message>
+ <message name="getVersion">
+ <part name="parameters" element="tns:getVersion">
+ </part>
+ </message>
+ <portType name="Version">
+ <operation name="getVersion">
+ <input message="tns:getVersion">
+ </input>
+ <output message="tns:getVersionResponse">
+ </output>
+ <fault name="Exception" message="tns:Exception">
+ </fault>
+ </operation>
+ </portType>
+ <binding name="VersionPortBinding" type="tns:Version">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="getVersion">
+ <soap:operation/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="Exception">
+ <soap:fault name="Exception" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+ <service name="JAXWSVersion">
+ <port name="VersionPort" binding="tns:VersionPortBinding">
+ <soap:address location="http://192.168.2.102:8080/axis2/services/JAXWSVersion.VersionPort"/>
+ </port>
+ </service>
+</definitions>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/resources/META-INF/version.xsd
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/resources/META-INF/version.xsd?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/resources/META-INF/version.xsd (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/resources/META-INF/version.xsd Mon Jul 11 21:10:36 2011
@@ -0,0 +1,18 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://jaxws.sample/" targetNamespace="http://jaxws.sample/" elementFormDefault="unqualified" attributeFormDefault="unqualified">
+ <xs:element name="Exception" type="tns:Exception"/>
+ <xs:element name="getVersion" type="tns:getVersion"/>
+ <xs:element name="getVersionResponse" type="tns:getVersionResponse"/>
+ <xs:complexType name="getVersion">
+ <xs:sequence/>
+ </xs:complexType>
+ <xs:complexType name="getVersionResponse">
+ <xs:sequence>
+ <xs:element name="return" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="Exception">
+ <xs:sequence>
+ <xs:element name="message" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/src/sample/jaxws/Version.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/src/sample/jaxws/Version.java?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/src/sample/jaxws/Version.java (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-version/src/sample/jaxws/Version.java Mon Jul 11 21:10:36 2011
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package sample.jaxws;
+
+import javax.jws.WebService;
+
+@WebService(serviceName = "JAXWSVersion",
+ portName="VersionPort",
+ wsdlLocation="META-INF/version.wsdl")
+public class Version {
+ public String getVersion() throws Exception {
+ return "Hello I am Axis2 version service ," +
+ " My version is " + org.apache.axis2.Version.getVersionText();
+ }
+}
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/mtom/README.txt
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/mtom/README.txt?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/mtom/README.txt (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/mtom/README.txt Mon Jul 11 21:10:36 2011
@@ -0,0 +1,34 @@
+Sample: MTOM (Message Transmission Optimization Mechanism)
+=========================================================
+
+Introduction:
+============
+
+This sample demonstrates the capabilities and power of MTOM support of AXIS2. In this sample the
+user can send a file to the service.
+
+Prerequisites
+=============
+Apache Ant 1.6.2 or later
+
+
+Running the Sample:
+===================
+1. Use ant generate.service or just the ant command alone in the Axis2_HOME/sample/mtom/ to build the service.
+2. Generated service gets copied to the AXIS2_HOME/repository/services automatically.
+3. Run the AXIS2_HOME/bin/axis2server.{sh/bat} to start the standalone axis2 server. (Alternatively
+ you can drop the sample into the services directory of a Axis2 server running in a servlet container)
+4. Use ant generate.client to build the client.
+5. Use ant run.client -Dfile "file to be sent" -Ddest "destination file name" to run the client.
+
+
+Note
+==============
+Sometimes, if you're having trouble running the client successfully,
+It may be necessary to clean the services repository before you generate the service, deploy it
+and run the client. (i.e. delete services created from previous samples.)
+
+Help
+====
+Please contact axis-user list (axis-user@ws.apache.org) if you have any trouble running the sample.
+