You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by ch...@apache.org on 2006/07/14 12:23:53 UTC

svn commit: r421860 - /webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java

Author: chamikara
Date: Fri Jul 14 03:23:53 2006
New Revision: 421860

URL: http://svn.apache.org/viewvc?rev=421860&view=rev
Log:
Fixed the error pointed by Damitha

Modified:
    webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java

Modified: webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java?rev=421860&r1=421859&r2=421860&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java (original)
+++ webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java Fri Jul 14 03:23:53 2006
@@ -623,10 +623,10 @@
 		SOAPFactory factory = null;
 		SOAPEnvelope dummyEnvelope = null;
 		if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapNamespaceURI)) {
-			factory = new SOAP11Factory();
+			factory = new SOAP12Factory();
 			dummyEnvelope = factory.getDefaultEnvelope();
 		} else {
-			factory = new SOAP12Factory();
+			factory = new SOAP11Factory();
 			dummyEnvelope = factory.getDefaultEnvelope();
 		}
 



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org