Author: objectiser
Date: 2011-03-31 10:23:03 -0400 (Thu, 31 Mar 2011)
New Revision: 1344
Modified:
branches/ODE/RiftSaw-ODE-trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/EndpointFactory.java
Log:
Back out change made for RIFTSAW-325 - merged with apache ode trunk version.
Modified:
branches/ODE/RiftSaw-ODE-trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/EndpointFactory.java
===================================================================
---
branches/ODE/RiftSaw-ODE-trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/EndpointFactory.java 2011-03-31
03:39:41 UTC (rev 1343)
+++
branches/ODE/RiftSaw-ODE-trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/EndpointFactory.java 2011-03-31
14:23:03 UTC (rev 1344)
@@ -52,7 +52,7 @@
/**
* Creates a ServiceEndpoint using the provided Node. The actual endpoint
* type is detected using the endpoint node (text or element qname).
- *
+ *
* @param endpointElmt
* @return the new ServiceEndpoint
*/
@@ -72,11 +72,7 @@
return se;
}
}
- if (__log.isDebugEnabled()) {
- // Only appears relevant if EPR explicitly set for partner link, so
- // returns null if using default EPR from WSDL.
- __log.debug("Couldnt create any endpoint for element " +
DOMUtils.domToString(endpointElmt));
- }
+ __log.warn("Couldnt create any endpoint for element " +
DOMUtils.domToString(endpointElmt));
return null;
}
@@ -85,7 +81,7 @@
* The target type is actually the qualified name of the root element for
* the target EPR (i.e wsa:MutableEndpoint, wsdl:service) or null to convert
* to a simple URL.
- *
+ *
* @param targetElmtType
* QName to convert to
* @param sourceEndpoint
@@ -122,10 +118,10 @@
public static WSAEndpoint convertToWSA(MutableEndpoint source) {
if (source == null)
return null;
-
- if (source instanceof WSAEndpoint)
+
+ if (source instanceof WSAEndpoint)
return (WSAEndpoint) source;
-
+
return new WSAEndpoint(source.toMap());
}
}
Show replies by date