Author: dkulp
Date: Wed Aug 14 18:04:10 2013
New Revision: 1513984
URL: http://svn.apache.org/r1513984
Log:
Merged revisions 1513976 via git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1513976 | dkulp | 2013-08-14 13:52:06 -0400 (Wed, 14 Aug 2013) | 3 lines
[CXF-5195] Update check for hte proper namespace
Patch from Alex Halovanic applied
........
Modified:
cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java
Modified:
cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java?rev=1513984&r1=1513983&r2=1513984&view=diff
==============================================================================
---
cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java
(original)
+++
cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/wsdl/EndpointReferenceUtils.java
Wed Aug 14 18:04:10 2013
@@ -203,7 +203,7 @@ public final class EndpointReferenceUtil
// searching for a namespace match
if (namespaceURI != null) {
for (Map.Entry<String, byte[]> ent : schemas.entrySet()) {
- if (ent.getKey().endsWith(namespaceURI)) {
+ if (ent.getKey().endsWith(":" + namespaceURI)) {
schemas.remove(ent.getKey());
impl = new LSInputImpl();
impl.setSystemId(newId);