You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2009/10/07 15:47:10 UTC
svn commit: r822735 -
/tuscany/java/sca/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl
Author: antelder
Date: Wed Oct 7 13:47:10 2009
New Revision: 822735
URL: http://svn.apache.org/viewvc?rev=822735&view=rev
Log:
Add exceptions methods to wsdl interface as the 2.x runtime reports an interface missmatch without them
Modified:
tuscany/java/sca/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl
Modified: tuscany/java/sca/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl
URL: http://svn.apache.org/viewvc/tuscany/java/sca/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl?rev=822735&r1=822734&r2=822735&view=diff
==============================================================================
--- tuscany/java/sca/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl (original)
+++ tuscany/java/sca/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl Wed Oct 7 13:47:10 2009
@@ -64,6 +64,9 @@
</sequence>
</complexType>
</element>
+
+ <element name="CheckedException" type="xsd:string" />
+
</schema>
</wsdl:types>
@@ -84,6 +87,10 @@
<wsdl:part element="tns:getPersonGreetingsResponse" name="parameters"/>
</wsdl:message>
+ <wsdl:message name="CheckedException">
+ <wsdl:part element="tns:CheckedException" name="fault" />
+ </wsdl:message>
+
<wsdl:portType name="HelloWorld">
<wsdl:operation name="getGreetings">
<wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
@@ -93,6 +100,13 @@
<wsdl:input message="tns:getPersonGreetingsRequest" name="getPersonGreetingsRequest"/>
<wsdl:output message="tns:getPersonGreetingsResponse" name="getPersonGreetingsResponse"/>
</wsdl:operation>
+ <wsdl:operation name="throwChecked">
+ <wsdl:input message="tns:getPersonGreetingsRequest" name="getPersonGreetingsRequest"/>
+ <wsdl:fault message="tns:CheckedException" name="CheckedException"/>
+ </wsdl:operation>
+ <wsdl:operation name="throwUnChecked">
+ <wsdl:input message="tns:getPersonGreetingsRequest" name="getPersonGreetingsRequest"/>
+ </wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">