Author: objectiser
Date: 2012-03-28 05:48:14 -0400 (Wed, 28 Mar 2012)
New Revision: 1512
Modified:
branches/RiftSaw-2.3.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WebServiceClient.java
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WebServiceClient.java
Log:
Additional comment related to Bug 807577
Modified:
branches/RiftSaw-2.3.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WebServiceClient.java
===================================================================
---
branches/RiftSaw-2.3.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WebServiceClient.java 2012-03-28
09:44:59 UTC (rev 1511)
+++
branches/RiftSaw-2.3.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WebServiceClient.java 2012-03-28
09:48:14 UTC (rev 1512)
@@ -456,6 +456,10 @@
private synchronized Dispatch<SOAPMessage>
getDispatcher(javax.xml.ws.EndpointReference epr, QName portName)
{
+ // Bug 807577 - when EPR explicitly provided, this worked for first invocation, but
subsequent invocations
+ // on different URLs were directed to same service as initial request, as dispatcher
was not being re-created.
+ // If this causes performance issues, then may need to flag clients that use explicit
EPRs, and only refresh
+ // the dispatcher for those cases
//if(null==dispatcher) {
log.debug("Creating Dispatcher ("+this.id+") on " + wsdlUrl +
": "+serviceName);
Modified:
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WebServiceClient.java
===================================================================
---
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WebServiceClient.java 2012-03-28
09:44:59 UTC (rev 1511)
+++
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/WebServiceClient.java 2012-03-28
09:48:14 UTC (rev 1512)
@@ -456,6 +456,10 @@
private synchronized Dispatch<SOAPMessage>
getDispatcher(javax.xml.ws.EndpointReference epr, QName portName)
{
+ // Bug 807577 - when EPR explicitly provided, this worked for first invocation, but
subsequent invocations
+ // on different URLs were directed to same service as initial request, as dispatcher
was not being re-created.
+ // If this causes performance issues, then may need to flag clients that use explicit
EPRs, and only refresh
+ // the dispatcher for those cases
//if(null==dispatcher || epr != null) {
log.debug("Creating Dispatcher ("+this.id+") on " + wsdlUrl +
": "+serviceName);
Show replies by date