Author: midon
Date: Thu Jul 10 12:36:54 2008
New Revision: 675694
URL: http://svn.apache.org/viewvc?rev=675694&view=rev
Log:
workaround for issue ODE-328: fault name and type must be equal
Modified:
ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/Blog.wsdl
ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/http-binding-ext-PUT.bpel
Modified:
ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/Blog.wsdl
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/Blog.wsdl?rev=675694&r1=675693&r2=675694&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/Blog.wsdl
(original)
+++
ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/Blog.wsdl
Thu Jul 10 12:36:54 2008
@@ -80,7 +80,7 @@
<wsdl:operation name="doPUT">
<wsdl:input message="tns:PUTRequest"/>
<wsdl:output message="tns:NoPartMessage"/>
- <wsdl:fault name="UpdateException" message="tns:UpdateFault"/>
+ <wsdl:fault name="UpdateFault" message="tns:UpdateFault"/>
</wsdl:operation>
<wsdl:operation name="doPOST">
<wsdl:input message="tns:CommentRequest"/>
@@ -123,7 +123,7 @@
</wsdl:input>
<wsdl:output/>
<!-- fault binding -->
- <wsdl:fault name="UpdateException">
+ <wsdl:fault name="UpdateFault">
<!-- name attribute is optional -->
<!--<odex:fault name="UpdateException"/>-->
<odex:fault/>
Modified:
ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/http-binding-ext-PUT.bpel
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/http-binding-ext-PUT.bpel?rev=675694&r1=675693&r2=675694&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/http-binding-ext-PUT.bpel
(original)
+++
ode/branches/APACHE_ODE_1.1/axis2-war/src/test/resources/TestHttpBindingExt_PUT/http-binding-ext-PUT.bpel
Thu Jul 10 12:36:54 2008
@@ -86,10 +86,22 @@
<!-- ############################################### -->
+ <!-- regular PUT -->
+ <!-- ############################################### -->
+ <invoke partnerLink="blogPartnerLink" portType="dummy:BlogPortType"
+ operation="doPUT" inputVariable="putMsg"
outputVariable="noPartMsg"/>
+ <!-- no real test to make here -->
+
+
+ <!-- ############################################### -->
<!-- 500_expected_xml_body - Fault expected -->
<!-- ############################################### -->
-<!--
<scope>
+ <faultHandlers>
+ <catch faultMessageType="dummy:UpdateFault"
faultName="dummy:UpdateFault" faultVariable="faultVar">
+ <empty/>
+ </catch>
+ </faultHandlers>
<sequence>
<assign>
<copy>
@@ -98,11 +110,7 @@
</copy>
</assign>
<invoke partnerLink="blogPartnerLink"
portType="dummy:BlogPortType"
- operation="doPUT" inputVariable="putMsg"
outputVariable="noPartMsg">
- <catch faultMessageType="dummy:UpdateFault"
faultName="dummy:UpdateException" faultVariable="faultVar">
- <empty/>
- </catch>
- </invoke>
+ operation="doPUT" inputVariable="putMsg"
outputVariable="noPartMsg"/>
<assign>
<copy>
<from>'500_expected_xml_body: A fault should have been
thrown'</from>
@@ -114,15 +122,6 @@
</sequence>
</scope>
--->
-
- <!-- ############################################### -->
- <!-- regular PUT -->
- <!-- ############################################### -->
- <invoke partnerLink="blogPartnerLink" portType="dummy:BlogPortType"
- operation="doPUT" inputVariable="putMsg"
outputVariable="noPartMsg"/>
- <!-- no real test to make here -->
-
<!-- ############################################### -->
<!-- 500_no_body - failure expected -->