summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca
diff options
context:
space:
mode:
authorramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68>2009-02-19 08:36:37 +0000
committerramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68>2009-02-19 08:36:37 +0000
commit2298c8abcd82dffe2c187a096ec6f969f1133bc7 (patch)
tree3462379ac6c7ba01edb458a3cbf43bf49409c47a /branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca
parente94c93aefa1cf98991b1e711111133852991f95f (diff)
Fixes for TUSCANY-2840-Part3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@745779 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca')
-rw-r--r--branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransfer.wsdl42
-rw-r--r--branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransferservice.composite7
2 files changed, 41 insertions, 8 deletions
diff --git a/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransfer.wsdl b/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransfer.wsdl
index bc5d3ce7ca..df52fff9b1 100644
--- a/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransfer.wsdl
+++ b/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransfer.wsdl
@@ -40,7 +40,7 @@
<element name="uploadImageFileResponse">
<complexType>
<sequence>
- <element name="uploadFileReturn" type="xsd:string"/>
+ <element name="uploadImageFileReturn" type="xsd:string"/>
</sequence>
</complexType>
</element>
@@ -54,7 +54,7 @@
<element name="uploadSourceFileResponse">
<complexType>
<sequence>
- <element name="uploadFileReturn" type="xsd:string"/>
+ <element name="uploadSourceFileReturn" type="xsd:string"/>
</sequence>
</complexType>
</element>
@@ -68,7 +68,7 @@
<element name="uploadDataHandlerFileResponse">
<complexType>
<sequence>
- <element name="uploadFileReturn" type="xsd:string"/>
+ <element name="uploadDataHandlerFileReturn" type="xsd:string"/>
</sequence>
</complexType>
</element>
@@ -82,7 +82,21 @@
<element name="uploadOMElementFileResponse">
<complexType>
<sequence>
- <element name="uploadFileReturn" type="xsd:string"/>
+ <element name="uploadOMElementFileReturn" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="sendMyException">
+ <complexType>
+ <sequence>
+ <element name="attachment" type="xsd:anyType"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="sendMyExceptionResponse">
+ <complexType>
+ <sequence>
+ <element name="sendMyExceptionReturn" type="xsd:string"/>
</sequence>
</complexType>
</element>
@@ -117,6 +131,13 @@
<wsdl:message name="uploadOMElementFileResponse">
<wsdl:part element="tns:uploadOMElementFileResponse" name="parameters"/>
</wsdl:message>
+
+ <wsdl:message name="sendMyExceptionRequest">
+ <wsdl:part element="tns:sendMyException" name="parameters"/>
+ </wsdl:message>
+ <wsdl:message name="sendMyExceptionResponse">
+ <wsdl:part element="tns:sendMyExceptionResponse" name="parameters"/>
+ </wsdl:message>
<wsdl:portType name="FileTransfer">
<wsdl:operation name="uploadImageFile">
@@ -135,6 +156,10 @@
<wsdl:input message="tns:uploadOMElementFileRequest" name="uploadOMElementFileRequest" wsaw:Action="attachment"/>
<wsdl:output message="tns:uploadOMElementFileResponse" name="uploadOMElementFileResponse"/>
</wsdl:operation>
+ <wsdl:operation name="sendMyException">
+ <wsdl:input message="tns:sendMyExceptionRequest" name="sendMyExceptionRequest"/>
+ <wsdl:output message="tns:sendMyExceptionResponse" name="sendMyExceptionResponse"/>
+ </wsdl:operation>
</wsdl:portType>
<wsdl:binding name="FileTransferSoapBinding" type="tns:FileTransfer">
@@ -175,6 +200,15 @@
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
+ <wsdl:operation name="sendMyException">
+ <wsdlsoap:operation soapAction="" style="document"/>
+ <wsdl:input name="sendMyExceptionRequest">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="sendMyExceptionResponse">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
</wsdl:binding>
<wsdl:service name="FileTransferService">
diff --git a/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransferservice.composite b/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransferservice.composite
index f1d5891070..beba2512da 100644
--- a/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransferservice.composite
+++ b/branches/sca-java-1.x/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransferservice.composite
@@ -25,8 +25,8 @@
<component name="FileTransferServiceComponent">
<implementation.java class="org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.FileTransferServiceImpl" />
<service name="FileTransferService">
- <interface.java interface="org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.FileTransferService"/>
- <!--interface.wsdl interface="http://filetransfer#wsdl.interface(FileTransfer)" /-->
+ <interface.java interface="org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.FileTransferService"/>
+ <!-- interface.wsdl interface="http://filetransfer#wsdl.interface(FileTransfer)" /-->
<binding.ws uri="http://localhost:8085/FileTransferService" requires="MTOM"/>
</service>
</component>
@@ -34,8 +34,7 @@
<component name="FileTransferClientComponent">
<implementation.java class="org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.FileTransferClient"/>
<reference name="fileTransferService">
- <interface.java interface="org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.FileTransferService"/>
- <!--interface.wsdl interface="http://filetransfer#wsdl.interface(FileTransfer)" /-->
+ <interface.java interface="org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.FileTransferService"/>
<binding.ws uri="http://localhost:8085/FileTransferService" requires="MTOM"/>
</reference>
</component>