Author: boisvert
Date: Tue Jul 18 11:36:20 2006
New Revision: 423179
URL: http://svn.apache.org/viewvc?rev=423179&view=rev
Log:
Allow JBI endpoints
Modified:
incubator/ode/scratch/pxe-iapi/bpel-dd/src/main/java/com/fs/pxe/bpel/dd/EndpointValidator.java
Modified:
incubator/ode/scratch/pxe-iapi/bpel-dd/src/main/java/com/fs/pxe/bpel/dd/EndpointValidator.java
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/bpel-dd/src/main/java/com/fs/pxe/bpel/dd/EndpointValidator.java?rev=423179&r1=423178&r2=423179&view=diff
==============================================================================
---
incubator/ode/scratch/pxe-iapi/bpel-dd/src/main/java/com/fs/pxe/bpel/dd/EndpointValidator.java
(original)
+++
incubator/ode/scratch/pxe-iapi/bpel-dd/src/main/java/com/fs/pxe/bpel/dd/EndpointValidator.java
Tue Jul 18 11:36:20 2006
@@ -62,13 +62,19 @@
if (txt.trim().length() > 0) url = url + txt;
}
}
+ } else if (root.getLocalName().equals("end-point-reference")
+ && root.getNamespaceURI().equals(
Namespaces.JBI_END_POINT_REFERENCE)) {
+ String serviceName = root.getAttribute("service-name");
+ String endpointName = root.getAttribute("end-point-name");
}
- try {
- new URL(url);
- } catch (MalformedURLException e) {
- throw new DDValidationException("URL " + root.getAttribute("location") +
" declared as endpoint reference " +
- "in deployment descriptor isn't a valid URL.");
+ if ( url != null ) {
+ try {
+ new URL(url);
+ } catch (MalformedURLException e) {
+ throw new DDValidationException("URL " +
root.getAttribute("location") + " declared as endpoint reference " +
+ "in deployment descriptor isn't a valid URL.");
+ }
}
}