axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r407706 - in /webservices/axis/trunk/c/tests/auto_build/testcases: client/c/ tests/ wsdls/
Date Fri, 19 May 2006 04:38:25 GMT
Author: nadiramra
Date: Thu May 18 21:38:24 2006
New Revision: 407706

URL: http://svn.apache.org/viewvc?rev=407706&view=rev
Log:
C support fixes/enhancements. Testcases for C bindings.

Added:
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestSetEndpointClient.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportPropertiesClient.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolClient.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolFaultClient.c
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportTimeoutClient.c
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestSetEndpointC.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportPropertiesC.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolC.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolFaultC.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportTimeoutC.xml
    webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/TestTransportTimeoutC.wsdl

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestSetEndpointClient.c
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestSetEndpointClient.c?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestSetEndpointClient.c (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestSetEndpointClient.c Thu
May 18 21:38:24 2006
@@ -0,0 +1,50 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// 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.
+
+/* This test tests the setEndPoint(const char * pcEndPointURI) method
+ * in Stub class  
+ */
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "CommonClientTestCode.h"
+
+#include "Calculator.h"
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+    
+    char endpoint[256];
+    const char* bogus_url="http://no-one.home/rubbish";
+    const char* url="http://localhost:80/axis/Calculator";
+    int iResult;
+
+    if(argc>1)
+        url = argv[1];
+
+    ws = get_Calculator_stub(bogus_url);
+    axiscStubSetEndPoint(ws, url);
+
+    iResult = add(ws, 2,3);
+    printf("%d\n",  iResult );
+
+    destroy_Calculator_stub(ws);
+    
+    printf( "---------------------- TEST COMPLETE -----------------------------\n" );
+    return 0;
+}
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportPropertiesClient.c
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportPropertiesClient.c?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportPropertiesClient.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportPropertiesClient.c
Thu May 18 21:38:24 2006
@@ -0,0 +1,106 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// 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.
+
+/*
+ * This client tests setting and getting the transport properties.
+ * The test framework also verify the message content on the wire.
+ */
+
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "CommonClientTestCode.h"
+
+#include "Calculator.h"
+
+void printProperties1(AXISCHANDLE obj, int response);
+void printProperties(AXISCHANDLE obj);
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+    
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    int iResult;
+    int rc=1;
+
+    axiscAxisRegisterExceptionHandler(exceptionHandler);
+    
+    if(argc>1)
+        url = argv[1];
+
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+    
+    axiscStubSetTransportProtocol(ws, AXISC_APTHTTP1_1);
+    axiscStubSetTransportProperty(ws, "Accept-Language", " da, en-gb;q=0.8, en;q=0.7");
+    axiscStubSetTransportProperty(ws, "Accept-Language", "l1");
+    axiscStubSetTransportProperty(ws, "Date", "Mon Dec  6 13:37:06 GMT 2004");
+    axiscStubSetTransportProperty(ws, "Accept-Language", "l22");
+
+    printf( "Full properties list \n" );
+    printProperties(ws);
+
+    //deleting the transport with specific key value
+    axiscStubDeleteTransportProperty(ws, "Accept-Language",2);
+
+    printf( "After deleteTransportProperty(key,int) method  \n" );
+    printProperties(ws);
+
+    //Go to the last property and delete
+    axiscStubGetFirstTransportPropertyKey(ws, 0);
+    axiscStubGetNextTransportPropertyKey(ws, 0);
+    axiscStubGetNextTransportPropertyKey(ws, 0);
+    axiscStubDeleteCurrentTransportProperty(ws, 0);
+    printf( "After deleteCurrentProperty method \n" );
+    printProperties(ws);
+
+    iResult = add(ws, 2,3);
+    printf("%d\n", iResult );
+    rc=0;
+    
+    destroy_Calculator_stub(ws);
+    
+    printf( "---------------------- TEST COMPLETE -----------------------------\n");
+    return rc;
+}
+
+void printProperties(AXISCHANDLE obj)
+{
+    printf( " ** Request Properties **\n" );
+    printProperties1(obj, 0);
+
+    printf( " ** Response Properties **\n" );
+    printProperties1(obj, 1);
+    printf( " ****************************************************** \n" );
+}
+
+void printProperties1(AXISCHANDLE obj, int response)
+{
+    const char* transprop1;
+    transprop1 = axiscStubGetFirstTransportPropertyKey(obj, response);
+    do
+    {
+        transprop1 = axiscStubGetCurrentTransportPropertyKey(obj, response);
+        printf( "     current transport property key = %s", transprop1 ? transprop1 : "<NULL>");
+
+        transprop1 = axiscStubGetCurrentTransportPropertyValue(obj, response);
+        printf( " value = %s\n", transprop1 ? transprop1 : "<NULL>");
+    }
+    while ( (transprop1 = axiscStubGetNextTransportPropertyKey(obj, response)) != NULL);
+    return ;
+}

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolClient.c
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolClient.c?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolClient.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolClient.c
Thu May 18 21:38:24 2006
@@ -0,0 +1,53 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// 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.
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "CommonClientTestCode.h"
+
+#include "Calculator.h"
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+    
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    int iResult;
+    int rc=1;
+
+    axiscAxisRegisterExceptionHandler(exceptionHandler);
+    
+    if(argc>1)
+        url = argv[1];
+
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+    axiscStubSetTransportProtocol(ws, AXISC_APTHTTP1_0);
+    printf( "Protocol used by the transport is  = %d\n", axiscStubGetTransportProtocol(ws)
);
+    iResult = add(ws, 2,3);
+    printf( "Result is = %d\n", iResult );
+    axiscStubSetTransportProtocol(ws, AXISC_APTHTTP1_1);
+    printf( "Protocol used by the transport is  = %d\n" , axiscStubGetTransportProtocol(ws)
);
+    iResult = add(ws, 5,6);
+    printf( "Result is = %d\n", iResult );
+    rc=0;
+
+    destroy_Calculator_stub(ws);    
+    
+    printf( "---------------------- TEST COMPLETE -----------------------------\n");
+    return rc;
+}

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolFaultClient.c
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolFaultClient.c?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolFaultClient.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportProtocolFaultClient.c
Thu May 18 21:38:24 2006
@@ -0,0 +1,54 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// 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.
+
+/* 
+ * This test is written to test the functionality of getTransportProtocol() API
+ * when a an unsupported protocl is set using setTransportProtocol() method.
+ */ 
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "CommonClientTestCode.h"
+
+#include "Calculator.h"
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+    
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/Calculator";
+    int iResult;
+    int rc=1;
+
+    axiscAxisRegisterExceptionHandler(exceptionHandler);
+    
+    if(argc>1)
+        url = argv[1];
+
+    sprintf(endpoint, "%s", url);
+    ws = get_Calculator_stub(endpoint);
+    axiscStubSetTransportProtocol(ws, AXISC_APTFTP);
+    printf( "Protocol used by the transport is  = %d\n" , axiscStubGetTransportProtocol(ws)
);
+    iResult = add(ws, 2,3);
+    destroy_Calculator_stub(ws);
+    
+    if (exceptionOccurred == C_FALSE)
+        printf("Result is = %d\n", iResult );
+    rc=0;
+
+    return rc;
+}

Added: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportTimeoutClient.c
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportTimeoutClient.c?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportTimeoutClient.c
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/TestTransportTimeoutClient.c
Thu May 18 21:38:24 2006
@@ -0,0 +1,58 @@
+// Copyright 2003-2004 The Apache Software Foundation.
+// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
+// 
+// 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.
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "CommonClientTestCode.h"
+
+#include "Timeout.h"
+
+void myExceptionHandler(int errorCode, const char *errorString)
+{
+    exceptionOccurred = C_TRUE;    
+    printf("in AxisException block\n");
+    printf("Exception : %s\n",  errorString);
+}
+
+
+int main(int argc, char* argv[])
+{
+    AXISCHANDLE ws;
+    
+    char endpoint[256];
+    const char* url="http://localhost:80/axis/TestTransportTimeout";
+    int iResult;
+    int rc=1;
+
+    axiscAxisRegisterExceptionHandler(myExceptionHandler);
+    
+    if(argc>1)
+        url = argv[1];
+
+    sprintf(endpoint, "%s", url);
+    ws = get_Timeout_stub(endpoint);
+    axiscStubSetTransportTimeout(ws, 2);
+
+    iResult = add(ws, 2,3);
+    if (exceptionOccurred == C_FALSE)
+        printf("%d\n", iResult );
+    rc=0;
+    destroy_Timeout_stub(ws);
+    printf("---------------------- TEST COMPLETE -----------------------------\n");
+    return rc;
+}
+
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestSetEndpointC.xml
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestSetEndpointC.xml?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestSetEndpointC.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestSetEndpointC.xml Thu May
18 21:38:24 2006
@@ -0,0 +1,16 @@
+<test>
+    <name>TestSetEndpointC</name>
+    <description>TestSetEndpointC</description>
+    <clientLang>c</clientLang>
+    <clientCode>TestSetEndpointClient.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+			   CalculatorDoc.cpp.out
+        </output>
+        <request>
+            TestSetEndpoint.request
+			</request>
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportPropertiesC.xml
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportPropertiesC.xml?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportPropertiesC.xml
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportPropertiesC.xml
Thu May 18 21:38:24 2006
@@ -0,0 +1,16 @@
+<test>
+    <name>TestTransportPropertiesC</name>
+    <description>TestTransportPropertiesC</description>
+    <clientLang>c</clientLang>
+    <clientCode>TestTransportPropertiesClient.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            TestTransportProperties.expected
+        </output>
+        <request>
+            TestTransportPropertiesRequest.out
+        </request>
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolC.xml
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolC.xml?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolC.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolC.xml Thu
May 18 21:38:24 2006
@@ -0,0 +1,17 @@
+<test>
+    <name>TestTransportProtocolC</name>
+    <description>TestTransportProtocolC</description>
+    <clientLang>c</clientLang>
+    <clientCode>TestTransportProtocolClient.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            TestTransportProtocol.expected
+        </output>
+	<request>
+	    TestTransportProtocolRequest.out
+	</request>
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+	<nomonitor>true</nomonitor>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolFaultC.xml
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolFaultC.xml?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolFaultC.xml
(added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportProtocolFaultC.xml
Thu May 18 21:38:24 2006
@@ -0,0 +1,13 @@
+<test>
+    <name>TestTransportProtocolFaultC</name>
+    <description>TestTransportProtocolFaultC test</description>
+    <clientLang>c</clientLang>
+    <clientCode>TestTransportProtocolFaultClient.c</clientCode>
+    <wsdl>CalculatorDocC.wsdl</wsdl>
+    <expected>
+        <output>
+            TestTransportProtocolFault.expected
+        </output>
+    </expected>
+	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportTimeoutC.xml
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportTimeoutC.xml?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportTimeoutC.xml (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/TestTransportTimeoutC.xml Thu
May 18 21:38:24 2006
@@ -0,0 +1,13 @@
+<test>
+    <name>TestTransportTimeoutC</name>
+    <description>TestTransportTimeoutC</description>
+    <clientLang>c</clientLang>
+    <clientCode>TestTransportTimeoutClient.c</clientCode>
+    <wsdl>TestTransportTimeoutC.wsdl</wsdl>
+    <expected>
+        <output>
+            TestTransportTimeout.expected
+        </output>
+    </expected>
+	<endpoint>http://localhost:80/axis/TestTransportTimeout</endpoint>
+</test>

Added: webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/TestTransportTimeoutC.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/TestTransportTimeoutC.wsdl?rev=407706&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/TestTransportTimeoutC.wsdl (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/wsdls/TestTransportTimeoutC.wsdl Thu
May 18 21:38:24 2006
@@ -0,0 +1,204 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2003-2004 The Apache Software Foundation.                      -->
+<!-- (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved                   -->
+<!--                                                                          -->
+<!-- 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.                                           -->
+
+<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>
+  </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="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="Timeout">
+
+      <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:portType>
+
+   <wsdl:binding name="TestTransportTimeoutSoapBinding" type="impl:Timeout">
+
+      <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:binding>
+
+   <wsdl:service name="TestTransportTimeout">
+
+      <wsdl:port binding="impl:TestTransportTimeoutSoapBinding" name="TestTransportTimeoutPort">
+
+         <wsdlsoap:address location="http://localhost/axis/TestTransportTimeout"/>
+
+      </wsdl:port>
+
+   </wsdl:service>
+
+</wsdl:definitions>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message