[jbosstools-commits] JBoss Tools SVN: r42550 - trunk/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:48:41 EDT 2012
Author: bfitzpat
Date: 2012-07-12 12:48:41 -0400 (Thu, 12 Jul 2012)
New Revision: 42550
Modified:
trunk/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
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SchemaUtils.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SchemaUtils.java 2012-07-12 16:32:57 UTC (rev 42549)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/SchemaUtils.java 2012-07-12 16:48:41 UTC (rev 42550)
@@ -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