You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mi...@apache.org on 2008/11/14 01:26:11 UTC
svn commit: r713883 - in /ode/trunk/axis2-war/src/test:
java/org/apache/ode/axis2/DummyService.java
resources/TestStructuredFault/HelloWorld2.bpel
Author: midon
Date: Thu Nov 13 16:26:10 2008
New Revision: 713883
URL: http://svn.apache.org/viewvc?rev=713883&view=rev
Log:
elementFormDefault is unqualified: fix the built element
Modified:
ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java
ode/trunk/axis2-war/src/test/resources/TestStructuredFault/HelloWorld2.bpel
Modified: ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java
URL: http://svn.apache.org/viewvc/ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java?rev=713883&r1=713882&r2=713883&view=diff
==============================================================================
--- ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java (original)
+++ ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/DummyService.java Thu Nov 13 16:26:10 2008
@@ -23,7 +23,7 @@
public String faultTest(String in) throws DummyException, AxisFault {
OMFactory factory = OMAbstractFactory.getOMFactory();
OMElement root = factory.createOMElement(new QName("http://axis2.ode.apache.org", "DummyException"));
- OMElement reason = factory.createOMElement(new QName("http://axis2.ode.apache.org", "reason"));
+ OMElement reason = factory.createOMElement(new QName("", "reason"));
reason.setText("Something went wrong. Fortunately, it was meant to be.");
root.addChild(reason);
throw new AxisFault(new QName("http://schemas.xmlsoap.org/soap/envelope/", "Client"), "dummy reason",
Modified: ode/trunk/axis2-war/src/test/resources/TestStructuredFault/HelloWorld2.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/axis2-war/src/test/resources/TestStructuredFault/HelloWorld2.bpel?rev=713883&r1=713882&r2=713883&view=diff
==============================================================================
--- ode/trunk/axis2-war/src/test/resources/TestStructuredFault/HelloWorld2.bpel (original)
+++ ode/trunk/axis2-war/src/test/resources/TestStructuredFault/HelloWorld2.bpel Thu Nov 13 16:26:10 2008
@@ -62,7 +62,7 @@
<sequence>
<assign>
<copy>
- <from>$faultVar.parameters/dummy:reason</from>
+ <from>$faultVar.parameters/reason</from>
<to>$myVar.TestPart</to>
</copy>
</assign>