Author: mmusaji
Date: 2013-03-06 06:35:11 -0500 (Wed, 06 Mar 2013)
New Revision: 17384
Modified:
common/branches/jbossws-common-2.0.4.GA_BZ-916944/src/main/java/org/jboss/ws/common/deployment/Message.properties
common/branches/jbossws-common-2.0.4.GA_BZ-916944/src/main/java/org/jboss/ws/common/deployment/SOAPAddressWSDLParser.java
Log:
[BZ916944] Added changes from JBWS-3570
Modified:
common/branches/jbossws-common-2.0.4.GA_BZ-916944/src/main/java/org/jboss/ws/common/deployment/Message.properties
===================================================================
---
common/branches/jbossws-common-2.0.4.GA_BZ-916944/src/main/java/org/jboss/ws/common/deployment/Message.properties 2013-03-06
11:24:44 UTC (rev 17383)
+++
common/branches/jbossws-common-2.0.4.GA_BZ-916944/src/main/java/org/jboss/ws/common/deployment/Message.properties 2013-03-06
11:35:11 UTC (rev 17384)
@@ -22,3 +22,4 @@
USING_INITAL_CLASS_LAODER_AS_RUNTIME_LAODER=Using inital class laoder as runtime laoder.
Hack?
ERROR_CLOSING_JAXB_INTRODUCTIONS=[{0}] Error closing JAXB Introductions Configurations
stream
ERROR_DESTROYING_DEPLOYMENT=Error while destroying deployment due to previous exception
+WSDL_URL_ERROR=Error creating WSDL URL
Modified:
common/branches/jbossws-common-2.0.4.GA_BZ-916944/src/main/java/org/jboss/ws/common/deployment/SOAPAddressWSDLParser.java
===================================================================
---
common/branches/jbossws-common-2.0.4.GA_BZ-916944/src/main/java/org/jboss/ws/common/deployment/SOAPAddressWSDLParser.java 2013-03-06
11:24:44 UTC (rev 17383)
+++
common/branches/jbossws-common-2.0.4.GA_BZ-916944/src/main/java/org/jboss/ws/common/deployment/SOAPAddressWSDLParser.java 2013-03-06
11:35:11 UTC (rev 17384)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
@@ -34,8 +34,8 @@
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
+import java.util.Set;
import java.util.ResourceBundle;
-import java.util.Set;
import javax.xml.namespace.QName;
import javax.xml.stream.XMLStreamConstants;
@@ -90,6 +90,7 @@
public String filterSoapAddress(QName serviceName, QName portName, String[]
transportNamespaces)
{
+ //get the soap:address of the required service/port if the corresponding binding
uses SOAP over JMS transport
WSDLServiceMetaData smd = metadata.getServices().get(serviceName);
if (smd != null)
{
@@ -125,7 +126,7 @@
}
catch (MalformedURLException e)
{
- throw new WebServiceException(BundleUtils.getMessage(bundle,
"FAILED_TO_READ", new Object[]{ wsdlUrl , e.getMessage()}), e);
+ throw new IllegalStateException(BundleUtils.getMessage(bundle,
"WSDL_URL_ERROR"), e);
}
}
Show replies by date