antelder 2003/03/31 04:45:52
Modified: java/src/org/apache/wsif/providers/soap/apacheaxis
WSIFPort_ApacheAxis.java WSIFAXISConstants.java
Log:
Update JMSConstants for new JMS URL in SOAP location
Revision Changes Path
1.27 +2 -2
xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFPort_ApacheAxis.java
Index: WSIFPort_ApacheAxis.java
===================================================================
RCS file:
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFPort_ApacheAxis.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- WSIFPort_ApacheAxis.java 27 Mar 2003 12:21:35 -0000 1.26
+++ WSIFPort_ApacheAxis.java 31 Mar 2003 12:45:52 -0000 1.27
@@ -83,10 +83,10 @@
import org.apache.wsif.providers.WSIFDynamicTypeMap;
import org.apache.wsif.util.WSIFProperties;
import org.apache.wsif.util.WSIFUtils;
-import org.apache.wsif.util.jms.WSIFJMSConstants;
import org.apache.wsif.util.jms.WSIFJMSDestination;
import org.apache.wsif.util.jms.WSIFJMSFinder;
import org.apache.wsif.wsdl.extensions.jms.JMSAddress;
+import org.apache.wsif.wsdl.extensions.jms.JMSConstants;
/**
* This class implements a WSDL SOAP binding using Apache AXIS.
@@ -228,7 +228,7 @@
"soap:address with location URI is required
for " + port);
}
- if (s.startsWith(WSIFJMSConstants.jmsURLProtcol)) {
+ if (s.startsWith(JMSConstants.JMS_URL_PROTOCOL)) {
this.jmsAddress =
WSIFJMSDestination.getJMSAddressFromURL(s);
this.soapAddress = null;
} else {
1.4 +3 -2
xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFAXISConstants.java
Index: WSIFAXISConstants.java
===================================================================
RCS file:
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFAXISConstants.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WSIFAXISConstants.java 14 Jan 2003 14:59:55 -0000 1.3
+++ WSIFAXISConstants.java 31 Mar 2003 12:45:52 -0000 1.4
@@ -60,6 +60,8 @@
import java.util.ArrayList;
import java.util.Arrays;
+import org.apache.wsif.wsdl.extensions.jms.JMSConstants;
+
/**
* Various constants used by the WSIF AXIS provider classes
*
@@ -73,8 +75,7 @@
public static final String HTTP_TRANSPORT_URI =
"http://schemas.xmlsoap.org/soap/http";
- public static final String JMS_TRANSPORT_URI =
- "http://schemas.xmlsoap.org/soap/jms";
+ public static final String JMS_TRANSPORT_URI = JMSConstants.NS_URI_SOAPJMS;
public static final ArrayList VALID_TRANSPORTS =
new ArrayList(