Author: jeff.yuchang
Date: 2011-01-20 06:10:34 -0500 (Thu, 20 Jan 2011)
New Revision: 1254
Modified:
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WSDLHelper.java
Log:
*RIFTSAW-331, fix the 'couldn't find port in wsdl'
Modified:
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WSDLHelper.java
===================================================================
---
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WSDLHelper.java 2011-01-20
10:57:36 UTC (rev 1253)
+++
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WSDLHelper.java 2011-01-20
11:10:34 UTC (rev 1254)
@@ -41,7 +41,7 @@
WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader();
Definition def = wsdlReader.readWSDL(f.toURL().toExternalForm());
URL url = new WSDLParser(def).getServiceLocationURL(serviceName, portName);
- if(url!=null)
+ if(url!=null &&
(def.getTargetNamespace().equals(serviceName.getNamespaceURI())))
{
targetWsdlFile = f;
log.debug("Matching "+processId + " to WSDL file
"+targetWsdlFile);
Show replies by date