You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mirae-dev@ws.apache.org by da...@apache.org on 2005/02/03 13:41:14 UTC
svn commit: r151149 [15/19] - in webservices/mirae/trunk: ./ bin/ bin/linux/
bin/windows/ build/ docs/ docs/images/ docs/images/CVS/ docs/javadoc/
genstub/ genstub/example8/ genstub/lk/ genstub/lk/opensource/
genstub/lk/opensource/wsmobile/ genstub/org/ genstub/org/apache/
genstub/org/apache/mirae/ genstub/org/apache/mirae/builtin/
genstub/org/apache/mirae/builtin/simpletypes/ genstub/uk/ genstub/uk/co/
genstub/uk/co/dsdata/ genstub/uk/co/dsdata/ws/
genstub/uk/co/dsdata/ws/travel/ genstub/uk/co/dsdata/ws/travel/sbg/
genstub/uk/co/dsdata/ws/travel/sbg/SBGAirFareQuotes/
genstub/ws_mobile_point/ lib/ logs/ samples/ samples/documentsamples/
samples/documentsamples/calculator/
samples/documentsamples/calculator/calculator/
samples/documentsamples/calculator/calculator/axis/
samples/documentsamples/calculator/calculator/axis/localhost/
samples/documentsamples/calculator/org/
samples/documentsamples/calculator/org/apache/
samples/documentsamples/calculator/org/apache/mirae/
samples/documentsamples/calculator/org/apache/mirae/builtin/
samples/documentsamples/calculator/org/apache/mirae/builtin/simpletypes/
samples/documentsamples/echo/ samples/documentsamples/echo/org/
samples/documentsamples/echo/org/apache/
samples/documentsamples/echo/org/apache/mirae/
samples/documentsamples/echo/org/apache/mirae/builtin/
samples/documentsamples/echo/org/apache/mirae/builtin/simpletypes/
samples/documentsamples/echo/org/soapinterop/
samples/documentsamples/employee/
samples/documentsamples/employee/jSR172UseCases/
samples/documentsamples/employee/jSR172UseCases/com/
samples/documentsamples/employee/jSR172UseCases/com/sun/
samples/documentsamples/employee/jSR172UseCases/com/sun/www/
samples/documentsamples/employee/org/
samples/documentsamples/employee/org/apache/
samples/documentsamples/employee/org/apache/mirae/
samples/documentsamples/employee/org/apache/mirae/builtin/
samples/documentsamples/employee/org/apache/mirae/builtin/simpletypes/
samples/documentsamples/employee/xsd/
samples/documentsamples/employee/xsd/JSR172AppendixA/
samples/documentsamples/employee/xsd/JSR172AppendixA/com/
samples/documentsamples/employee/xsd/JSR172AppendixA/com/sun/
samples/documentsamples/employee/xsd/JSR172AppendixA/com/sun/www/
samples/rpcsamples/ samples/rpcsamples/airfarequote/
samples/rpcsamples/airfarequote/org/
samples/rpcsamples/airfarequote/org/apache/
samples/rpcsamples/airfarequote/org/apache/mirae/
samples/rpcsamples/airfarequote/org/apache/mirae/builtin/
samples/rpcsamples/airfarequote/org/apache/mirae/builtin/simpletypes/
samples/rpcsamples/airfarequote/uk/ samples/rpcsamples/airfarequote/uk/co/
samples/rpcsamples/airfarequote/uk/co/dsdata/
samples/rpcsamples/airfarequote/uk/co/dsdata/ws/
samples/rpcsamples/airfarequote/uk/co/dsdata/ws/travel/
samples/rpcsamples/airfarequote/uk/co/dsdata/ws/travel/sbg/
samples/rpcsamples/airfarequote/uk/co/dsdata/ws/travel/sbg/SBGAirFareQuotes/
samples/rpcsamples/calculator/ samples/rpcsamples/calculator/lk/
samples/rpcsamples/calculator/lk/opensource/
samples/rpcsamples/calculator/lk/opensource/wsmobile/
samples/rpcsamples/calculator/org/ samples/rpcsamples/calculator/org/apache/
samples/rpcsamples/calculator/org/apache/mirae/
samples/rpcsamples/calculator/org/apache/mirae/builtin/
samples/rpcsamples/calculator/org/apache/mirae/builtin/simpletypes/
samples/rpcsamples/distance/ samples/rpcsamples/distance/org/
samples/rpcsamples/distance/org/apache/
samples/rpcsamples/distance/org/apache/mirae/
samples/rpcsamples/distance/org/apache/mirae/builtin/
samples/rpcsamples/distance/org/apache/mirae/builtin/simpletypes/
samples/rpcsamples/distance/wsdl/
samples/rpcsamples/distance/wsdl/DistanceService/
samples/rpcsamples/distance/wsdl/DistanceService/sd/
samples/rpcsamples/distance/wsdl/DistanceService/sd/net/
samples/rpcsamples/distance/wsdl/DistanceService/sd/net/xmethods/
samples/rpcsamples/distance/wsdl/DistanceService/sd/net/xmethods/www/
samples/rpcsamples/point/ samples/rpcsamples/point/org/
samples/rpcsamples/point/org/apache/
samples/rpcsamples/point/org/apache/mirae/
samples/rpcsamples/point/org/apache/mirae/builtin/
samples/rpcsamples/point/org/apache/mirae/builtin/simpletypes/
samples/rpcsamples/point/ws_mobile_point/ samples/rpcsamples/student/
samples/rpcsamples/student/example8/ samples/rpcsamples/student/org/
samples/rpcsamples/student/org/apache/
samples/rpcsamples/student/org/apache/mirae/
samples/rpcsamples/student/org/apache/mirae/builtin/
samples/rpcsamples/student/org/apache/mirae/builtin/simpletypes/ src/
src/mirae/ src/mirae/jaxp/ src/mirae/jaxp/javax/ src/mirae/jaxp/javax/xml/
src/mirae/jaxp/javax/xml/parsers/ src/mirae/jaxp/org/
src/mirae/jaxp/org/apache/ src/mirae/jaxp/org/apache/mirae/
src/mirae/jaxp/org/apache/mirae/j2me/
src/mirae/jaxp/org/apache/mirae/j2me/xml/
src/mirae/jaxp/org/apache/mirae/j2me/xml/sax/ src/mirae/jaxp/org/xml/
src/mirae/jaxp/org/xml/sax/ src/mirae/jaxp/org/xml/sax/helpers/
src/mirae/jaxrpc/ src/mirae/jaxrpc/javax/ src/mirae/jaxrpc/javax/xml/
src/mirae/jaxrpc/javax/xml/namespace/ src/mirae/jaxrpc/javax/xml/rpc/
src/mirae/jaxrpc/org/ src/mirae/jaxrpc/org/apache/
src/mirae/jaxrpc/org/apache/mirae/ src/mirae/jaxrpc/org/apache/mirae/util/
src/mirae/jaxrpc/org/apache/mirae/xml/
src/mirae/jaxrpc/org/apache/mirae/xml/rpc/ src/tools/
src/tools/simpletypes/ src/tools/wsdl2ws_j2me/ src/tools/wsdl2ws_j2me/org/
src/tools/wsdl2ws_j2me/org/apache/ src/tools/wsdl2ws_j2me/org/apache/axis/
src/tools/wsdl2ws_j2me/org/apache/axis/wsdl/
src/tools/wsdl2ws_j2me/org/apache/axis/wsdl/symbolTable/
src/tools/wsdl2ws_j2me/org/apache/mirae/
src/tools/wsdl2ws_j2me/org/apache/mirae/wsdl2ws/
src/tools/wsdl2ws_j2me/org/apache/mirae/wsdl2ws/doclit/
src/tools/wsdl2ws_j2me/org/apache/mirae/wsdl2ws/info/
src/tools/wsdl2ws_j2me/org/apache/mirae/wsdl2ws/j2me/
src/tools/wsdl2ws_j2me/org/apache/mirae/wsdl2ws/j2me/client/
src/tools/wsdl2ws_j2me/org/apache/mirae/wsdl2ws/rpc/ tests/
tests/functional/ tests/functional/client/
tests/functional/client/SBGGetAirFareQuote-client1/
tests/functional/client/SBGGetAirFareQuote-client2/
tests/functional/client/calculator/ tests/functional/client/point/
tests/functional/client/wst/ tests/functional/wsdl/ tests/unit/
tests/unit/inmessage/ tests/unit/mirae/ tests/unit/outmessage/
tests/unit/wsdl2ws/ wsdl/ wsdltests/ wsdltests/calculator/
wsdltests/calculator/client/ wsdltests/calculator/server/
wsdltests/exceptiontest/ wsdltests/exceptiontest/client/
wsdltests/exceptiontest/server/ wsdltests/interoptestround1/
wsdltests/interoptestround1/client/ wsdltests/interoptestround1/server/
Added: webservices/mirae/trunk/tests/unit/mirae/IntParam.java
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/tests/unit/mirae/IntParam.java?view=auto&rev=151149
==============================================================================
--- webservices/mirae/trunk/tests/unit/mirae/IntParam.java (added)
+++ webservices/mirae/trunk/tests/unit/mirae/IntParam.java Thu Feb 3 04:39:48 2005
@@ -0,0 +1,91 @@
+/*
+ * Copyright 2003-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package org.apache.mirae.builtin.simpletypes;
+
+import org.apache.mirae.xml.rpc.InOutParameter;
+import java.io.IOException;
+import org.xml.sax.Attributes;
+import org.xml.sax.SAXException;
+
+public class IntParam implements InOutParameter {
+ private int param;
+
+ public IntParam() {
+ }
+
+ public IntParam(String value) {
+ if (value != null)
+ this.param = Integer.parseInt(value.trim());
+ }
+
+ public void decode(String uri, String localName, String qName, Attributes attributes, String value)throws SAXException {
+ if (value != null)
+ this.param = Integer.parseInt(value.trim());
+ System.out.println(param);
+ }
+
+ public IntParam(int param) {
+ this.param = param;
+ }
+
+ public IntParam(Integer param) {
+ this.param = param.intValue();
+ }
+
+ public void serialize(StringBuffer buffer) throws IOException,Exception {
+ buffer.append(Integer.toString(param));
+
+ }
+
+ /**
+ * @return
+ */
+ public int getParam() {
+ return param;
+ }
+
+ public String toString() {
+ return Integer.toString(param);
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.mirae.xml.rpc.InOutParameter#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
+ */
+ public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.mirae.xml.rpc.InOutParameter#endElement(java.lang.String, java.lang.String, java.lang.String)
+ */
+ public void endElement(String uri, String localName, String qName) throws SAXException {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.mirae.xml.rpc.InOutParameter#createArray()
+ */
+ public void createArray() throws SAXException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+}
Added: webservices/mirae/trunk/tests/unit/outmessage/calc-add-generated
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/tests/unit/outmessage/calc-add-generated?view=auto&rev=151149
==============================================================================
--- webservices/mirae/trunk/tests/unit/outmessage/calc-add-generated (added)
+++ webservices/mirae/trunk/tests/unit/outmessage/calc-add-generated Thu Feb 3 04:39:48 2005
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<soapenv:Body>
+<add xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://localhost/axis/Calculator">
+<param0 xsi:type="xsd:int">5</param0>
+<param1 xsi:type="xsd:int">6</param1>
+</add>
+</soapenv:Body>
+</soapenv:Envelope>
Added: webservices/mirae/trunk/tests/unit/outmessage/calc-add-hardcoded
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/tests/unit/outmessage/calc-add-hardcoded?view=auto&rev=151149
==============================================================================
--- webservices/mirae/trunk/tests/unit/outmessage/calc-add-hardcoded (added)
+++ webservices/mirae/trunk/tests/unit/outmessage/calc-add-hardcoded Thu Feb 3 04:39:48 2005
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<soapenv:Body>
+<add xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://localhost/axis/Calculator">
+<param0 xsi:type="xsd:int">5</param0>
+<param1 xsi:type="xsd:int">6</param1>
+</add>
+</soapenv:Body>
+</soapenv:Envelope>
Added: webservices/mirae/trunk/tests/unit/readme
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/tests/unit/readme?view=auto&rev=151149
==============================================================================
--- webservices/mirae/trunk/tests/unit/readme (added)
+++ webservices/mirae/trunk/tests/unit/readme Thu Feb 3 04:39:48 2005
@@ -0,0 +1,29 @@
+# -*- Mirae -*-
+#
+# Copyright 2003-2004 The Apache Software Foundation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# @author Damitha Kumarage (damitha@hsenid.lk, damitha@opensource.lk)
+#
+#
+
+To add your own unit test just add your test case file
+in to wsdl2ws folder in case of testing the wsdl2ws_j2me tool,
+and to the mirae folder in case of basic client engine.
+
+Hardcoded input and output messages for testing can be placed
+in inmessage and outmessage folders respectively.
+
+
Added: webservices/mirae/trunk/tests/unit/wsdl2ws/TypeMapTest.java
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/tests/unit/wsdl2ws/TypeMapTest.java?view=auto&rev=151149
==============================================================================
--- webservices/mirae/trunk/tests/unit/wsdl2ws/TypeMapTest.java (added)
+++ webservices/mirae/trunk/tests/unit/wsdl2ws/TypeMapTest.java Thu Feb 3 04:39:48 2005
@@ -0,0 +1,65 @@
+/* -*- Mirae -*- */
+/*
+ * Copyright 2003-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ *
+ * @author Damitha Kumarage (damitha@hsenid.lk, damitha@opensource.lk)
+ *
+ */
+
+
+import org.apache.mirae.wsdl2ws.WrapperConstants;
+import org.apache.mirae.wsdl2ws.info.Type;
+import org.apache.mirae.wsdl2ws.info.TypeMap;
+import javax.xml.namespace.QName;
+import junit.framework.TestCase;
+
+/**
+ * @author damitha kumarage
+ *
+ */
+public class TypeMapTest extends TestCase {
+ TypeMap typeMap;
+ /*
+ * @see TestCase#setUp()
+ */
+ protected void setUp() throws Exception {
+ super.setUp();
+ typeMap = new TypeMap();
+ }
+
+ /*
+ * @see TestCase#tearDown()
+ */
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ /**
+ * Constructor for TypeMapTest.
+ * @param arg0
+ */
+ public TypeMapTest(String arg0) {
+ super(arg0);
+ }
+
+ public void testGetType() {
+ QName qNameDouble = new QName(WrapperConstants.SOAPENC_NAMESPACE, "double");
+ Type typeDouble = typeMap.getType(qNameDouble);
+ assertNotNull(typeDouble);
+ assertEquals("Test type for double:", "java.lang.Double", typeDouble.getLanguageSpecificName());
+ }
+
+}
Added: webservices/mirae/trunk/wsdl/CATrafficService.wsdl
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/wsdl/CATrafficService.wsdl?view=auto&rev=151149
==============================================================================
--- webservices/mirae/trunk/wsdl/CATrafficService.wsdl (added)
+++ webservices/mirae/trunk/wsdl/CATrafficService.wsdl Thu Feb 3 04:39:48 2005
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<definitions name="CATrafficService" targetNamespace="http://www.xmethods.net/sd/CATrafficService.wsdl" xmlns:tns="http://www.xmethods.net/sd/CATrafficService.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+ <message name="getTrafficRequest">
+ <part name="hwynums" type="xsd:string"/>
+ </message>
+ <message name="getTrafficResponse">
+ <part name="return" type="xsd:string"/>
+ </message>
+ <portType name="CATrafficPortType">
+ <operation name="getTraffic">
+ <input message="tns:getTrafficRequest" name="getTraffic"/>
+ <output message="tns:getTrafficResponse" name="getTrafficResponse"/>
+ </operation>
+ </portType>
+ <binding name="CATrafficBinding" type="tns:CATrafficPortType">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="getTraffic">
+ <soap:operation soapAction="" />
+ <input name="getTraffic">
+ <soap:body use="encoded" namespace="urn:xmethods-CATraffic" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+ </input>
+ <output name="getTrafficResponse">
+ <soap:body use="encoded" namespace="urn:xmethods-CATraffic" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="CATrafficService">
+ <documentation>Provides information on California Highway Conditions.</documentation>
+ <port name="CATrafficPort" binding="tns:CATrafficBinding">
+ <soap:address location="http://services.xmethods.net:80/soap/servlet/rpcrouter"/>
+ </port>
+ </service>
+</definitions>
Propchange: webservices/mirae/trunk/wsdl/CATrafficService.wsdl
------------------------------------------------------------------------------
svn:executable = *
Added: webservices/mirae/trunk/wsdl/Calculator.wsdl
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/wsdl/Calculator.wsdl?view=auto&rev=151149
==============================================================================
--- webservices/mirae/trunk/wsdl/Calculator.wsdl (added)
+++ webservices/mirae/trunk/wsdl/Calculator.wsdl Thu Feb 3 04:39:48 2005
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="http://localhost/axis/Calculator"
+xmlns="http://schemas.xmlsoap.org/wsdl/"
+xmlns:apachesoap="http://xml.apache.org/xml-soap"
+xmlns:impl="http://localhost/axis/Calculator"
+xmlns:intf="http://localhost/axis/Calculator"
+xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:message name="addRequest">
+ <wsdl:part name="in0" type="xsd:int"/>
+ <wsdl:part name="in1" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="addResponse">
+ <wsdl:part name="addReturn" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="subResponse">
+ <wsdl:part name="subReturn" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="subRequest">
+ <wsdl:part name="in0" type="xsd:int"/>
+ <wsdl:part name="in1" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="mulRequest">
+ <wsdl:part name="in0" type="xsd:int"/>
+ <wsdl:part name="in1" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="mulResponse">
+ <wsdl:part name="addReturn" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="divRequest">
+ <wsdl:part name="in0" type="xsd:int"/>
+ <wsdl:part name="in1" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="divResponse">
+ <wsdl:part name="addReturn" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:portType name="Calculator">
+ <wsdl:operation name="add" parameterOrder="in0 in1">
+ <wsdl:input message="intf:addRequest" name="addRequest"/>
+ <wsdl:output message="intf:addResponse" name="addResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="sub" parameterOrder="in0 in1">
+ <wsdl:input message="intf:subRequest" name="subRequest"/>
+ <wsdl:output message="intf:subResponse" name="subResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="mul" parameterOrder="in0 in1">
+ <wsdl:input message="intf:mulRequest" name="mulRequest"/>
+ <wsdl:output message="intf:mulResponse" name="mulResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="div" parameterOrder="in0 in1">
+ <wsdl:input message="intf:divRequest" name="divRequest"/>
+ <wsdl:output message="intf:divResponse" name="divResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="CalculatorSoapBinding" type="intf:Calculator">
+ <wsdlsoap:binding style="rpc"
+ transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="add">
+ <wsdlsoap:operation soapAction="Calculator#add"/>
+ <wsdl:input name="addRequest">
+ <wsdlsoap:body
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://localhost/axis/Calculator"
+ use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="addResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://localhost/axis/Calculator"
+ use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="sub">
+ <wsdlsoap:operation soapAction="Calculator#sub"/>
+ <wsdl:input name="subRequest">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://localhost/axis/Calculator"
+ use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="subResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://localhost/axis/Calculator"
+ use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="mul">
+ <wsdlsoap:operation soapAction="Calculator#mul"/>
+ <wsdl:input name="mulRequest">
+ <wsdlsoap:body
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://localhost/axis/Calculator"
+ use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="mulResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://localhost/axis/Calculator"
+ use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="div">
+ <wsdlsoap:operation soapAction="Calculator#div"/>
+ <wsdl:input name="divRequest">
+ <wsdlsoap:body
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://localhost/axis/Calculator"
+ use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="divResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://localhost/axis/Calculator"
+ use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="Calculator">
+ <wsdl:port binding="intf:CalculatorSoapBinding" name="Calculator">
+ <wsdlsoap:address location="http://localhost:8080/axis/services/Calculator"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: webservices/mirae/trunk/wsdl/Calculator2.wsdl
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/wsdl/Calculator2.wsdl?view=auto&rev=151149
==============================================================================
--- webservices/mirae/trunk/wsdl/Calculator2.wsdl (added)
+++ webservices/mirae/trunk/wsdl/Calculator2.wsdl Thu Feb 3 04:39:48 2005
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="http://calculator2"
+xmlns="http://schemas.xmlsoap.org/wsdl/"
+xmlns:apachesoap="http://xml.apache.org/xml-soap"
+xmlns:impl="http://calculator2"
+xmlns:intf="http://calculator2"
+xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:message name="addRequest">
+ <wsdl:part name="in0" type="xsd:int"/>
+ <wsdl:part name="in1" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="addResponse">
+ <wsdl:part name="addReturn" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="subResponse">
+ <wsdl:part name="subReturn" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="subRequest">
+ <wsdl:part name="in0" type="xsd:int"/>
+ <wsdl:part name="in1" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="mulRequest">
+ <wsdl:part name="in0" type="xsd:int"/>
+ <wsdl:part name="in1" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="mulResponse">
+ <wsdl:part name="addReturn" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="divRequest">
+ <wsdl:part name="in0" type="xsd:int"/>
+ <wsdl:part name="in1" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="divResponse">
+ <wsdl:part name="addReturn" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:portType name="Calculator2">
+ <wsdl:operation name="add" parameterOrder="in0 in1">
+ <wsdl:input message="intf:addRequest" name="addRequest"/>
+ <wsdl:output message="intf:addResponse" name="addResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="sub" parameterOrder="in0 in1">
+ <wsdl:input message="intf:subRequest" name="subRequest"/>
+ <wsdl:output message="intf:subResponse" name="subResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="mul" parameterOrder="in0 in1">
+ <wsdl:input message="intf:mulRequest" name="mulRequest"/>
+ <wsdl:output message="intf:mulResponse" name="mulResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="div" parameterOrder="in0 in1">
+ <wsdl:input message="intf:divRequest" name="divRequest"/>
+ <wsdl:output message="intf:divResponse" name="divResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="Calculator2SoapBinding" type="intf:Calculator2">
+ <wsdlsoap:binding style="rpc"
+ transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="add">
+ <wsdlsoap:operation soapAction="Calculator2#add"/>
+ <wsdl:input name="addRequest">
+ <wsdlsoap:body
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://calculator2"
+ use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="addResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://calculator2"
+ use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="sub">
+ <wsdlsoap:operation soapAction="Calculator2#sub"/>
+ <wsdl:input name="subRequest">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://calculator2"
+ use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="subResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://calculator2"
+ use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="mul">
+ <wsdlsoap:operation soapAction="Calculator2#mul"/>
+ <wsdl:input name="mulRequest">
+ <wsdlsoap:body
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://calculator2"
+ use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="mulResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://calculator2"
+ use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="div">
+ <wsdlsoap:operation soapAction="Calculator2#div"/>
+ <wsdl:input name="divRequest">
+ <wsdlsoap:body
+ encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://calculator2"
+ use="encoded"/>
+ </wsdl:input>
+ <wsdl:output name="divResponse">
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+ namespace="http://calculator2"
+ use="encoded"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="Calculator2">
+ <wsdl:port binding="intf:Calculator2SoapBinding" name="Calculator2">
+ <wsdlsoap:address location="http://localhost:8080/axis/services/Calculator2"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: webservices/mirae/trunk/wsdl/Calculator2Doc.wsdl
URL: http://svn.apache.org/viewcvs/webservices/mirae/trunk/wsdl/Calculator2Doc.wsdl?view=auto&rev=151149
==============================================================================
--- webservices/mirae/trunk/wsdl/Calculator2Doc.wsdl (added)
+++ webservices/mirae/trunk/wsdl/Calculator2Doc.wsdl Thu Feb 3 04:39:48 2005
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="http://localhost/axis/Calculator" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost/axis/Calculator" xmlns:intf="http://localhost/axis/Calculator" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+ <schema elementFormDefault="qualified" targetNamespace="http://localhost/axis/Calculator" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost/axis/Calculator" xmlns:intf="http://localhost/axis/Calculator" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <element name="add">
+ <complexType>
+ <sequence>
+ <element name="arg_0_0" type="xsd:int"/>
+ <element name="arg_1_0" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="addResponse">
+ <complexType>
+ <sequence>
+ <element name="addReturn" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="sub">
+ <complexType>
+ <sequence>
+ <element name="arg_0_1" type="xsd:int"/>
+ <element name="arg_1_1" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="subResponse">
+ <complexType>
+ <sequence>
+ <element name="subReturn" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="mul">
+ <complexType>
+ <sequence>
+ <element name="arg_0_2" type="xsd:int"/>
+ <element name="arg_1_2" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="mulResponse">
+ <complexType>
+ <sequence>
+ <element name="mulReturn" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="div">
+ <complexType>
+ <sequence>
+ <element name="arg_0_3" type="xsd:int"/>
+ <element name="arg_1_3" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="divResponse">
+ <complexType>
+ <sequence>
+ <element name="divReturn" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </wsdl:types>
+
+ <wsdl:message name="subResponse">
+
+ <wsdl:part element="impl:subResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="mulResponse">
+
+ <wsdl:part element="impl:mulResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="subRequest">
+
+ <wsdl:part element="impl:sub" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="divRequest">
+
+ <wsdl:part element="impl:div" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="divResponse">
+
+ <wsdl:part element="impl:divResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="mulRequest">
+
+ <wsdl:part element="impl:mul" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="addResponse">
+
+ <wsdl:part element="impl:addResponse" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="addRequest">
+
+ <wsdl:part element="impl:add" name="parameters"/>
+
+ </wsdl:message>
+
+ <wsdl:portType name="Calculator">
+
+ <wsdl:operation name="add">
+
+ <wsdl:input message="impl:addRequest" name="addRequest"/>
+
+ <wsdl:output message="impl:addResponse" name="addResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="sub">
+
+ <wsdl:input message="impl:subRequest" name="subRequest"/>
+
+ <wsdl:output message="impl:subResponse" name="subResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="mul">
+
+ <wsdl:input message="impl:mulRequest" name="mulRequest"/>
+
+ <wsdl:output message="impl:mulResponse" name="mulResponse"/>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="div">
+
+ <wsdl:input message="impl:divRequest" name="divRequest"/>
+
+ <wsdl:output message="impl:divResponse" name="divResponse"/>
+
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:binding name="CalculatorSoapBinding" type="impl:Calculator">
+
+ <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="add">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="addRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="addResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="sub">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="subRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="subResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="mul">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="mulRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="mulResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ <wsdl:operation name="div">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="divRequest">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="divResponse">
+
+ <wsdlsoap:body use="literal"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ </wsdl:binding>
+
+ <wsdl:service name="Calculator">
+
+ <wsdl:port binding="impl:CalculatorSoapBinding" name="Calculator">
+
+ <wsdlsoap:address location="http://localhost:8080/axis/services/Calculator"/>
+
+ </wsdl:port>
+
+ </wsdl:service>
+
+</wsdl:definitions>