airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject svn commit: r1145356 [15/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/ ...
Date Mon, 11 Jul 2011 21:10:56 GMT
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-interop/src/org/tempuri/IBaseDataTypesDocLitB.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-interop/src/org/tempuri/IBaseDataTypesDocLitB.java?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-interop/src/org/tempuri/IBaseDataTypesDocLitB.java (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-interop/src/org/tempuri/IBaseDataTypesDocLitB.java Mon Jul 11 21:10:36 2011
@@ -0,0 +1,316 @@
+/*
+* 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 org.tempuri;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.datatype.Duration;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+import org.datacontract.schemas._2004._07.system.DateTimeOffset;
+
+@WebService(name = "IBaseDataTypesDocLitB", targetNamespace = "http://tempuri.org/")
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface IBaseDataTypesDocLitB {
+
+
+    /**
+     * 
+     * @param inBool
+     * @return
+     *     returns boolean
+     */
+    @WebMethod(operationName = "RetBool", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetBool")
+    @WebResult(name = "RetBoolResult", targetNamespace = "http://tempuri.org/", partName = "RetBoolResult")
+    public boolean retBool(
+        @WebParam(name = "inBool", targetNamespace = "http://tempuri.org/", partName = "inBool")
+        boolean inBool);
+
+    /**
+     * 
+     * @param inByte
+     * @return
+     *     returns short
+     */
+    @WebMethod(operationName = "RetByte", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetByte")
+    @WebResult(name = "RetByteResult", targetNamespace = "http://tempuri.org/", partName = "RetByteResult")
+    public short retByte(
+        @WebParam(name = "inByte", targetNamespace = "http://tempuri.org/", partName = "inByte")
+        short inByte);
+
+    /**
+     * 
+     * @param inSByte
+     * @return
+     *     returns byte
+     */
+    @WebMethod(operationName = "RetSByte", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetSByte")
+    @WebResult(name = "RetSByteResult", targetNamespace = "http://tempuri.org/", partName = "RetSByteResult")
+    public byte retSByte(
+        @WebParam(name = "inSByte", targetNamespace = "http://tempuri.org/", partName = "inSByte")
+        byte inSByte);
+
+    /**
+     * 
+     * @param inByteArray
+     * @return
+     *     returns byte[]
+     */
+    @WebMethod(operationName = "RetByteArray", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray")
+    @WebResult(name = "RetByteArrayResult", targetNamespace = "http://tempuri.org/", partName = "RetByteArrayResult")
+    public byte[] retByteArray(
+        @WebParam(name = "inByteArray", targetNamespace = "http://tempuri.org/", partName = "inByteArray")
+        byte[] inByteArray);
+
+    /**
+     * 
+     * @param inChar
+     * @return
+     *     returns int
+     */
+    @WebMethod(operationName = "RetChar", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetChar")
+    @WebResult(name = "RetCharResult", targetNamespace = "http://tempuri.org/", partName = "RetCharResult")
+    public int retChar(
+        @WebParam(name = "inChar", targetNamespace = "http://tempuri.org/", partName = "inChar")
+        int inChar);
+
+    /**
+     * 
+     * @param inDecimal
+     * @return
+     *     returns java.math.BigDecimal
+     */
+    @WebMethod(operationName = "RetDecimal", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal")
+    @WebResult(name = "RetDecimalResult", targetNamespace = "http://tempuri.org/", partName = "RetDecimalResult")
+    public BigDecimal retDecimal(
+        @WebParam(name = "inDecimal", targetNamespace = "http://tempuri.org/", partName = "inDecimal")
+        BigDecimal inDecimal);
+
+    /**
+     * 
+     * @param inFloat
+     * @return
+     *     returns float
+     */
+    @WebMethod(operationName = "RetFloat", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetFloat")
+    @WebResult(name = "RetFloatResult", targetNamespace = "http://tempuri.org/", partName = "RetFloatResult")
+    public float retFloat(
+        @WebParam(name = "inFloat", targetNamespace = "http://tempuri.org/", partName = "inFloat")
+        float inFloat);
+
+    /**
+     * 
+     * @param inDouble
+     * @return
+     *     returns double
+     */
+    @WebMethod(operationName = "RetDouble", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetDouble")
+    @WebResult(name = "RetDoubleResult", targetNamespace = "http://tempuri.org/", partName = "RetDoubleResult")
+    public double retDouble(
+        @WebParam(name = "inDouble", targetNamespace = "http://tempuri.org/", partName = "inDouble")
+        double inDouble);
+
+    /**
+     * 
+     * @param inSingle
+     * @return
+     *     returns float
+     */
+    @WebMethod(operationName = "RetSingle", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetSingle")
+    @WebResult(name = "RetSingleResult", targetNamespace = "http://tempuri.org/", partName = "RetSingleResult")
+    public float retSingle(
+        @WebParam(name = "inSingle", targetNamespace = "http://tempuri.org/", partName = "inSingle")
+        float inSingle);
+
+    /**
+     * 
+     * @param inInt
+     * @return
+     *     returns int
+     */
+    @WebMethod(operationName = "RetInt", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetInt")
+    @WebResult(name = "RetIntResult", targetNamespace = "http://tempuri.org/", partName = "RetIntResult")
+    public int retInt(
+        @WebParam(name = "inInt", targetNamespace = "http://tempuri.org/", partName = "inInt")
+        int inInt);
+
+    /**
+     * 
+     * @param inShort
+     * @return
+     *     returns short
+     */
+    @WebMethod(operationName = "RetShort", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetShort")
+    @WebResult(name = "RetShortResult", targetNamespace = "http://tempuri.org/", partName = "RetShortResult")
+    public short retShort(
+        @WebParam(name = "inShort", targetNamespace = "http://tempuri.org/", partName = "inShort")
+        short inShort);
+
+    /**
+     * 
+     * @param inLong
+     * @return
+     *     returns long
+     */
+    @WebMethod(operationName = "RetLong", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetLong")
+    @WebResult(name = "RetLongResult", targetNamespace = "http://tempuri.org/", partName = "RetLongResult")
+    public long retLong(
+        @WebParam(name = "inLong", targetNamespace = "http://tempuri.org/", partName = "inLong")
+        long inLong);
+
+    /**
+     * 
+     * @param inObject
+     * @return
+     *     returns java.lang.Object
+     */
+    @WebMethod(operationName = "RetObject", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetObject")
+    @WebResult(name = "RetObjectResult", targetNamespace = "http://tempuri.org/", partName = "RetObjectResult")
+    public Object retObject(
+        @WebParam(name = "inObject", targetNamespace = "http://tempuri.org/", partName = "inObject")
+        Object inObject);
+
+    /**
+     * 
+     * @param inUInt
+     * @return
+     *     returns long
+     */
+    @WebMethod(operationName = "RetUInt", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetUInt")
+    @WebResult(name = "RetUIntResult", targetNamespace = "http://tempuri.org/", partName = "RetUIntResult")
+    public long retUInt(
+        @WebParam(name = "inUInt", targetNamespace = "http://tempuri.org/", partName = "inUInt")
+        long inUInt);
+
+    /**
+     * 
+     * @param inUShort
+     * @return
+     *     returns int
+     */
+    @WebMethod(operationName = "RetUShort", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetUShort")
+    @WebResult(name = "RetUShortResult", targetNamespace = "http://tempuri.org/", partName = "RetUShortResult")
+    public int retUShort(
+        @WebParam(name = "inUShort", targetNamespace = "http://tempuri.org/", partName = "inUShort")
+        int inUShort);
+
+    /**
+     * 
+     * @param inULong
+     * @return
+     *     returns java.math.BigInteger
+     */
+    @WebMethod(operationName = "RetULong", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetULong")
+    @WebResult(name = "RetULongResult", targetNamespace = "http://tempuri.org/", partName = "RetULongResult")
+    public BigInteger retULong(
+        @WebParam(name = "inULong", targetNamespace = "http://tempuri.org/", partName = "inULong")
+        BigInteger inULong);
+
+    /**
+     * 
+     * @param inString
+     * @return
+     *     returns java.lang.String
+     */
+    @WebMethod(operationName = "RetString", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetString")
+    @WebResult(name = "RetStringResult", targetNamespace = "http://tempuri.org/", partName = "RetStringResult")
+    public String retString(
+        @WebParam(name = "inString", targetNamespace = "http://tempuri.org/", partName = "inString")
+        String inString);
+
+    /**
+     * 
+     * @param inGuid
+     * @return
+     *     returns java.lang.String
+     */
+    @WebMethod(operationName = "RetGuid", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetGuid")
+    @WebResult(name = "RetGuidResult", targetNamespace = "http://tempuri.org/", partName = "RetGuidResult")
+    public String retGuid(
+        @WebParam(name = "inGuid", targetNamespace = "http://tempuri.org/", partName = "inGuid")
+        String inGuid);
+
+    /**
+     * 
+     * @param inUri
+     * @return
+     *     returns java.lang.String
+     */
+    @WebMethod(operationName = "RetUri", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetUri")
+    @WebResult(name = "RetUriResult", targetNamespace = "http://tempuri.org/", partName = "RetUriResult")
+    public String retUri(
+        @WebParam(name = "inUri", targetNamespace = "http://tempuri.org/", partName = "inUri")
+        String inUri);
+
+    /**
+     * 
+     * @param inDateTime
+     * @return
+     *     returns javax.xml.datatype.XMLGregorianCalendar
+     */
+    @WebMethod(operationName = "RetDateTime", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime")
+    @WebResult(name = "RetDateTimeResult", targetNamespace = "http://tempuri.org/", partName = "RetDateTimeResult")
+    public XMLGregorianCalendar retDateTime(
+        @WebParam(name = "inDateTime", targetNamespace = "http://tempuri.org/", partName = "inDateTime")
+        XMLGregorianCalendar inDateTime);
+
+    /**
+     * 
+     * @param inDateTimeOffset
+     * @return
+     *     returns org.datacontract.schemas._2004._07.system.DateTimeOffset
+     */
+    @WebMethod(operationName = "RetDateTimeOffset", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetDateTimeOffset")
+    @WebResult(name = "RetDateTimeOffsetResult", targetNamespace = "http://tempuri.org/", partName = "RetDateTimeOffsetResult")
+    public DateTimeOffset retDateTimeOffset(
+        @WebParam(name = "inDateTimeOffset", targetNamespace = "http://tempuri.org/", partName = "inDateTimeOffset")
+        DateTimeOffset inDateTimeOffset);
+
+    /**
+     * 
+     * @param inTimeSpan
+     * @return
+     *     returns javax.xml.datatype.Duration
+     */
+    @WebMethod(operationName = "RetTimeSpan", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan")
+    @WebResult(name = "RetTimeSpanResult", targetNamespace = "http://tempuri.org/", partName = "RetTimeSpanResult")
+    public Duration retTimeSpan(
+        @WebParam(name = "inTimeSpan", targetNamespace = "http://tempuri.org/", partName = "inTimeSpan")
+        Duration inTimeSpan);
+
+    /**
+     * 
+     * @param inQName
+     * @return
+     *     returns javax.xml.namespace.QName
+     */
+    @WebMethod(operationName = "RetQName", action = "http://tempuri.org/IBaseDataTypesDocLitB/RetQName")
+    @WebResult(name = "RetQNameResult", targetNamespace = "http://tempuri.org/", partName = "RetQNameResult")
+    public QName retQName(
+        @WebParam(name = "inQName", targetNamespace = "http://tempuri.org/", partName = "inQName")
+        QName inQName);
+
+}

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-interop/src/org/tempuri/ObjectFactory.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-interop/src/org/tempuri/ObjectFactory.java?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-interop/src/org/tempuri/ObjectFactory.java (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-interop/src/org/tempuri/ObjectFactory.java Mon Jul 11 21:10:36 2011
@@ -0,0 +1,519 @@
+/*
+* 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 org.tempuri;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.datatype.Duration;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+import org.datacontract.schemas._2004._07.system.DateTimeOffset;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the org.tempuri package. 
+ * <p>An ObjectFactory allows you to programatically 
+ * construct new instances of the Java representation 
+ * for XML content. The Java representation of XML 
+ * content can consist of schema derived interfaces 
+ * and classes representing the binding of schema 
+ * type definitions, element declarations and model 
+ * groups.  Factory methods for each of these are 
+ * provided in this class.
+ * 
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+    private final static QName _InChar_QNAME = new QName("http://tempuri.org/", "inChar");
+    private final static QName _RetQNameResult_QNAME = new QName("http://tempuri.org/", "RetQNameResult");
+    private final static QName _InDouble_QNAME = new QName("http://tempuri.org/", "inDouble");
+    private final static QName _RetSingleResult_QNAME = new QName("http://tempuri.org/", "RetSingleResult");
+    private final static QName _RetDoubleResult_QNAME = new QName("http://tempuri.org/", "RetDoubleResult");
+    private final static QName _InULong_QNAME = new QName("http://tempuri.org/", "inULong");
+    private final static QName _RetByteArrayResult_QNAME = new QName("http://tempuri.org/", "RetByteArrayResult");
+    private final static QName _RetDateTimeOffsetResult_QNAME = new QName("http://tempuri.org/", "RetDateTimeOffsetResult");
+    private final static QName _RetUriResult_QNAME = new QName("http://tempuri.org/", "RetUriResult");
+    private final static QName _RetBoolResult_QNAME = new QName("http://tempuri.org/", "RetBoolResult");
+    private final static QName _InUShort_QNAME = new QName("http://tempuri.org/", "inUShort");
+    private final static QName _InDateTime_QNAME = new QName("http://tempuri.org/", "inDateTime");
+    private final static QName _InObject_QNAME = new QName("http://tempuri.org/", "inObject");
+    private final static QName _InSByte_QNAME = new QName("http://tempuri.org/", "inSByte");
+    private final static QName _InQName_QNAME = new QName("http://tempuri.org/", "inQName");
+    private final static QName _InUInt_QNAME = new QName("http://tempuri.org/", "inUInt");
+    private final static QName _InBool_QNAME = new QName("http://tempuri.org/", "inBool");
+    private final static QName _InShort_QNAME = new QName("http://tempuri.org/", "inShort");
+    private final static QName _RetIntResult_QNAME = new QName("http://tempuri.org/", "RetIntResult");
+    private final static QName _RetByteResult_QNAME = new QName("http://tempuri.org/", "RetByteResult");
+    private final static QName _RetUIntResult_QNAME = new QName("http://tempuri.org/", "RetUIntResult");
+    private final static QName _InString_QNAME = new QName("http://tempuri.org/", "inString");
+    private final static QName _RetDateTimeResult_QNAME = new QName("http://tempuri.org/", "RetDateTimeResult");
+    private final static QName _InGuid_QNAME = new QName("http://tempuri.org/", "inGuid");
+    private final static QName _RetULongResult_QNAME = new QName("http://tempuri.org/", "RetULongResult");
+    private final static QName _InInt_QNAME = new QName("http://tempuri.org/", "inInt");
+    private final static QName _InByteArray_QNAME = new QName("http://tempuri.org/", "inByteArray");
+    private final static QName _InFloat_QNAME = new QName("http://tempuri.org/", "inFloat");
+    private final static QName _RetTimeSpanResult_QNAME = new QName("http://tempuri.org/", "RetTimeSpanResult");
+    private final static QName _RetGuidResult_QNAME = new QName("http://tempuri.org/", "RetGuidResult");
+    private final static QName _InLong_QNAME = new QName("http://tempuri.org/", "inLong");
+    private final static QName _InUri_QNAME = new QName("http://tempuri.org/", "inUri");
+    private final static QName _RetStringResult_QNAME = new QName("http://tempuri.org/", "RetStringResult");
+    private final static QName _RetDecimalResult_QNAME = new QName("http://tempuri.org/", "RetDecimalResult");
+    private final static QName _InTimeSpan_QNAME = new QName("http://tempuri.org/", "inTimeSpan");
+    private final static QName _RetLongResult_QNAME = new QName("http://tempuri.org/", "RetLongResult");
+    private final static QName _RetShortResult_QNAME = new QName("http://tempuri.org/", "RetShortResult");
+    private final static QName _InByte_QNAME = new QName("http://tempuri.org/", "inByte");
+    private final static QName _InDateTimeOffset_QNAME = new QName("http://tempuri.org/", "inDateTimeOffset");
+    private final static QName _RetFloatResult_QNAME = new QName("http://tempuri.org/", "RetFloatResult");
+    private final static QName _RetCharResult_QNAME = new QName("http://tempuri.org/", "RetCharResult");
+    private final static QName _InSingle_QNAME = new QName("http://tempuri.org/", "inSingle");
+    private final static QName _RetSByteResult_QNAME = new QName("http://tempuri.org/", "RetSByteResult");
+    private final static QName _RetUShortResult_QNAME = new QName("http://tempuri.org/", "RetUShortResult");
+    private final static QName _RetObjectResult_QNAME = new QName("http://tempuri.org/", "RetObjectResult");
+    private final static QName _InDecimal_QNAME = new QName("http://tempuri.org/", "inDecimal");
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.tempuri
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inChar")
+    public JAXBElement<Integer> createInChar(Integer value) {
+        return new JAXBElement<Integer>(_InChar_QNAME, Integer.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetQNameResult")
+    public JAXBElement<QName> createRetQNameResult(QName value) {
+        return new JAXBElement<QName>(_RetQNameResult_QNAME, QName.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inDouble")
+    public JAXBElement<Double> createInDouble(Double value) {
+        return new JAXBElement<Double>(_InDouble_QNAME, Double.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetSingleResult")
+    public JAXBElement<Float> createRetSingleResult(Float value) {
+        return new JAXBElement<Float>(_RetSingleResult_QNAME, Float.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetDoubleResult")
+    public JAXBElement<Double> createRetDoubleResult(Double value) {
+        return new JAXBElement<Double>(_RetDoubleResult_QNAME, Double.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inULong")
+    public JAXBElement<BigInteger> createInULong(BigInteger value) {
+        return new JAXBElement<BigInteger>(_InULong_QNAME, BigInteger.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetByteArrayResult")
+    public JAXBElement<byte[]> createRetByteArrayResult(byte[] value) {
+        return new JAXBElement<byte[]>(_RetByteArrayResult_QNAME, byte[].class, null, ((byte[]) value));
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link DateTimeOffset }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetDateTimeOffsetResult")
+    public JAXBElement<DateTimeOffset> createRetDateTimeOffsetResult(DateTimeOffset value) {
+        return new JAXBElement<DateTimeOffset>(_RetDateTimeOffsetResult_QNAME, DateTimeOffset.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetUriResult")
+    public JAXBElement<String> createRetUriResult(String value) {
+        return new JAXBElement<String>(_RetUriResult_QNAME, String.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetBoolResult")
+    public JAXBElement<Boolean> createRetBoolResult(Boolean value) {
+        return new JAXBElement<Boolean>(_RetBoolResult_QNAME, Boolean.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inUShort")
+    public JAXBElement<Integer> createInUShort(Integer value) {
+        return new JAXBElement<Integer>(_InUShort_QNAME, Integer.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inDateTime")
+    public JAXBElement<XMLGregorianCalendar> createInDateTime(XMLGregorianCalendar value) {
+        return new JAXBElement<XMLGregorianCalendar>(_InDateTime_QNAME, XMLGregorianCalendar.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inObject")
+    public JAXBElement<Object> createInObject(Object value) {
+        return new JAXBElement<Object>(_InObject_QNAME, Object.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inSByte")
+    public JAXBElement<Byte> createInSByte(Byte value) {
+        return new JAXBElement<Byte>(_InSByte_QNAME, Byte.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inQName")
+    public JAXBElement<QName> createInQName(QName value) {
+        return new JAXBElement<QName>(_InQName_QNAME, QName.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inUInt")
+    public JAXBElement<Long> createInUInt(Long value) {
+        return new JAXBElement<Long>(_InUInt_QNAME, Long.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inBool")
+    public JAXBElement<Boolean> createInBool(Boolean value) {
+        return new JAXBElement<Boolean>(_InBool_QNAME, Boolean.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inShort")
+    public JAXBElement<Short> createInShort(Short value) {
+        return new JAXBElement<Short>(_InShort_QNAME, Short.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetIntResult")
+    public JAXBElement<Integer> createRetIntResult(Integer value) {
+        return new JAXBElement<Integer>(_RetIntResult_QNAME, Integer.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetByteResult")
+    public JAXBElement<Short> createRetByteResult(Short value) {
+        return new JAXBElement<Short>(_RetByteResult_QNAME, Short.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetUIntResult")
+    public JAXBElement<Long> createRetUIntResult(Long value) {
+        return new JAXBElement<Long>(_RetUIntResult_QNAME, Long.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inString")
+    public JAXBElement<String> createInString(String value) {
+        return new JAXBElement<String>(_InString_QNAME, String.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetDateTimeResult")
+    public JAXBElement<XMLGregorianCalendar> createRetDateTimeResult(XMLGregorianCalendar value) {
+        return new JAXBElement<XMLGregorianCalendar>(_RetDateTimeResult_QNAME, XMLGregorianCalendar.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inGuid")
+    public JAXBElement<String> createInGuid(String value) {
+        return new JAXBElement<String>(_InGuid_QNAME, String.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetULongResult")
+    public JAXBElement<BigInteger> createRetULongResult(BigInteger value) {
+        return new JAXBElement<BigInteger>(_RetULongResult_QNAME, BigInteger.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inInt")
+    public JAXBElement<Integer> createInInt(Integer value) {
+        return new JAXBElement<Integer>(_InInt_QNAME, Integer.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inByteArray")
+    public JAXBElement<byte[]> createInByteArray(byte[] value) {
+        return new JAXBElement<byte[]>(_InByteArray_QNAME, byte[].class, null, ((byte[]) value));
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inFloat")
+    public JAXBElement<Float> createInFloat(Float value) {
+        return new JAXBElement<Float>(_InFloat_QNAME, Float.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Duration }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetTimeSpanResult")
+    public JAXBElement<Duration> createRetTimeSpanResult(Duration value) {
+        return new JAXBElement<Duration>(_RetTimeSpanResult_QNAME, Duration.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetGuidResult")
+    public JAXBElement<String> createRetGuidResult(String value) {
+        return new JAXBElement<String>(_RetGuidResult_QNAME, String.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inLong")
+    public JAXBElement<Long> createInLong(Long value) {
+        return new JAXBElement<Long>(_InLong_QNAME, Long.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inUri")
+    public JAXBElement<String> createInUri(String value) {
+        return new JAXBElement<String>(_InUri_QNAME, String.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetStringResult")
+    public JAXBElement<String> createRetStringResult(String value) {
+        return new JAXBElement<String>(_RetStringResult_QNAME, String.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetDecimalResult")
+    public JAXBElement<BigDecimal> createRetDecimalResult(BigDecimal value) {
+        return new JAXBElement<BigDecimal>(_RetDecimalResult_QNAME, BigDecimal.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Duration }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inTimeSpan")
+    public JAXBElement<Duration> createInTimeSpan(Duration value) {
+        return new JAXBElement<Duration>(_InTimeSpan_QNAME, Duration.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetLongResult")
+    public JAXBElement<Long> createRetLongResult(Long value) {
+        return new JAXBElement<Long>(_RetLongResult_QNAME, Long.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetShortResult")
+    public JAXBElement<Short> createRetShortResult(Short value) {
+        return new JAXBElement<Short>(_RetShortResult_QNAME, Short.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inByte")
+    public JAXBElement<Short> createInByte(Short value) {
+        return new JAXBElement<Short>(_InByte_QNAME, Short.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link DateTimeOffset }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inDateTimeOffset")
+    public JAXBElement<DateTimeOffset> createInDateTimeOffset(DateTimeOffset value) {
+        return new JAXBElement<DateTimeOffset>(_InDateTimeOffset_QNAME, DateTimeOffset.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetFloatResult")
+    public JAXBElement<Float> createRetFloatResult(Float value) {
+        return new JAXBElement<Float>(_RetFloatResult_QNAME, Float.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetCharResult")
+    public JAXBElement<Integer> createRetCharResult(Integer value) {
+        return new JAXBElement<Integer>(_RetCharResult_QNAME, Integer.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inSingle")
+    public JAXBElement<Float> createInSingle(Float value) {
+        return new JAXBElement<Float>(_InSingle_QNAME, Float.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetSByteResult")
+    public JAXBElement<Byte> createRetSByteResult(Byte value) {
+        return new JAXBElement<Byte>(_RetSByteResult_QNAME, Byte.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetUShortResult")
+    public JAXBElement<Integer> createRetUShortResult(Integer value) {
+        return new JAXBElement<Integer>(_RetUShortResult_QNAME, Integer.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "RetObjectResult")
+    public JAXBElement<Object> createRetObjectResult(Object value) {
+        return new JAXBElement<Object>(_RetObjectResult_QNAME, Object.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://tempuri.org/", name = "inDecimal")
+    public JAXBElement<BigDecimal> createInDecimal(BigDecimal value) {
+        return new JAXBElement<BigDecimal>(_InDecimal_QNAME, BigDecimal.class, null, value);
+    }
+
+}

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/README
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/README?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/README (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/README Mon Jul 11 21:10:36 2011
@@ -0,0 +1,24 @@
+This example shows how to use Axis2/JAXWS in a servlet container. You must 
+have Maven 2.x installed to build this example.  To build type:
+
+$ mvn install war:war
+
+Rename the resultant war as jaxws-samples.war and drop it into any servlet engine. 
+The WSDL file for the service should be viewable at:
+
+http://yourhost:port/jaxws-samples/services/EchoService12.EchoService12Port
+http://yourhost:port/jaxws-samples/services/EchoService.EchoServicePort
+http://yourhost:port/jaxws-samples/services/MtomSampleService12.MtomSamplePort
+http://yourhost:port/jaxws-samples/services/MtomSampleService.MtomSamplePort
+http://yourhost:port/jaxws-samples/services/PingService12.PingService12Port
+http://yourhost:port/jaxws-samples/services/PingService.PingServicePort
+
+Here's the main page with some description of the tests:
+
+http://yourhost:port/jaxws-samples/
+
+You can use the sample jsp pages to drive/test the web service"
+
+http://yourhost:port/jaxws-samples/demoMTOM
+http://yourhost:port/jaxws-samples/demoEchoPing
+

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/pom.xml?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/pom.xml (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/pom.xml Mon Jul 11 21:10:36 2011
@@ -0,0 +1,182 @@
+<!--
+  ~ 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-samples</artifactId>
+    <name>JAXWS Samples - Echo, Ping, MTOM</name>
+    <version>1.6.0</version>
+    <packaging>war</packaging>
+    <dependencies>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.3</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-kernel</artifactId>
+            <version>1.6.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-jaxws</artifactId>
+            <version>1.6.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-codegen</artifactId>
+            <version>1.6.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-adb</artifactId>
+            <version>1.6.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>addressing</artifactId>
+            <version>1.6.0</version>
+            <type>mar</type>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.xml.ws</groupId>
+            <artifactId>jaxws-rt</artifactId>
+            <version>2.1.3</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.xml.ws</groupId>
+                    <artifactId>jaxws-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.sun.xml.bind</groupId>
+                    <artifactId>jaxb-impl</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.sun.xml.messaging.saaj</groupId>
+                    <artifactId>saaj-impl</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.sun.xml.stream.buffer</groupId>
+                    <artifactId>streambuffer</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.sun.xml.stream</groupId>
+                    <artifactId>sjsxp</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.jvnet.staxex</groupId>
+                    <artifactId>stax-ex</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.sun.org.apache.xml.internal</groupId>
+                    <artifactId>resolver</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.jvnet</groupId>
+                    <artifactId>mimepull</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                    <compilerVersion>1.5</compilerVersion>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.2</version>
+                <executions>
+                    <execution>
+                        <id>copy-modules</id>
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${project.build.directory}/modules</outputDirectory>
+                            <includeTypes>mar</includeTypes>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <version>2.1.1</version>
+                <configuration>
+                    <warName>jaxws-samples</warName>
+                    <warSourceDirectory>${basedir}/src/webapp</warSourceDirectory>
+                    <archive>
+                        <addMavenDescriptor>false</addMavenDescriptor>
+                    </archive>
+                    <webResources>
+                        <resource>
+                            <directory>${project.build.directory}/modules/</directory>
+                            <targetPath>WEB-INF/lib</targetPath>
+                            <includes>
+                                <include>addressing*.mar</include>
+                            </includes>
+                        </resource>
+                    </webResources>
+                </configuration>
+            </plugin>
+        </plugins>
+        <sourceDirectory>src/main</sourceDirectory>
+        <testSourceDirectory>src/test</testSourceDirectory>
+        <resources>
+            <resource>
+                <directory>src/main</directory>
+                <includes>
+                    <include>**/*.xml</include>
+                </includes>
+            </resource>
+        </resources>
+        <testResources>
+            <testResource>
+                <directory>src/test</directory>
+                <includes>
+                    <include>**/*.xml</include>
+                    <include>**/*.properties</include>
+                    <include>**/*.wsdl</include>
+                </includes>
+            </testResource>
+        </testResources>
+    </build>
+    <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-samples/src/main/org/apache/axis2/jaxws/samples/client/SampleClient.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/SampleClient.java?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/SampleClient.java (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/SampleClient.java Mon Jul 11 21:10:36 2011
@@ -0,0 +1,554 @@
+/*
+ * 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 org.apache.axis2.jaxws.samples.client;
+
+import org.apache.axis2.jaxws.samples.client.echo.EchoService12PortProxy;
+import org.apache.axis2.jaxws.samples.client.echo.EchoServiceCallbackHandler;
+import org.apache.axis2.jaxws.samples.client.echo.EchoServicePortProxy;
+import org.apache.axis2.jaxws.samples.client.ping.PingService12PortProxy;
+import org.apache.axis2.jaxws.samples.client.ping.PingServicePortProxy;
+import org.apache.axis2.jaxws.samples.echo.EchoStringInput;
+import org.apache.axis2.jaxws.samples.echo.EchoStringResponse;
+import org.apache.axis2.jaxws.samples.ping.ObjectFactory;
+import org.apache.axis2.jaxws.samples.ping.PingStringInput;
+import org.apache.axis2.jaxws.ClientConfigurationFactory;
+import org.apache.axis2.metadata.registry.MetadataFactoryRegistry;
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.deployment.FileSystemConfigurator;
+import org.apache.axis2.context.ConfigurationContextFactory;
+import org.apache.axis2.context.ConfigurationContext;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import java.util.concurrent.Future;
+import java.net.URL;
+
+/**
+ * SampleClient
+ * main entry point for thinclient jar sample
+ * and worker class to communicate with the services
+ */
+public class SampleClient {
+
+    private int timeout = 240;                 // Error timeout in seconds
+    private static final int SLEEPER = 2;     // Poll delay for async
+    private String urlHost = "localhost";
+    private String urlPort = "8080";
+    private static final String CONTEXT_BASE = "/jaxws-samples/services/";
+    private static final String PING_CONTEXT = CONTEXT_BASE + "PingService.PingServicePort";
+    private static final String ECHO_CONTEXT = CONTEXT_BASE + "EchoService.EchoServicePort";
+    private static final String PING_CONTEXT12 = CONTEXT_BASE + "PingService12.PingService12Port";
+    private static final String ECHO_CONTEXT12 = CONTEXT_BASE + "EchoService12.EchoService12Port";
+    private String urlSuffix = "";
+    private String message = "HELLO";
+    private String servtype = "async";
+    private String uriString = "http://" + urlHost + ":" + urlPort;
+    private Boolean wireasync = true;
+    private Boolean soap12 = false;
+    private int count = 1;
+    private ClientConfigurationFactory clientConfigurationFactory = null;
+
+    /**
+     * main()
+     * <p/>
+     * see printusage() for command-line arguments
+     *
+     * @param args
+     */
+    public static void main(String[] args) {
+        SampleClient sample = new SampleClient();
+        sample.parseArgs(args);
+        sample.CallService();
+    }
+
+    /**
+     * parseArgs Read and interpret the command-line arguments
+     *
+     * @param args
+     */
+    public void parseArgs(String[] args) {
+        if (args.length >= 1) {
+            for (int i = 0; i < args.length; i++) {
+                try {
+                    if ('-' == args[i].charAt(0)) {
+                        switch (args[i].charAt(1)) {
+                            case '?':
+                                printUsage(null);
+                                System.exit(0);
+                                break;
+                            case 'h':
+                            case 'H':
+                                urlHost = args[++i];
+                                break;
+                            case 'p':
+                            case 'P':
+                                urlPort = args[++i];
+                                break;
+                            case 'f':
+                            case 'F':
+                                urlSuffix = args[++i];
+                                break;
+                            case 'm':
+                            case 'M':
+                                message = args[++i];
+                                break;
+                            case 's':
+                            case 'S':
+                                servtype = args[++i];
+                                if ((!servtype.equalsIgnoreCase("async")) &&
+                                        (!servtype.equalsIgnoreCase("echo")) &&
+                                        (!servtype.equalsIgnoreCase("ping"))) {
+                                    System.out
+                                            .println("ERROR: Attempt to invoke a service that is not supported");
+                                    printUsage(null);
+                                    System.exit(0);
+                                }
+                                break;
+                            case 't':
+                            case 'T':
+                                timeout = new Integer(args[++i]).intValue();
+                                break;
+                            case 'c':
+                            case 'C':
+                                count = new Integer(args[++i]).intValue();
+                                break;
+                            case 'w':
+                            case 'W':
+                                String parm = args[++i];
+                                if (parm.equalsIgnoreCase("y")) {
+                                    wireasync = true;
+                                } else {
+                                    wireasync = false;
+                                }
+                                break;
+                            case '1':
+                                soap12 = false;
+                                break;
+                            case '2':
+                                soap12 = true;
+                                break;
+                            default:
+                                printUsage(args[i]);
+                                System.exit(0);
+                                break;
+                        }
+                    }
+
+                } catch (Exception e) {
+                    System.out.println("Invalid option format.");
+                    printUsage(null);
+                    System.exit(0);
+                }
+                uriString = "http://" + urlHost + ":" + urlPort;
+            }
+        }
+    }
+
+    /**
+     * printUsage Print usage help to output
+     *
+     * @param invalidOpt -
+     *                   if non-null, is the invalid parameter
+     */
+    private void printUsage(String invalidOpt) {
+        if (null != invalidOpt) {
+            System.out.println("Invalid Option: " + invalidOpt);
+        }
+        System.out.println("Usage:");
+        System.out
+                .println("  runSampleSei -h [hostname] -p [port] -f [urlSuffix] -m [testMessage] -s [echo|ping|async] -t [timeout] -w [y|n] -c [count] -1 -2");
+        System.out.println("Default values:");
+        System.out.println("  hostname = localhost");
+        System.out.println("  port = 8080");
+        System.out.println("  testMessage = HELLO");
+        System.out.println("  urlSuffix = /jaxws-samples/services/EchoService.EchoServicePort");
+        System.out.println("  service = async");
+        System.out.println("  timeout = 240 (seconds)");
+        System.out.println("  wireasync = y (yes)");
+        System.out.println("  count = 1");
+        System.out.println("  -1 = soap 1.1 (default)");
+        System.out.println("  -2 = soap 1.2");
+    }
+
+    /**
+     * CallService Parms were already read. Now call the service proxy classes
+     */
+    void CallService() {
+        for (int index = 0; index < count; index++) {
+            if (soap12) {
+                if (servtype.equalsIgnoreCase("echo")) {
+                    if (0 == urlSuffix.length()) {
+                        urlSuffix = ECHO_CONTEXT12;
+                    }
+                    buildEcho12(uriString + urlSuffix, null, message);
+                } else if (servtype.equalsIgnoreCase("async")) {
+                    if (0 == urlSuffix.length()) {
+                        urlSuffix = ECHO_CONTEXT12;
+                    }
+
+                    if (clientConfigurationFactory == null) {
+                        ClientConfigurationFactory factory = initConfigurationFactory();
+                        buildAsync12(uriString + urlSuffix, null, message, timeout, wireasync);
+                        destroyConfigurationFactory(factory);
+                    } else {
+                        buildAsync12(uriString + urlSuffix, null, message, timeout, wireasync);
+                    }
+                } else {
+                    if (0 == urlSuffix.length()) {
+                        urlSuffix = PING_CONTEXT12;
+                    }
+                    buildPing12(uriString + urlSuffix, null, message);
+                }
+            } else {
+                if (servtype.equalsIgnoreCase("echo")) {
+                    if (0 == urlSuffix.length()) {
+                        urlSuffix = ECHO_CONTEXT;
+                    }
+                    buildEcho(uriString + urlSuffix, null, message);
+                } else if (servtype.equalsIgnoreCase("async")) {
+                    if (0 == urlSuffix.length()) {
+                        urlSuffix = ECHO_CONTEXT;
+                    }
+                    if (clientConfigurationFactory == null) {
+                        ClientConfigurationFactory factory = initConfigurationFactory();
+                        buildAsync(uriString + urlSuffix, null, message, timeout, wireasync);
+                        destroyConfigurationFactory(factory);
+                    } else {
+                        buildAsync(uriString + urlSuffix, null, message, timeout, wireasync);
+                    }
+                } else {
+                    if (0 == urlSuffix.length()) {
+                        urlSuffix = PING_CONTEXT;
+                    }
+                    buildPing(uriString + urlSuffix, null, message);
+                }
+            }
+        }
+    }
+
+    private ClientConfigurationFactory initConfigurationFactory() {
+        String axis2xml = System.getProperty("org.apache.axis2.jaxws.config.path");
+        if (axis2xml == null) {
+            throw new RuntimeException("Please set org.apache.axis2.jaxws.config.path system property to a valid axis2.xml file (with addressing module enabled)");
+        }
+        ClientConfigurationFactory factory = null;
+        try {
+            FileSystemConfigurator configurator = new FileSystemConfigurator(null, axis2xml);
+            factory = new ClientConfigurationFactory(configurator);
+            MetadataFactoryRegistry.setFactory(ClientConfigurationFactory.class, factory);
+        } catch (AxisFault axisFault) {
+            throw new RuntimeException(axisFault);
+        }
+        return factory;
+    }
+
+    private void destroyConfigurationFactory(ClientConfigurationFactory factory) {
+        try {
+            factory.getClientConfigurationContext().terminate();
+        } catch (AxisFault axisFault) {
+            throw new RuntimeException(axisFault);
+        }
+    }
+
+    /**
+     * buildPing
+     * Call the ping service
+     *
+     * @param endpointURL The Service endpoint URL
+     * @param input       The message string
+     * @return Boolean true if the ping works
+     */
+    public boolean buildPing(String endpointURL, URL wsdlURL, String input) {
+        try {
+            PingServicePortProxy ping = new PingServicePortProxy(wsdlURL);
+            ping._getDescriptor().setEndpoint(endpointURL);
+            System.out.println(">> CLIENT: SEI Ping to " + endpointURL);
+
+            // Configure SOAPAction properties
+            BindingProvider bp = (BindingProvider) (ping._getDescriptor()
+                    .getProxy());
+            bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
+                    endpointURL);
+            bp.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY,
+                    Boolean.TRUE);
+            bp.getRequestContext().put(BindingProvider.SOAPACTION_URI_PROPERTY,
+                    "pingOperation");
+
+            // Build the input object
+            PingStringInput pingParm =
+                    new ObjectFactory().createPingStringInput();
+            pingParm.setPingInput(input);
+
+            // Call the service
+            ping.pingOperation(pingParm);
+            System.out.println(">> CLIENT: SEI Ping SUCCESS.");
+            return true;
+        } catch (Exception e) {
+            System.out.println(">> CLIENT: ERROR: SEI Ping EXCEPTION.");
+            e.printStackTrace();
+            return false;
+        }
+    }
+
+    /**
+     * buildEcho
+     * Call the Echo service (Sync)
+     *
+     * @param endpointURL The Service endpoint URL
+     * @param input       The message string
+     * @return String from the service
+     */
+    public String buildEcho(String endpointURL, URL wsdlURL, String input) {
+        String response = "ERROR!:";
+        try {
+            EchoServicePortProxy echo = new EchoServicePortProxy(wsdlURL);
+            echo._getDescriptor().setEndpoint(endpointURL);
+
+            // Configure SOAPAction properties
+            BindingProvider bp = (BindingProvider) (echo._getDescriptor()
+                    .getProxy());
+            bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
+                    endpointURL);
+            bp.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY,
+                    Boolean.TRUE);
+            bp.getRequestContext().put(BindingProvider.SOAPACTION_URI_PROPERTY,
+                    "echoOperation");
+
+            // Build the input object
+            EchoStringInput echoParm =
+                    new org.apache.axis2.jaxws.samples.echo.ObjectFactory().createEchoStringInput();
+            echoParm.setEchoInput(input);
+            System.out.println(">> CLIENT: SEI Echo to " + endpointURL);
+
+            // Call the service
+            response = echo.echoOperation(echoParm).getEchoResponse();
+            System.out.println(">> CLIENT: SEI Echo invocation complete.");
+            System.out.println(">> CLIENT: SEI Echo response is: " + response);
+        } catch (Exception e) {
+            System.out.println(">> CLIENT: ERROR: SEI Echo EXCEPTION.");
+            e.printStackTrace();
+            return response + ">>>ECHO SERVICE EXCEPTION<<< ";
+        }
+        return response;
+    }
+
+    /**
+     * buildAsync
+     * Call the Echo service (Async)
+     *
+     * @param endpointURL The Service endpoint URL
+     * @param input       The message string
+     * @param waiting     The Async timeout
+     * @param wireasync   true to use Async on the wire
+     * @return String from the service
+     */
+    public String buildAsync(String endpointURL, URL wsdlURL, String input, int waiting, Boolean wireasync) {
+        String response = "ERROR!:";
+        try {
+            EchoServicePortProxy echo = new EchoServicePortProxy(wsdlURL);
+            echo._getDescriptor().setEndpoint(endpointURL);
+
+            // Configure SOAPAction properties
+            BindingProvider bp = (BindingProvider) (echo._getDescriptor()
+                    .getProxy());
+            bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
+                    endpointURL);
+            bp.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY,
+                    Boolean.TRUE);
+            bp.getRequestContext().put(BindingProvider.SOAPACTION_URI_PROPERTY,
+                    "echoOperation");
+            if (wireasync) {
+                bp.getRequestContext().put(org.apache.axis2.jaxws.util.Constants.USE_ASYNC_MEP,
+                        Boolean.TRUE);
+            }
+
+            // Set up the callback handler and create the input object
+            EchoServiceCallbackHandler callbackHandler = new EchoServiceCallbackHandler();
+            EchoStringInput echoParm =
+                    new org.apache.axis2.jaxws.samples.echo.ObjectFactory().createEchoStringInput();
+            echoParm.setEchoInput(input);
+            System.out.println(">> CLIENT: SEI Async to " + endpointURL);
+
+            // Call the service
+            Future<?> resp = echo.echoOperationAsync(echoParm, callbackHandler);
+            Thread.sleep(1000);
+            while (!resp.isDone()) {
+                // Check for timeout
+                if (waiting <= 0) {
+                    System.out
+                            .println(">> CLIENT: ERROR - SEI Async Timeout waiting for reply.");
+                    return response + "Async timeout waiting for reply.";
+                }
+                System.out
+                        .println(">> CLIENT: SEI Async invocation still not complete");
+                Thread.sleep(1000 * SLEEPER);
+                waiting -= SLEEPER;
+            }
+
+            // Get the response and print it, then return
+            EchoStringResponse esr = callbackHandler.getResponse();
+            System.out.println(">> CLIENT: SEI Async invocation complete.");
+            if (null != esr) {
+                response = esr.getEchoResponse();
+                if (null != response) {
+                    System.out.println(">> CLIENT: SEI Async response is: " + response);
+                }
+            }
+        } catch (Exception e) {
+            System.out.println(">> CLIENT: ERROR: SEI Async EXCEPTION.");
+            e.printStackTrace();
+            return response + ">>>ASYNC SERVICE EXCEPTION<<<";
+        }
+        return response;
+    }
+
+    /**
+     * buildPing12
+     * Call the ping service
+     *
+     * @param endpointURL The Service endpoint URL
+     * @param input       The message string
+     * @return Boolean true if the ping works
+     */
+    public boolean buildPing12(String endpointURL, URL wsdlURL, String input) {
+        try {
+            PingService12PortProxy ping = new PingService12PortProxy(wsdlURL);
+            ping._getDescriptor().setEndpoint(endpointURL);
+            System.out.println(">> CLIENT: SEI Ping to " + endpointURL);
+
+            // Build the input object
+            PingStringInput pingParm =
+                    new org.apache.axis2.jaxws.samples.ping.ObjectFactory().createPingStringInput();
+            pingParm.setPingInput(input);
+
+            // Call the service
+            ping.pingOperation(pingParm);
+            System.out.println(">> CLIENT: SEI Ping SUCCESS.");
+            return true;
+        } catch (Exception e) {
+            System.out.println(">> CLIENT: ERROR: SEI Ping EXCEPTION.");
+            e.printStackTrace();
+            return false;
+        }
+    }
+
+    /**
+     * buildEcho12
+     * Call the Echo service (Sync)
+     *
+     * @param endpointURL The Service endpoint URL
+     * @param input       The message string
+     * @return String from the service
+     */
+    public String buildEcho12(String endpointURL, URL wsdlURL, String input) {
+        String response = "ERROR!:";
+        try {
+            EchoService12PortProxy echo = new EchoService12PortProxy(wsdlURL);
+            echo._getDescriptor().setEndpoint(endpointURL);
+
+            // Build the input object
+            EchoStringInput echoParm =
+                    new org.apache.axis2.jaxws.samples.echo.ObjectFactory().createEchoStringInput();
+            echoParm.setEchoInput(input);
+
+            System.out.println(">> CLIENT: SEI Echo to " + endpointURL);
+
+            // Call the service
+            response = echo.echoOperation(echoParm).getEchoResponse();
+
+            System.out.println(">> CLIENT: SEI Echo invocation complete.");
+            System.out.println(">> CLIENT: SEI Echo response is: " + response);
+        } catch (Exception e) {
+            System.out.println(">> CLIENT: ERROR: SEI Echo EXCEPTION.");
+            e.printStackTrace();
+            return response + ">>>ECHO SERVICE EXCEPTION<<< ";
+        }
+        return response;
+    }
+
+    /**
+     * buildAsync12
+     * Call the Echo service (Async)
+     *
+     * @param endpointURL The Service endpoint URL
+     * @param input       The message string
+     * @param waiting     The Async timeout
+     * @param wireasync   true to use Async on the wire
+     * @return String from the service
+     */
+    public String buildAsync12(String endpointURL, URL wsdlURL, String input, int waiting, Boolean wireasync) {
+        String response = "ERROR!:";
+        try {
+            EchoService12PortProxy echo = new EchoService12PortProxy(wsdlURL);
+            echo._getDescriptor().setEndpoint(endpointURL);
+
+            // Configure over-the-wire async if specified
+            if (wireasync) {
+                BindingProvider bp = (BindingProvider) (echo._getDescriptor()
+                        .getProxy());
+                bp.getRequestContext().put(org.apache.axis2.jaxws.util.Constants.USE_ASYNC_MEP,
+                        Boolean.TRUE);
+            }
+
+            // Set up the callback handler and create the input object
+            EchoServiceCallbackHandler callbackHandler = new EchoServiceCallbackHandler();
+            EchoStringInput echoParm =
+                    new org.apache.axis2.jaxws.samples.echo.ObjectFactory().createEchoStringInput();
+            echoParm.setEchoInput(input);
+            System.out.println(">> CLIENT: SEI Async to " + endpointURL);
+
+            // Call the service
+            Future<?> resp = echo.echoOperationAsync(echoParm, callbackHandler);
+            Thread.sleep(1000);
+            while (!resp.isDone()) {
+                // Check for timeout
+                if (waiting <= 0) {
+                    System.out
+                            .println(">> CLIENT: ERROR - SEI Async Timeout waiting for reply.");
+                    return response + "Async timeout waiting for reply.";
+                }
+                System.out
+                        .println(">> CLIENT: SEI Async invocation still not complete");
+                Thread.sleep(1000 * SLEEPER);
+                waiting -= SLEEPER;
+            }
+
+            // Get the response and print it, then return
+            EchoStringResponse esr = callbackHandler.getResponse();
+            System.out.println(">> CLIENT: SEI Async invocation complete.");
+            if (null != esr) {
+                response = esr.getEchoResponse();
+                if (null != response) {
+                    System.out.println(">> CLIENT: SEI Async response is: " + response);
+                }
+            }
+
+        } catch (Exception e) {
+            System.out.println(">> CLIENT: ERROR: SEI Async EXCEPTION.");
+            e.printStackTrace();
+            return response + ">>>ASYNC SERVICE EXCEPTION<<<";
+        }
+        return response;
+    }
+
+    public void setClientConfigurationFactory(ClientConfigurationFactory clientConfigurationFactory) {
+        this.clientConfigurationFactory = clientConfigurationFactory;
+    }
+}
+	
\ No newline at end of file

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService.java?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService.java (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService.java Mon Jul 11 21:10:36 2011
@@ -0,0 +1,61 @@
+/*
+ * 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 org.apache.axis2.jaxws.samples.client.echo;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+
+@WebServiceClient(name = "EchoService", targetNamespace = "http://org/apache/axis2/jaxws/samples/echo/", wsdlLocation = "WEB-INF/wsdl/Echo.wsdl")
+public class EchoService
+        extends Service {
+
+    private final static URL ECHOSERVICE_WSDL_LOCATION;
+
+    static {
+        URL url = null;
+        try {
+            url = new URL("file:/WEB-INF/wsdl/Echo.wsdl");
+        } catch (MalformedURLException e) {
+            e.printStackTrace();
+        }
+        ECHOSERVICE_WSDL_LOCATION = url;
+    }
+
+    public EchoService(URL wsdlLocation, QName serviceName) {
+        super(wsdlLocation, serviceName);
+    }
+
+    public EchoService() {
+        super(ECHOSERVICE_WSDL_LOCATION, new QName("http://org/apache/axis2/jaxws/samples/echo/", "EchoService"));
+    }
+
+    /**
+     * @return returns EchoServicePortType
+     */
+    @WebEndpoint(name = "EchoServicePort")
+    public EchoServicePortTypeClient getEchoServicePort() {
+        return (EchoServicePortTypeClient) super.getPort(new QName("http://org/apache/axis2/jaxws/samples/echo/", "EchoServicePort"), EchoServicePortTypeClient.class);
+    }
+
+}

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12.java?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12.java (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12.java Mon Jul 11 21:10:36 2011
@@ -0,0 +1,61 @@
+/*
+ * 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 org.apache.axis2.jaxws.samples.client.echo;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+
+@WebServiceClient(name = "EchoService12", targetNamespace = "http://org/apache/axis2/jaxws/samples/echo/", wsdlLocation = "WEB-INF/wsdl/Echo12.wsdl")
+public class EchoService12
+        extends Service {
+
+    private final static URL ECHOSERVICE12_WSDL_LOCATION;
+
+    static {
+        URL url = null;
+        try {
+            url = new URL("file:/WEB-INF/wsdl/Echo12.wsdl");
+        } catch (MalformedURLException e) {
+            e.printStackTrace();
+        }
+        ECHOSERVICE12_WSDL_LOCATION = url;
+    }
+
+    public EchoService12(URL wsdlLocation, QName serviceName) {
+        super(wsdlLocation, serviceName);
+    }
+
+    public EchoService12() {
+        super(ECHOSERVICE12_WSDL_LOCATION, new QName("http://org/apache/axis2/jaxws/samples/echo/", "EchoService12"));
+    }
+
+    /**
+     * @return returns EchoService12PortType
+     */
+    @WebEndpoint(name = "EchoService12Port")
+    public EchoService12PortTypeClient getEchoService12Port() {
+        return (EchoService12PortTypeClient) super.getPort(new QName("http://org/apache/axis2/jaxws/samples/echo/", "EchoService12Port"), EchoService12PortTypeClient.class);
+    }
+
+}

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12PortProxy.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12PortProxy.java?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12PortProxy.java (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12PortProxy.java Mon Jul 11 21:10:36 2011
@@ -0,0 +1,119 @@
+/*
+ * 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 org.apache.axis2.jaxws.samples.client.echo;
+
+import org.apache.axis2.jaxws.samples.echo.EchoStringInput;
+import org.apache.axis2.jaxws.samples.echo.EchoStringResponse;
+
+import javax.xml.namespace.QName;
+import javax.xml.transform.Source;
+import javax.xml.ws.AsyncHandler;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Dispatch;
+import javax.xml.ws.Response;
+import javax.xml.ws.Service;
+import java.net.URL;
+import java.util.concurrent.Future;
+
+public class EchoService12PortProxy {
+
+    protected Descriptor _descriptor;
+
+    public class Descriptor {
+        private EchoService12 _service = null;
+        private org.apache.axis2.jaxws.samples.client.echo.EchoService12PortTypeClient _proxy = null;
+        private Dispatch<Source> _dispatch = null;
+
+        public Descriptor() {
+            _service = new EchoService12();
+            initCommon();
+        }
+
+        public Descriptor(URL wsdlLocation, QName serviceName) {
+            _service = new EchoService12(wsdlLocation, serviceName);
+            initCommon();
+        }
+
+        private void initCommon() {
+            _proxy = _service.getEchoService12Port();
+        }
+
+        public org.apache.axis2.jaxws.samples.client.echo.EchoService12PortTypeClient getProxy() {
+            return _proxy;
+        }
+
+        public Dispatch<Source> getDispatch() {
+            if (_dispatch == null) {
+                QName portQName = new QName("http://org/apache/axis2/jaxws/samples/echo/", "EchoService12Port");
+                _dispatch = _service.createDispatch(portQName, Source.class, Service.Mode.PAYLOAD);
+
+                String proxyEndpointUrl = getEndpoint();
+                BindingProvider bp = (BindingProvider) _dispatch;
+                String dispatchEndpointUrl = (String) bp.getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+                if (!dispatchEndpointUrl.equals(proxyEndpointUrl))
+                    bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, proxyEndpointUrl);
+            }
+            return _dispatch;
+        }
+
+        public String getEndpoint() {
+            BindingProvider bp = (BindingProvider) _proxy;
+            return (String) bp.getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
+        }
+
+        public void setEndpoint(String endpointUrl) {
+            BindingProvider bp = (BindingProvider) _proxy;
+            bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointUrl);
+
+            if (_dispatch != null) {
+                bp = (BindingProvider) _dispatch;
+                bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointUrl);
+            }
+        }
+    }
+
+    public EchoService12PortProxy() {
+        _descriptor = new Descriptor();
+    }
+
+    public EchoService12PortProxy(URL wsdlLocation) {
+        _descriptor = new Descriptor(wsdlLocation, new QName("http://org/apache/axis2/jaxws/samples/echo/", "EchoService12"));
+    }
+
+    public EchoService12PortProxy(URL wsdlLocation, QName serviceName) {
+        _descriptor = new Descriptor(wsdlLocation, serviceName);
+    }
+
+    public Descriptor _getDescriptor() {
+        return _descriptor;
+    }
+
+    public Response<EchoStringResponse> echoOperationAsync(EchoStringInput parameter) {
+        return _getDescriptor().getProxy().echoOperationAsync(parameter);
+    }
+
+    public Future<?> echoOperationAsync(EchoStringInput parameter, AsyncHandler<EchoStringResponse> asyncHandler) {
+        return _getDescriptor().getProxy().echoOperationAsync(parameter, asyncHandler);
+    }
+
+    public EchoStringResponse echoOperation(EchoStringInput parameter) {
+        return _getDescriptor().getProxy().echoOperation(parameter);
+    }
+
+}
\ No newline at end of file

Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12PortTypeClient.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12PortTypeClient.java?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12PortTypeClient.java (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/samples/jaxws-samples/src/main/org/apache/axis2/jaxws/samples/client/echo/EchoService12PortTypeClient.java Mon Jul 11 21:10:36 2011
@@ -0,0 +1,71 @@
+/*
+ * 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 org.apache.axis2.jaxws.samples.client.echo;
+
+import org.apache.axis2.jaxws.samples.echo.EchoStringInput;
+import org.apache.axis2.jaxws.samples.echo.EchoStringResponse;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.soap.SOAPBinding.ParameterStyle;
+import javax.xml.ws.AsyncHandler;
+import javax.xml.ws.Response;
+import java.util.concurrent.Future;
+
+
+@WebService(name = "EchoService12PortType", targetNamespace = "http://org/apache/axis2/jaxws/samples/echo/")
+@SOAPBinding(parameterStyle = ParameterStyle.BARE)
+public interface EchoService12PortTypeClient {
+
+
+    /**
+     * @param parameter
+     * @return returns javax.xml.ws.Response<org.apache.axis2.jaxws.samples.client.echo.EchoStringResponse>
+     */
+    @WebMethod(operationName = "echoOperation", action = "echoOperation")
+    public Response<EchoStringResponse> echoOperationAsync(
+            @WebParam(name = "echoStringInput", targetNamespace = "http://org/apache/axis2/jaxws/samples/echo/", partName = "parameter")
+            EchoStringInput parameter);
+
+    /**
+     * @param asyncHandler
+     * @param parameter
+     * @return returns java.util.concurrent.Future<? extends java.lang.Object>
+     */
+    @WebMethod(operationName = "echoOperation", action = "echoOperation")
+    public Future<?> echoOperationAsync(
+            @WebParam(name = "echoStringInput", targetNamespace = "http://org/apache/axis2/jaxws/samples/echo/", partName = "parameter")
+            EchoStringInput parameter,
+            @WebParam(name = "echoOperationResponse", targetNamespace = "", partName = "asyncHandler")
+            AsyncHandler<EchoStringResponse> asyncHandler);
+
+    /**
+     * @param parameter
+     * @return returns org.apache.axis2.jaxws.samples.client.echo.EchoStringResponse
+     */
+    @WebMethod(action = "echoOperation")
+    @WebResult(name = "echoStringResponse", targetNamespace = "http://org/apache/axis2/jaxws/samples/echo/", partName = "parameter")
+    public EchoStringResponse echoOperation(
+            @WebParam(name = "echoStringInput", targetNamespace = "http://org/apache/axis2/jaxws/samples/echo/", partName = "parameter")
+            EchoStringInput parameter);
+
+}



Mime
View raw message