Author: midon
Date: Wed Nov 12 11:35:04 2008
New Revision: 713472
URL: http://svn.apache.org/viewvc?rev=713472&view=rev
Log:
ODE-421: tests timeouts and makes sure properties are properly passed to Axis2
Added:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/EndpointTimeoutsTest.java
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.bpel
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.wsdl
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/deploy.xml
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/dummy-service.wsdl
- copied, changed from r712861,
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/dummy-service.wsdl
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/testRequest.soap
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/timeouts.endpoint
Modified:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/dummy-service.wsdl
Modified:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java?rev=713472&r1=713471&r2=713472&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java
(original)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java
Wed Nov 12 11:35:04 2008
@@ -4,6 +4,8 @@
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axis2.AxisFault;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import javax.xml.namespace.QName;
@@ -11,18 +13,24 @@
* @author Matthieu Riou <[EMAIL PROTECTED]>
*/
public class DummyService {
+
+ private static final Log log = LogFactory.getLog(DummyService.class);
+
public String hello(String in) {
- System.out.println("#### IN HELLO ####");
+ log.debug("#### IN HELLO ####");
return in + " world";
}
public String longOperation(String in) {
- System.out.println("#### IN LONG OP ####");
+ long delay = 120000; // == Properties.DEFAULT_MEX_TIMEOUT
+ try {
+ delay = Long.parseLong(in);
+ } catch (NumberFormatException ignore) {}
try {
- Thread.sleep(5000);
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
+ log.debug("#### IN LONG OP: "+delay+"ms ####");
+ Thread.sleep(delay);
+ } catch (InterruptedException ignore) { }
+ log.debug("#### WENT THROUGH ###");
return "Went through " + in;
}
Added:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/EndpointTimeoutsTest.java
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/EndpointTimeoutsTest.java?rev=713472&view=auto
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/EndpointTimeoutsTest.java
(added)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/EndpointTimeoutsTest.java
Wed Nov 12 11:35:04 2008
@@ -0,0 +1,33 @@
+package org.apache.ode.axis2;
+
+import static org.testng.AssertJUnit.assertTrue;
+import org.testng.annotations.Test;
+
+/**
+ * Tests that timeouts set in the *.endpoint files are applied.
+ * The test is designed so a fault must be received.
+ *
+ * Actually, the process invokes a 3-sec long operation (see the process
request).
+ * The specified timeouts are lesser than 3-sec, so if properly applied, a
fault should be trown.
+ * If not applied, the default 120-sec timeouts will be used. 5sec < 120sec,
so the request will succeed.
+ *
+ */
+public class EndpointTimeoutsTest extends Axis2TestBase {
+
+ @Test
+ public void testTimeouts() throws Exception {
+ String bundleName = "TestEndpointTimeouts";
+ // deploy the required service
+ server.deployService(DummyService.class.getCanonicalName());
+ if (server.isDeployed(bundleName)) server.undeployProcess(bundleName);
+ server.deployProcess(bundleName);
+ try {
+ String response =
server.sendRequestFile("http://localhost:8888/processes/helloWorld",
+ bundleName, "testRequest.soap");
+ System.out.println(response);
+ assertTrue("A timeout exception was expected",
response.contains("<soapenv:Fault") && response.contains("Timeout or execution
error when waiting for response to MEX"));
+ } finally {
+ server.undeployProcess(bundleName);
+ }
+ }
+}
\ No newline at end of file
Added:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.bpel
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.bpel?rev=713472&view=auto
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.bpel
(added)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.bpel
Wed Nov 12 11:35:04 2008
@@ -0,0 +1,81 @@
+<!--
+ ~ 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.
+ -->
+<process name="HelloWorld2"
+ targetNamespace="http://ode/bpel/unit-test"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:tns="http://ode/bpel/unit-test"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:test="http://ode/bpel/unit-test.wsdl"
+ xmlns:dummy="http://axis2.ode.apache.org"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+
+ <import location="HelloWorld2.wsdl"
+ namespace="http://ode/bpel/unit-test.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <partnerLinks>
+ <partnerLink name="helloPartnerLink"
+ partnerLinkType="test:HelloPartnerLinkType" myRole="me"/>
+ <partnerLink name="dummyPartnerLink"
+ partnerLinkType="test:DummyPartnerLinkType"
partnerRole="you"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="myVar" messageType="test:HelloMessage"/>
+ <variable name="input" messageType="dummy:longOperationRequest"/>
+ <variable name="output" messageType="dummy:longOperationResponse"/>
+ <variable name="tmpVar" type="xsd:string"/>
+ </variables>
+
+ <sequence>
+ <receive name="start" partnerLink="helloPartnerLink"
portType="test:HelloPortType"
+ operation="hello" variable="myVar" createInstance="yes"/>
+
+ <assign>
+ <copy>
+ <from>
+ <literal>
+ <dummy:faultTest>
+ <dummy:in></dummy:in>
+ </dummy:faultTest>
+ </literal>
+ </from>
+ <to>$input.parameters</to>
+ </copy>
+ <copy>
+ <from>$myVar.TestPart</from>
+ <to>$input.parameters/dummy:in</to>
+ </copy>
+ </assign>
+
+ <invoke partnerLink="dummyPartnerLink"
portType="test:DummyServicePortType"
+ operation="longOperation" inputVariable="input"
outputVariable="output"/>
+
+ <assign>
+ <copy>
+ <from>$output.parameters/return</from>
+ <to>$myVar.TestPart</to>
+ </copy>
+ </assign>
+
+ <reply name="end" partnerLink="helloPartnerLink"
portType="test:HelloPortType"
+ operation="hello" variable="myVar"/>
+ </sequence>
+</process>
Added:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.wsdl
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.wsdl?rev=713472&view=auto
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.wsdl
(added)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.wsdl
Wed Nov 12 11:35:04 2008
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<wsdl:definitions
+ targetNamespace="http://ode/bpel/unit-test.wsdl"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:tns="http://ode/bpel/unit-test.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:dummy="http://axis2.ode.apache.org"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype">
+
+ <wsdl:import namespace="http://axis2.ode.apache.org"
location="dummy-service.wsdl"/>
+
+ <wsdl:message name="HelloMessage">
+ <wsdl:part name="TestPart" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:portType name="HelloPortType">
+ <wsdl:operation name="hello">
+ <wsdl:input message="tns:HelloMessage" name="TestIn"/>
+ <wsdl:output message="tns:HelloMessage" name="TestOut"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType">
+ <soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="hello">
+ <soap:operation soapAction="" style="rpc"/>
+ <wsdl:input>
+ <soap:body
+ namespace="http://ode/bpel/unit-test.wsdl"
+ use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body
+ namespace="http://ode/bpel/unit-test.wsdl"
+ use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="HelloService">
+ <wsdl:port name="HelloPort" binding="tns:HelloSoapBinding">
+ <soap:address
location="http://localhost:8888/ode/processes/helloWorld"/>
+ </wsdl:port>
+ </wsdl:service>
+
+ <plnk:partnerLinkType name="HelloPartnerLinkType">
+ <plnk:role name="me" portType="tns:HelloPortType"/>
+ </plnk:partnerLinkType>
+ <plnk:partnerLinkType name="DummyPartnerLinkType">
+ <plnk:role name="you" portType="dummy:DummyServicePortType"/>
+ </plnk:partnerLinkType>
+</wsdl:definitions>
+
Added:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/deploy.xml
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/deploy.xml?rev=713472&view=auto
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/deploy.xml
(added)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/deploy.xml
Wed Nov 12 11:35:04 2008
@@ -0,0 +1,33 @@
+<!--
+ ~ 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.
+ -->
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
+ xmlns:pns="http://ode/bpel/unit-test"
+ xmlns:wns="http://ode/bpel/unit-test.wsdl"
xmlns:dns="http://axis2.ode.apache.org">
+
+
+ <process name="pns:HelloWorld2">
+ <active>true</active>
+ <provide partnerLink="helloPartnerLink">
+ <service name="wns:HelloService" port="HelloPort"/>
+ </provide>
+ <invoke partnerLink="dummyPartnerLink">
+ <service name="dns:DummyService"
port="DummyServiceSOAP11port_http"/>
+ </invoke>
+ </process>
+</deploy>
Copied:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/dummy-service.wsdl
(from r712861,
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/dummy-service.wsdl)
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/dummy-service.wsdl?p2=ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/dummy-service.wsdl&p1=ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/dummy-service.wsdl&r1=712861&r2=713472&rev=713472&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/dummy-service.wsdl
(original)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/dummy-service.wsdl
Wed Nov 12 11:35:04 2008
@@ -124,49 +124,13 @@
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="DummyServiceSOAP12Binding"
type="ns1:DummyServicePortType">
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
- <wsdl:operation name="faultTest">
- <soap12:operation soapAction="urn:faultTest" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DummyException">
- <soap12:fault use="literal" name="DummyException"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="hello">
- <soap12:operation soapAction="urn:hello" style="document"/>
+ <wsdl:operation name="longOperation">
+ <soap:operation soapAction="urn:longOperation" style="document"/>
<wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="DummyServiceHttpBinding"
type="ns1:DummyServicePortType">
- <http:binding verb="POST"/>
- <wsdl:operation name="faultTest">
- <http:operation location="DummyService/faultTest"/>
- <wsdl:input>
- <mime:content type="text/xml" part="faultTest"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="faultTest"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="hello">
- <http:operation location="DummyService/hello"/>
- <wsdl:input>
- <mime:content type="text/xml" part="hello"/>
+ <soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
- <mime:content type="text/xml" part="hello"/>
+ <soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
@@ -174,11 +138,5 @@
<wsdl:port name="DummyServiceSOAP11port_http"
binding="ns1:DummyServiceSOAP11Binding">
<soap:address
location="http://localhost:8888/processes/DummyService"/>
</wsdl:port>
- <wsdl:port name="DummyServiceSOAP12port_http"
binding="ns1:DummyServiceSOAP12Binding">
- <soap12:address
location="http://localhost:8888/processes/DummyService"/>
- </wsdl:port>
- <wsdl:port name="DummyServiceHttpport"
binding="ns1:DummyServiceHttpBinding">
- <http:address
location="http://localhost:8888/processes/DummyService"/>
- </wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
Added:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/testRequest.soap
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/testRequest.soap?rev=713472&view=auto
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/testRequest.soap
(added)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/testRequest.soap
Wed Nov 12 11:35:04 2008
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+ <!-- test soap message -->
+ <SOAP-ENV:Body>
+ <ns1:hello xmlns:ns1="http://ode/bpel/unit-test.wsdl">
+ <!-- this defines how long the operation would take. see
#DummyService.java-->
+ <TestPart xmlns="">3000</TestPart>
+ </ns1:hello>
+ </SOAP-ENV:Body>
+</SOAP-ENV:Envelope>
Added:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/timeouts.endpoint
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/timeouts.endpoint?rev=713472&view=auto
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/timeouts.endpoint
(added)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/timeouts.endpoint
Wed Nov 12 11:35:04 2008
@@ -0,0 +1,10 @@
+
+
+# timeout in milliseconds until the ODE will wait for answer.
+mex.timeout=2000
+
+# timeout in milliseconds until a connection is established
+#http.connection.timeout=480000
+
+# timeout in milliseconds for waiting for data
+http.socket.timeout=1000
Modified:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/dummy-service.wsdl
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/dummy-service.wsdl?rev=713472&r1=713471&r2=713472&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/dummy-service.wsdl
(original)
+++
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/dummy-service.wsdl
Wed Nov 12 11:35:04 2008
@@ -125,60 +125,9 @@
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:binding name="DummyServiceSOAP12Binding"
type="ns1:DummyServicePortType">
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
- <wsdl:operation name="faultTest">
- <soap12:operation soapAction="urn:faultTest" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DummyException">
- <soap12:fault use="literal" name="DummyException"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="hello">
- <soap12:operation soapAction="urn:hello" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap12:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:binding name="DummyServiceHttpBinding"
type="ns1:DummyServicePortType">
- <http:binding verb="POST"/>
- <wsdl:operation name="faultTest">
- <http:operation location="DummyService/faultTest"/>
- <wsdl:input>
- <mime:content type="text/xml" part="faultTest"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="faultTest"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="hello">
- <http:operation location="DummyService/hello"/>
- <wsdl:input>
- <mime:content type="text/xml" part="hello"/>
- </wsdl:input>
- <wsdl:output>
- <mime:content type="text/xml" part="hello"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
<wsdl:service name="DummyService">
<wsdl:port name="DummyServiceSOAP11port_http"
binding="ns1:DummyServiceSOAP11Binding">
<soap:address
location="http://localhost:8888/processes/DummyService"/>
</wsdl:port>
- <wsdl:port name="DummyServiceSOAP12port_http"
binding="ns1:DummyServiceSOAP12Binding">
- <soap12:address
location="http://localhost:8888/processes/DummyService"/>
- </wsdl:port>
- <wsdl:port name="DummyServiceHttpport"
binding="ns1:DummyServiceHttpBinding">
- <http:address
location="http://localhost:8888/processes/DummyService"/>
- </wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file