Author: davidillsley
Date: Wed Aug 2 07:34:26 2006
New Revision: 428007
URL: http://svn.apache.org/viewvc?rev=428007&view=rev
Log:
Committing patch for AXIS2-789 including a new redirection integration test.
David
Modified:
webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/Echo.java
Modified:
webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/Echo.java
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/Echo.java?rev=428007&r1=428006&r2=428007&view=diff
==============================================================================
---
webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/Echo.java
(original)
+++
webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/Echo.java
Wed Aug 2 07:34:26 2006
@@ -38,6 +38,9 @@
public OMElement echoOMElement(OMElement omEle) {
omEle.setLocalName(omEle.getLocalName() + "Response");
+ if(omEle.getFirstElement().getText().trim().startsWith("fault")){
+ throw new RuntimeException("fault string found in echoOMElement");
+ }
return omEle;
}
public OMElement echoOM(OMElement omEle) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]