[jbosstools-commits] JBoss Tools SVN: r42552 - branches/jbosstools-3.3.x/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Jul 12 12:51:47 EDT 2012


Author: bfitzpat
Date: 2012-07-12 12:51:47 -0400 (Thu, 12 Jul 2012)
New Revision: 42552

Modified:
   branches/jbosstools-3.3.x/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SchemaUtils.java
Log:
JBIDE-12327 - Fix for WS Tester to better handle already-prefixed namespaces when processing SOAP request messages (for 3.3.x stream)

Modified: branches/jbosstools-3.3.x/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SchemaUtils.java
===================================================================
--- branches/jbosstools-3.3.x/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SchemaUtils.java	2012-07-12 16:50:10 UTC (rev 42551)
+++ branches/jbosstools-3.3.x/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SchemaUtils.java	2012-07-12 16:51:47 UTC (rev 42552)
@@ -872,6 +872,9 @@
 		}
 		
 		String tnsprefix = uri.substring(uri.indexOf("://") + 3, uri.length()); //$NON-NLS-1$
+		if (tnsprefix.contains(":")) {//$NON-NLS-1$
+			tnsprefix = uri.substring(0, uri.indexOf(':'));
+		}
 		if (tnsprefix.length() > 4) {
 			if (tnsprefix.endsWith("/")) { //$NON-NLS-1$
 				tnsprefix = tnsprefix.substring(0, tnsprefix.length() - 1);



More information about the jbosstools-commits mailing list