[Mashup-dev] svn commit r20317 - in trunk/mashup/java/modules/patches/axis2: resources src/org/apache/axis2/description
keith at wso2.com
keith at wso2.com
Sun Aug 3 06:15:44 PDT 2008
Author: keith
Date: Sun Aug 3 06:15:43 2008
New Revision: 20317
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=20317
Log:
Applying a patch to fix Mashup-1049
Modified:
trunk/mashup/java/modules/patches/axis2/resources/axis2-patches.txt
trunk/mashup/java/modules/patches/axis2/src/org/apache/axis2/description/AxisEndpoint.java
Modified: trunk/mashup/java/modules/patches/axis2/resources/axis2-patches.txt
URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/patches/axis2/resources/axis2-patches.txt?rev=20317&r1=20316&r2=20317&view=diff
==============================================================================
--- trunk/mashup/java/modules/patches/axis2/resources/axis2-patches.txt (original)
+++ trunk/mashup/java/modules/patches/axis2/resources/axis2-patches.txt Sun Aug 3 06:15:43 2008
@@ -4,4 +4,5 @@
https://issues.apache.org/jira/browse/AXIS2-3877
https://issues.apache.org/jira/browse/AXIS2-3897
https://issues.apache.org/jira/browse/AXIS2-3902
+https://issues.apache.org/jira/browse/AXIS2-3961
https://wso2.org/jira/browse/MASHUP-1048
\ No newline at end of file
Modified: trunk/mashup/java/modules/patches/axis2/src/org/apache/axis2/description/AxisEndpoint.java
URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/patches/axis2/src/org/apache/axis2/description/AxisEndpoint.java?rev=20317&r1=20316&r2=20317&view=diff
==============================================================================
--- trunk/mashup/java/modules/patches/axis2/src/org/apache/axis2/description/AxisEndpoint.java (original)
+++ trunk/mashup/java/modules/patches/axis2/src/org/apache/axis2/description/AxisEndpoint.java Sun Aug 3 06:15:43 2008
@@ -183,10 +183,13 @@
.getTransportIn(transportInDescName);
TransportListener listener = in.getReceiver();
String ip = HttpUtils.getIpAddress(axisConfiguration);
- // we should pass [serviceName].[endpointName] instead of
- // [endpointName]
- String sDOTe = serviceName + "." + name;
- EndpointReference[] eprsForService = listener
+ String sDOTe = serviceName;
+ if (!"jms".equalsIgnoreCase(transportInDescName)) {
+ // we should pass [serviceName].[endpointName] instead of
+ // [endpointName]
+ sDOTe = serviceName + "." + name;
+ }
+ EndpointReference[] eprsForService = listener
.getEPRsForService(sDOTe, ip);
// we consider only the first address return by the listener
if (eprsForService != null && eprsForService.length > 0) {
More information about the Mashup-dev
mailing list