You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2008/03/28 04:07:21 UTC
svn commit: r642074 [1/2] - in
/webservices/axis2/trunk/java/modules/samples/jaxws-interop: ./ resources/
resources/META-INF/ src/ src/com/ src/com/microsoft/
src/com/microsoft/schemas/ src/com/microsoft/schemas/_2003/
src/com/microsoft/schemas/_2003/_...
Author: dims
Date: Thu Mar 27 20:07:17 2008
New Revision: 642074
URL: http://svn.apache.org/viewvc?rev=642074&view=rev
Log:
interop top-down sample from Bill Nagy
Added:
webservices/axis2/trunk/java/modules/samples/jaxws-interop/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/README.txt
webservices/axis2/trunk/java/modules/samples/jaxws-interop/pom.xml
webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/BaseDataTypesDocLitB.wsdl
webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd0.xsd
webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd1.xsd
webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd2.xsd
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/schemas/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/schemas/_2003/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/schemas/_2003/_10/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/schemas/_2003/_10/serialization/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleClient.java
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleService.java
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/DateTimeOffset.java
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/ObjectFactory.java
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/package-info.java
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/tempuri/
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/tempuri/BaseDataTypesDocLitBService.java
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/tempuri/IBaseDataTypesDocLitB.java
webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/tempuri/ObjectFactory.java
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/README.txt?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/README.txt (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/README.txt Thu Mar 27 20:07:17 2008
@@ -0,0 +1,25 @@
+Sample: JAX-WS top-down development
+===================================
+
+Introduction
+============
+This sample demonstrates top-down development (i.e. development starting with a WSDL document) of a service and client using the JAX-WS API. The sample is based on an interop scenario for base data types which may be found at http://mssoapinterop.org/ilab/ .
+
+Building the service from scratch
+=================================
+The service may be constructed from scratch by executing the wsimport tool (found in the Sun JAX-WS RI) on the BaseDataTypesDocLibB.wsdl file: 'wsimport -keep -verbose BaseDataTypesDocLibB.wsdl' (The -keep option tells the tool to keep the generated files and the -verbose option causes the tool to list what is generated.) After the files have been generated you will need to provide an implementation of the service (i.e. a class equivalent to TopDownSampleService.java).
+
+Note: Due to an issue with the JAXWSDeployer, the annotations from the interface need to be replicated in the implementing class if the service is being deployed through a jar via the servicejars directory.
+
+Deploying the service
+=====================
+The classes can be packaged into a jar and the jar can be dropped into the servicejars directory of a deployed axis2 server.
+
+Building the client from scratch
+================================
+The dynamic proxy client may be constructed from scratch by executing the wsimport tool (found in the Sun JAX-WS RI) on the BaseDataTypesDocLibB.wsdl file: 'wsimport -keep -verbose BaseDataTypesDocLibB.wsdl' (The -keep option tells the tool to keep the generated files and the -verbose option causes the tool to list what is generated.) After the files have been generated you will need to provide an implementation of the client (i.e. a class equivalent to TopDownSampleClient.java).
+
+
+Running the Client
+==================
+The client can be run via the axis2.sh or axis2.bat scripts (e.g. 'axis2.sh org.apache.axis2.jaxws.interop.InteropSampleClient'.) The endpoint URL is extracted at runtime from the WSDL, so you can either modify the soap:address to refer to Microsoft's endpoint at http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc or to a local endpoint such as http://localhost:8080/axis2/services/TopDownSampleServiceService.IBaseDataTypesDocLitBPort
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/pom.xml?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/pom.xml Thu Mar 27 20:07:17 2008
@@ -0,0 +1,97 @@
+<!--
+ ~ 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.samples</groupId>
+ <artifactId>jaxws-interop</artifactId>
+ <packaging>jar</packaging>
+ <version>SNAPSHOT</version>
+ <name>JAXWS Interop Sample</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>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.1</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jsr173</artifactId>
+ <groupId>javax.xml</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-jaxws</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-jaxws-api</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <repository>
+ <id>apache-m2</id>
+ <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
+ </repository>
+ <repository>
+ <id>apache-snapshots</id>
+ <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+ </repository>
+ <repository>
+ <id>maven2</id>
+ <url>http://repo1.maven.org/maven2/</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache-m2</id>
+ <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>apache-snapshots</id>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>maven2</id>
+ <url>http://repo1.maven.org/maven2/</url>
+ </pluginRepository>
+ </pluginRepositories>
+</project>
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/BaseDataTypesDocLitB.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/BaseDataTypesDocLitB.wsdl?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/BaseDataTypesDocLitB.wsdl (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/BaseDataTypesDocLitB.wsdl Thu Mar 27 20:07:17 2008
@@ -0,0 +1,518 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:tns="http://tempuri.org/"
+ xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
+ xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+ xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
+ xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+ xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+ xmlns:wsa10="http://www.w3.org/2005/08/addressing"
+ xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" targetNamespace="http://tempuri.org/"
+ name="BaseDataTypesDocLitBService">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://tempuri.org/Imports">
+ <xsd:import schemaLocation="xsd1.xsd" namespace="http://tempuri.org/"/>
+ <xsd:import schemaLocation="xsd0.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xsd:import schemaLocation="xsd2.xsd" namespace="http://schemas.datacontract.org/2004/07/System"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="RetBool_RequestMessage_Body">
+ <wsdl:part name="inBool" element="tns:inBool"/>
+ </wsdl:message>
+ <wsdl:message name="RetBool_ResponseMessage_Body">
+ <wsdl:part name="RetBoolResult" element="tns:RetBoolResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetByte_RequestMessage_Body">
+ <wsdl:part name="inByte" element="tns:inByte"/>
+ </wsdl:message>
+ <wsdl:message name="RetByte_ResponseMessage_Body">
+ <wsdl:part name="RetByteResult" element="tns:RetByteResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetSByte_RequestMessage_Body">
+ <wsdl:part name="inSByte" element="tns:inSByte"/>
+ </wsdl:message>
+ <wsdl:message name="RetSByte_ResponseMessage_Body">
+ <wsdl:part name="RetSByteResult" element="tns:RetSByteResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetByteArray_RequestMessage_Body">
+ <wsdl:part name="inByteArray" element="tns:inByteArray"/>
+ </wsdl:message>
+ <wsdl:message name="RetByteArray_ResponseMessage_Body">
+ <wsdl:part name="RetByteArrayResult" element="tns:RetByteArrayResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetChar_RequestMessage_Body">
+ <wsdl:part name="inChar" element="tns:inChar"/>
+ </wsdl:message>
+ <wsdl:message name="RetChar_ResponseMessage_Body">
+ <wsdl:part name="RetCharResult" element="tns:RetCharResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDecimal_RequestMessage_Body">
+ <wsdl:part name="inDecimal" element="tns:inDecimal"/>
+ </wsdl:message>
+ <wsdl:message name="RetDecimal_ResponseMessage_Body">
+ <wsdl:part name="RetDecimalResult" element="tns:RetDecimalResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetFloat_RequestMessage_Body">
+ <wsdl:part name="inFloat" element="tns:inFloat"/>
+ </wsdl:message>
+ <wsdl:message name="RetFloat_ResponseMessage_Body">
+ <wsdl:part name="RetFloatResult" element="tns:RetFloatResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDouble_RequestMessage_Body">
+ <wsdl:part name="inDouble" element="tns:inDouble"/>
+ </wsdl:message>
+ <wsdl:message name="RetDouble_ResponseMessage_Body">
+ <wsdl:part name="RetDoubleResult" element="tns:RetDoubleResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetSingle_RequestMessage_Body">
+ <wsdl:part name="inSingle" element="tns:inSingle"/>
+ </wsdl:message>
+ <wsdl:message name="RetSingle_ResponseMessage_Body">
+ <wsdl:part name="RetSingleResult" element="tns:RetSingleResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetInt_RequestMessage_Body">
+ <wsdl:part name="inInt" element="tns:inInt"/>
+ </wsdl:message>
+ <wsdl:message name="RetInt_ResponseMessage_Body">
+ <wsdl:part name="RetIntResult" element="tns:RetIntResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetShort_RequestMessage_Body">
+ <wsdl:part name="inShort" element="tns:inShort"/>
+ </wsdl:message>
+ <wsdl:message name="RetShort_ResponseMessage_Body">
+ <wsdl:part name="RetShortResult" element="tns:RetShortResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetLong_RequestMessage_Body">
+ <wsdl:part name="inLong" element="tns:inLong"/>
+ </wsdl:message>
+ <wsdl:message name="RetLong_ResponseMessage_Body">
+ <wsdl:part name="RetLongResult" element="tns:RetLongResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetObject_RequestMessage_Body">
+ <wsdl:part name="inObject" element="tns:inObject"/>
+ </wsdl:message>
+ <wsdl:message name="RetObject_ResponseMessage_Body">
+ <wsdl:part name="RetObjectResult" element="tns:RetObjectResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetUInt_RequestMessage_Body">
+ <wsdl:part name="inUInt" element="tns:inUInt"/>
+ </wsdl:message>
+ <wsdl:message name="RetUInt_ResponseMessage_Body">
+ <wsdl:part name="RetUIntResult" element="tns:RetUIntResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetUShort_RequestMessage_Body">
+ <wsdl:part name="inUShort" element="tns:inUShort"/>
+ </wsdl:message>
+ <wsdl:message name="RetUShort_ResponseMessage_Body">
+ <wsdl:part name="RetUShortResult" element="tns:RetUShortResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetULong_RequestMessage_Body">
+ <wsdl:part name="inULong" element="tns:inULong"/>
+ </wsdl:message>
+ <wsdl:message name="RetULong_ResponseMessage_Body">
+ <wsdl:part name="RetULongResult" element="tns:RetULongResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetString_RequestMessage_Body">
+ <wsdl:part name="inString" element="tns:inString"/>
+ </wsdl:message>
+ <wsdl:message name="RetString_ResponseMessage_Body">
+ <wsdl:part name="RetStringResult" element="tns:RetStringResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetGuid_RequestMessage_Body">
+ <wsdl:part name="inGuid" element="tns:inGuid"/>
+ </wsdl:message>
+ <wsdl:message name="RetGuid_ResponseMessage_Body">
+ <wsdl:part name="RetGuidResult" element="tns:RetGuidResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetUri_RequestMessage_Body">
+ <wsdl:part name="inUri" element="tns:inUri"/>
+ </wsdl:message>
+ <wsdl:message name="RetUri_ResponseMessage_Body">
+ <wsdl:part name="RetUriResult" element="tns:RetUriResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDateTime_RequestMessage_Body">
+ <wsdl:part name="inDateTime" element="tns:inDateTime"/>
+ </wsdl:message>
+ <wsdl:message name="RetDateTime_ResponseMessage_Body">
+ <wsdl:part name="RetDateTimeResult" element="tns:RetDateTimeResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetDateTimeOffset_RequestMessage_Body">
+ <wsdl:part name="inDateTimeOffset" element="tns:inDateTimeOffset"/>
+ </wsdl:message>
+ <wsdl:message name="RetDateTimeOffset_ResponseMessage_Body">
+ <wsdl:part name="RetDateTimeOffsetResult" element="tns:RetDateTimeOffsetResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetTimeSpan_RequestMessage_Body">
+ <wsdl:part name="inTimeSpan" element="tns:inTimeSpan"/>
+ </wsdl:message>
+ <wsdl:message name="RetTimeSpan_ResponseMessage_Body">
+ <wsdl:part name="RetTimeSpanResult" element="tns:RetTimeSpanResult"/>
+ </wsdl:message>
+ <wsdl:message name="RetQName_RequestMessage_Body">
+ <wsdl:part name="inQName" element="tns:inQName"/>
+ </wsdl:message>
+ <wsdl:message name="RetQName_ResponseMessage_Body">
+ <wsdl:part name="RetQNameResult" element="tns:RetQNameResult"/>
+ </wsdl:message>
+ <wsdl:portType name="IBaseDataTypesDocLitB">
+ <wsdl:operation name="RetBool">
+ <wsdl:input name="RetBool_RequestMessage_Body" message="tns:RetBool_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetBool"/>
+ <wsdl:output name="RetBool_ResponseMessage_Body" message="tns:RetBool_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetBoolResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <wsdl:input name="RetByte_RequestMessage_Body" message="tns:RetByte_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByte"/>
+ <wsdl:output name="RetByte_ResponseMessage_Body" message="tns:RetByte_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <wsdl:input name="RetSByte_RequestMessage_Body" message="tns:RetSByte_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte"/>
+ <wsdl:output name="RetSByte_ResponseMessage_Body" message="tns:RetSByte_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSByteResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <wsdl:input name="RetByteArray_RequestMessage_Body" message="tns:RetByteArray_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray"/>
+ <wsdl:output name="RetByteArray_ResponseMessage_Body" message="tns:RetByteArray_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArrayResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <wsdl:input name="RetChar_RequestMessage_Body" message="tns:RetChar_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetChar"/>
+ <wsdl:output name="RetChar_ResponseMessage_Body" message="tns:RetChar_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetCharResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <wsdl:input name="RetDecimal_RequestMessage_Body" message="tns:RetDecimal_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal"/>
+ <wsdl:output name="RetDecimal_ResponseMessage_Body" message="tns:RetDecimal_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimalResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <wsdl:input name="RetFloat_RequestMessage_Body" message="tns:RetFloat_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat"/>
+ <wsdl:output name="RetFloat_ResponseMessage_Body" message="tns:RetFloat_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetFloatResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <wsdl:input name="RetDouble_RequestMessage_Body" message="tns:RetDouble_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble"/>
+ <wsdl:output name="RetDouble_ResponseMessage_Body" message="tns:RetDouble_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDoubleResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <wsdl:input name="RetSingle_RequestMessage_Body" message="tns:RetSingle_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSingle"/>
+ <wsdl:output name="RetSingle_ResponseMessage_Body" message="tns:RetSingle_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetSingleResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <wsdl:input name="RetInt_RequestMessage_Body" message="tns:RetInt_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetInt"/>
+ <wsdl:output name="RetInt_ResponseMessage_Body" message="tns:RetInt_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetIntResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <wsdl:input name="RetShort_RequestMessage_Body" message="tns:RetShort_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShort"/>
+ <wsdl:output name="RetShort_ResponseMessage_Body" message="tns:RetShort_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetShortResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <wsdl:input name="RetLong_RequestMessage_Body" message="tns:RetLong_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetLong"/>
+ <wsdl:output name="RetLong_ResponseMessage_Body" message="tns:RetLong_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetLongResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <wsdl:input name="RetObject_RequestMessage_Body" message="tns:RetObject_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObject"/>
+ <wsdl:output name="RetObject_ResponseMessage_Body" message="tns:RetObject_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetObjectResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <wsdl:input name="RetUInt_RequestMessage_Body" message="tns:RetUInt_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt"/>
+ <wsdl:output name="RetUInt_ResponseMessage_Body" message="tns:RetUInt_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUIntResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <wsdl:input name="RetUShort_RequestMessage_Body" message="tns:RetUShort_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUShort"/>
+ <wsdl:output name="RetUShort_ResponseMessage_Body" message="tns:RetUShort_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUShortResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <wsdl:input name="RetULong_RequestMessage_Body" message="tns:RetULong_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULong"/>
+ <wsdl:output name="RetULong_ResponseMessage_Body" message="tns:RetULong_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetULongResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <wsdl:input name="RetString_RequestMessage_Body" message="tns:RetString_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetString"/>
+ <wsdl:output name="RetString_ResponseMessage_Body" message="tns:RetString_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetStringResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <wsdl:input name="RetGuid_RequestMessage_Body" message="tns:RetGuid_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid"/>
+ <wsdl:output name="RetGuid_ResponseMessage_Body" message="tns:RetGuid_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetGuidResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <wsdl:input name="RetUri_RequestMessage_Body" message="tns:RetUri_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUri"/>
+ <wsdl:output name="RetUri_ResponseMessage_Body" message="tns:RetUri_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetUriResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <wsdl:input name="RetDateTime_RequestMessage_Body" message="tns:RetDateTime_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime"/>
+ <wsdl:output name="RetDateTime_ResponseMessage_Body" message="tns:RetDateTime_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTimeResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTimeOffset">
+ <wsdl:input name="RetDateTimeOffset_RequestMessage_Body" message="tns:RetDateTimeOffset_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTimeOffset"/>
+ <wsdl:output name="RetDateTimeOffset_ResponseMessage_Body"
+ message="tns:RetDateTimeOffset_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTimeOffsetResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <wsdl:input name="RetTimeSpan_RequestMessage_Body" message="tns:RetTimeSpan_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan"/>
+ <wsdl:output name="RetTimeSpan_ResponseMessage_Body" message="tns:RetTimeSpan_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpanResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <wsdl:input name="RetQName_RequestMessage_Body" message="tns:RetQName_RequestMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQName"/>
+ <wsdl:output name="RetQName_ResponseMessage_Body" message="tns:RetQName_ResponseMessage_Body"
+ wsaw:Action="http://tempuri.org/IBaseDataTypesDocLitB/RetQNameResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="BasicHttpBinding_IBaseDataTypesDocLitB" type="tns:IBaseDataTypesDocLitB">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="RetBool">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetBool" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByte" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSByte">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSByte" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByteArray">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetByteArray" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetChar">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetChar" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDecimal" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetFloat" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDouble" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetSingle">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetSingle" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetInt" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetShort" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetLong" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetObject">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetObject" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUInt">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUInt" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUShort">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUShort" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetULong">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetULong" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetString" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetGuid">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetGuid" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUri">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetUri" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTime" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTimeOffset">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetDateTimeOffset" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetTimeSpan">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetTimeSpan" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <soap:operation soapAction="http://tempuri.org/IBaseDataTypesDocLitB/RetQName" 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="BaseDataTypesDocLitBService">
+ <wsdl:port name="BasicHttpBinding_IBaseDataTypesDocLitB" binding="tns:BasicHttpBinding_IBaseDataTypesDocLitB">
+ <soap:address
+ location="http://localhost:8080/axis2/services/TopDownSampleServiceService.IBaseDataTypesDocLitBPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd0.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd0.xsd?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd0.xsd (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd0.xsd Thu Mar 27 20:07:17 2008
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified"
+ targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/">
+ <xs:element name="anyType" nillable="true" type="xs:anyType"/>
+ <xs:element name="anyURI" nillable="true" type="xs:anyURI"/>
+ <xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/>
+ <xs:element name="boolean" nillable="true" type="xs:boolean"/>
+ <xs:element name="byte" nillable="true" type="xs:byte"/>
+ <xs:element name="dateTime" nillable="true" type="xs:dateTime"/>
+ <xs:element name="decimal" nillable="true" type="xs:decimal"/>
+ <xs:element name="double" nillable="true" type="xs:double"/>
+ <xs:element name="float" nillable="true" type="xs:float"/>
+ <xs:element name="int" nillable="true" type="xs:int"/>
+ <xs:element name="long" nillable="true" type="xs:long"/>
+ <xs:element name="QName" nillable="true" type="xs:QName"/>
+ <xs:element name="short" nillable="true" type="xs:short"/>
+ <xs:element name="string" nillable="true" type="xs:string"/>
+ <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/>
+ <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/>
+ <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/>
+ <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/>
+ <xs:element name="char" nillable="true" type="tns:char"/>
+ <xs:simpleType name="char">
+ <xs:restriction base="xs:int"/>
+ </xs:simpleType>
+ <xs:element name="duration" nillable="true" type="tns:duration"/>
+ <xs:simpleType name="duration">
+ <xs:restriction base="xs:duration">
+ <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/>
+ <xs:minInclusive value="-P10675199DT2H48M5.4775808S"/>
+ <xs:maxInclusive value="P10675199DT2H48M5.4775807S"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name="guid" nillable="true" type="tns:guid"/>
+ <xs:simpleType name="guid">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attribute name="FactoryType" type="xs:QName"/>
+</xs:schema>
\ No newline at end of file
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd1.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd1.xsd?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd1.xsd (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd1.xsd Thu Mar 27 20:07:17 2008
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/">
+ <xs:import
+ schemaLocation="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc?xsd=xsd0"
+ namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xs:import
+ schemaLocation="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc?xsd=xsd2"
+ namespace="http://schemas.datacontract.org/2004/07/System"/>
+ <xs:element name="inBool" type="xs:boolean"/>
+ <xs:element name="RetBoolResult" type="xs:boolean"/>
+ <xs:element name="inByte" type="xs:unsignedByte"/>
+ <xs:element name="RetByteResult" type="xs:unsignedByte"/>
+ <xs:element name="inSByte" type="xs:byte"/>
+ <xs:element name="RetSByteResult" type="xs:byte"/>
+ <xs:element name="inByteArray" nillable="true" type="xs:base64Binary"/>
+ <xs:element name="RetByteArrayResult" nillable="true" type="xs:base64Binary"/>
+ <xs:element name="inChar" type="q1:char" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xs:element name="RetCharResult" type="q2:char" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xs:element name="inDecimal" type="xs:decimal"/>
+ <xs:element name="RetDecimalResult" type="xs:decimal"/>
+ <xs:element name="inFloat" type="xs:float"/>
+ <xs:element name="RetFloatResult" type="xs:float"/>
+ <xs:element name="inDouble" type="xs:double"/>
+ <xs:element name="RetDoubleResult" type="xs:double"/>
+ <xs:element name="inSingle" type="xs:float"/>
+ <xs:element name="RetSingleResult" type="xs:float"/>
+ <xs:element name="inInt" type="xs:int"/>
+ <xs:element name="RetIntResult" type="xs:int"/>
+ <xs:element name="inShort" type="xs:short"/>
+ <xs:element name="RetShortResult" type="xs:short"/>
+ <xs:element name="inLong" type="xs:long"/>
+ <xs:element name="RetLongResult" type="xs:long"/>
+ <xs:element name="inObject" nillable="true" type="xs:anyType"/>
+ <xs:element name="RetObjectResult" nillable="true" type="xs:anyType"/>
+ <xs:element name="inUInt" type="xs:unsignedInt"/>
+ <xs:element name="RetUIntResult" type="xs:unsignedInt"/>
+ <xs:element name="inUShort" type="xs:unsignedShort"/>
+ <xs:element name="RetUShortResult" type="xs:unsignedShort"/>
+ <xs:element name="inULong" type="xs:unsignedLong"/>
+ <xs:element name="RetULongResult" type="xs:unsignedLong"/>
+ <xs:element name="inString" nillable="true" type="xs:string"/>
+ <xs:element name="RetStringResult" nillable="true" type="xs:string"/>
+ <xs:element name="inGuid" type="q3:guid" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xs:element name="RetGuidResult" type="q4:guid" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xs:element name="inUri" nillable="true" type="xs:anyURI"/>
+ <xs:element name="RetUriResult" nillable="true" type="xs:anyURI"/>
+ <xs:element name="inDateTime" type="xs:dateTime"/>
+ <xs:element name="RetDateTimeResult" type="xs:dateTime"/>
+ <xs:element name="inDateTimeOffset" type="q5:DateTimeOffset"
+ xmlns:q5="http://schemas.datacontract.org/2004/07/System"/>
+ <xs:element name="RetDateTimeOffsetResult" type="q6:DateTimeOffset"
+ xmlns:q6="http://schemas.datacontract.org/2004/07/System"/>
+ <xs:element name="inTimeSpan" type="q7:duration" xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xs:element name="RetTimeSpanResult" type="q8:duration"
+ xmlns:q8="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xs:element name="inQName" nillable="true" type="xs:QName"/>
+ <xs:element name="RetQNameResult" nillable="true" type="xs:QName"/>
+</xs:schema>
\ No newline at end of file
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd2.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd2.xsd?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd2.xsd (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/resources/META-INF/xsd2.xsd Thu Mar 27 20:07:17 2008
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/System"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/System">
+ <xs:import
+ schemaLocation="http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc?xsd=xsd0"
+ namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+ <xs:complexType name="DateTimeOffset">
+ <xs:annotation>
+ <xs:appinfo>
+ <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="DateTime" type="xs:dateTime"/>
+ <xs:element name="OffsetMinutes" type="xs:short"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name="DateTimeOffset" nillable="true" type="tns:DateTimeOffset"/>
+</xs:schema>
\ No newline at end of file
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java Thu Mar 27 20:07:17 2008
@@ -0,0 +1,268 @@
+/*
+* 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 com.microsoft.schemas._2003._10.serialization;
+
+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;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the com.microsoft.schemas._2003._10.serialization 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 _UnsignedLong_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedLong");
+ private final static QName _String_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "string");
+ private final static QName _Duration_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "duration");
+ private final static QName _Guid_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "guid");
+ private final static QName _Decimal_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "decimal");
+ private final static QName _UnsignedInt_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedInt");
+ private final static QName _Short_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "short");
+ private final static QName _UnsignedShort_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedShort");
+ private final static QName _QName_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "QName");
+ private final static QName _DateTime_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "dateTime");
+ private final static QName _Double_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "double");
+ private final static QName _Int_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "int");
+ private final static QName _AnyType_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "anyType");
+ private final static QName _UnsignedByte_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedByte");
+ private final static QName _Boolean_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "boolean");
+ private final static QName _Byte_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "byte");
+ private final static QName _Base64Binary_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "base64Binary");
+ private final static QName _Long_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "long");
+ private final static QName _Float_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "float");
+ private final static QName _Char_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "char");
+ private final static QName _AnyURI_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "anyURI");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.microsoft.schemas._2003._10.serialization
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedLong")
+ public JAXBElement<BigInteger> createUnsignedLong(BigInteger value) {
+ return new JAXBElement<BigInteger>(_UnsignedLong_QNAME, BigInteger.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "string")
+ public JAXBElement<String> createString(String value) {
+ return new JAXBElement<String>(_String_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Duration }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "duration")
+ public JAXBElement<Duration> createDuration(Duration value) {
+ return new JAXBElement<Duration>(_Duration_QNAME, Duration.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "guid")
+ public JAXBElement<String> createGuid(String value) {
+ return new JAXBElement<String>(_Guid_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "decimal")
+ public JAXBElement<BigDecimal> createDecimal(BigDecimal value) {
+ return new JAXBElement<BigDecimal>(_Decimal_QNAME, BigDecimal.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedInt")
+ public JAXBElement<Long> createUnsignedInt(Long value) {
+ return new JAXBElement<Long>(_UnsignedInt_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "short")
+ public JAXBElement<Short> createShort(Short value) {
+ return new JAXBElement<Short>(_Short_QNAME, Short.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedShort")
+ public JAXBElement<Integer> createUnsignedShort(Integer value) {
+ return new JAXBElement<Integer>(_UnsignedShort_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "QName")
+ public JAXBElement<QName> createQName(QName value) {
+ return new JAXBElement<QName>(_QName_QNAME, QName.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "dateTime")
+ public JAXBElement<XMLGregorianCalendar> createDateTime(XMLGregorianCalendar value) {
+ return new JAXBElement<XMLGregorianCalendar>(_DateTime_QNAME, XMLGregorianCalendar.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "double")
+ public JAXBElement<Double> createDouble(Double value) {
+ return new JAXBElement<Double>(_Double_QNAME, Double.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "int")
+ public JAXBElement<Integer> createInt(Integer value) {
+ return new JAXBElement<Integer>(_Int_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "anyType")
+ public JAXBElement<Object> createAnyType(Object value) {
+ return new JAXBElement<Object>(_AnyType_QNAME, Object.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedByte")
+ public JAXBElement<Short> createUnsignedByte(Short value) {
+ return new JAXBElement<Short>(_UnsignedByte_QNAME, Short.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "boolean")
+ public JAXBElement<Boolean> createBoolean(Boolean value) {
+ return new JAXBElement<Boolean>(_Boolean_QNAME, Boolean.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "byte")
+ public JAXBElement<Byte> createByte(Byte value) {
+ return new JAXBElement<Byte>(_Byte_QNAME, Byte.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "base64Binary")
+ public JAXBElement<byte[]> createBase64Binary(byte[] value) {
+ return new JAXBElement<byte[]>(_Base64Binary_QNAME, byte[].class, null, ((byte[]) value));
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "long")
+ public JAXBElement<Long> createLong(Long value) {
+ return new JAXBElement<Long>(_Long_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "float")
+ public JAXBElement<Float> createFloat(Float value) {
+ return new JAXBElement<Float>(_Float_QNAME, Float.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "char")
+ public JAXBElement<Integer> createChar(Integer value) {
+ return new JAXBElement<Integer>(_Char_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "anyURI")
+ public JAXBElement<String> createAnyURI(String value) {
+ return new JAXBElement<String>(_AnyURI_QNAME, String.class, null, value);
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleClient.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleClient.java?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleClient.java (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleClient.java Thu Mar 27 20:07:17 2008
@@ -0,0 +1,54 @@
+/*
+* 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.interop;
+
+import org.tempuri.*;
+import javax.xml.ws.BindingProvider;
+
+public class InteropSampleClient
+{
+ public static void main(String[] args)
+ {
+ /*Create the dynamic proxy*/
+ IBaseDataTypesDocLitB proxy = new BaseDataTypesDocLitBService().getBasicHttpBindingIBaseDataTypesDocLitB();
+
+ /*Invoke the service*/
+ if (!proxy.retBool(true))
+ {
+ System.err.println("The service should have returned 'true'");
+ return;
+ }
+
+ if (proxy.retInt(42) != 42)
+ {
+ System.err.println("The service should have returned '42'");
+ return;
+ }
+
+ String testString = "This is a test";
+ if (!testString.equals(proxy.retString(testString)))
+ {
+ System.err.println("The service should have returned '"+testString+"'");
+ return;
+ }
+
+ System.out.println("The test completed successfully.");
+ }
+}
\ No newline at end of file
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleService.java?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleService.java (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/apache/axis2/jaxws/interop/InteropSampleService.java Thu Mar 27 20:07:17 2008
@@ -0,0 +1,384 @@
+/*
+* 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.interop;
+
+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;
+import org.tempuri.*;
+
+@WebService(serviceName="BaseDataTypesDocLitBService", portName="BasicHttpBinding_IBaseDataTypesDocLitB", name = "IBaseDataTypesDocLitB", targetNamespace = "http://tempuri.org/", wsdlLocation="META-INF/BaseDataTypesDocLitB.wsdl")
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public class InteropSampleService implements 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return 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)
+ {
+ return inQName;
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/DateTimeOffset.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/DateTimeOffset.java?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/DateTimeOffset.java (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/DateTimeOffset.java Thu Mar 27 20:07:17 2008
@@ -0,0 +1,102 @@
+/*
+* 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.datacontract.schemas._2004._07.system;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for DateTimeOffset complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="DateTimeOffset">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="DateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="OffsetMinutes" type="{http://www.w3.org/2001/XMLSchema}short"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DateTimeOffset", namespace = "http://schemas.datacontract.org/2004/07/System", propOrder = {
+ "dateTime",
+ "offsetMinutes"
+})
+public class DateTimeOffset {
+
+ @XmlElement(name = "DateTime", required = true)
+ protected XMLGregorianCalendar dateTime;
+ @XmlElement(name = "OffsetMinutes")
+ protected short offsetMinutes;
+
+ /**
+ * Gets the value of the dateTime property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getDateTime() {
+ return dateTime;
+ }
+
+ /**
+ * Sets the value of the dateTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setDateTime(XMLGregorianCalendar value) {
+ this.dateTime = value;
+ }
+
+ /**
+ * Gets the value of the offsetMinutes property.
+ *
+ */
+ public short getOffsetMinutes() {
+ return offsetMinutes;
+ }
+
+ /**
+ * Sets the value of the offsetMinutes property.
+ *
+ */
+ public void setOffsetMinutes(short value) {
+ this.offsetMinutes = value;
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/ObjectFactory.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/ObjectFactory.java?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/ObjectFactory.java (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/ObjectFactory.java Thu Mar 27 20:07:17 2008
@@ -0,0 +1,72 @@
+/*
+* 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.datacontract.schemas._2004._07.system;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.datacontract.schemas._2004._07.system 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 _DateTimeOffset_QNAME = new QName("http://schemas.datacontract.org/2004/07/System", "DateTimeOffset");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.datacontract.schemas._2004._07.system
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link DateTimeOffset }
+ *
+ */
+ public DateTimeOffset createDateTimeOffset() {
+ return new DateTimeOffset();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link DateTimeOffset }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/System", name = "DateTimeOffset")
+ public JAXBElement<DateTimeOffset> createDateTimeOffset(DateTimeOffset value) {
+ return new JAXBElement<DateTimeOffset>(_DateTimeOffset_QNAME, DateTimeOffset.class, null, value);
+ }
+
+}
Added: webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/package-info.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/package-info.java?rev=642074&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/package-info.java (added)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-interop/src/org/datacontract/schemas/_2004/_07/system/package-info.java Thu Mar 27 20:07:17 2008
@@ -0,0 +1,21 @@
+/*
+* 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.
+*/
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://schemas.datacontract.org/2004/07/System", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.datacontract.schemas._2004._07.system;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org