Author: chamikara
Date: Wed Mar 8 22:32:54 2006
New Revision: 384450
URL: http://svn.apache.org/viewcvs?rev=384450&view=rev
Log:
An invalid dependancy in the interop service.
Modified:
webservices/sandesha/trunk/samples/src/sandesha2/samples/interop/RMInteropService.java
Modified:
webservices/sandesha/trunk/samples/src/sandesha2/samples/interop/RMInteropService.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/samples/src/sandesha2/samples/interop/RMInteropService.java?rev=384450&r1=384449&r2=384450&view=diff
==============================================================================
---
webservices/sandesha/trunk/samples/src/sandesha2/samples/interop/RMInteropService.java
(original)
+++
webservices/sandesha/trunk/samples/src/sandesha2/samples/interop/RMInteropService.java
Wed Mar 8 22:32:54 2006
@@ -22,7 +22,6 @@
import javax.xml.namespace.QName;
-import org.apache.sandesha2.SandeshaException;
import org.apache.ws.commons.om.OMAbstractFactory;
import org.apache.ws.commons.om.OMElement;
import org.apache.ws.commons.om.OMFactory;
@@ -43,9 +42,9 @@
OMElement sequenceElem = in.getFirstChildWithName(new QName
(applicationNamespaceName,Sequence));
if (textElem==null)
- throw new SandeshaException ("'Text' element is not
present as a child of the 'echoString' element");
+ throw new Exception ("'Text' element is not present as
a child of the 'echoString' element");
if (sequenceElem==null)
- throw new SandeshaException ("'Sequence' element is not
present as a child of the 'echoString' element");
+ throw new Exception ("'Sequence' element is not present
as a child of the 'echoString' element");
String textStr = textElem.getText();
String sequenceStr = sequenceElem.getText();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]