Author: chris.laprun(a)jboss.com
Date: 2007-03-19 21:52:19 -0400 (Mon, 19 Mar 2007)
New Revision: 6764
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/EndpointConfigurationInfo.java
Log:
- Only set the URL on the serviceFactory if it already exists...
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/EndpointConfigurationInfo.java
===================================================================
---
trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/EndpointConfigurationInfo.java 2007-03-20
01:44:13 UTC (rev 6763)
+++
trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/EndpointConfigurationInfo.java 2007-03-20
01:52:19 UTC (rev 6764)
@@ -181,7 +181,7 @@
this.wsdlDefinitionURL = wsdlDefinitionURL;
// WSDL url is optional so can be null (and in particular, it is when loaded from
Hibernate most of the time)
- if (wsdlDefinitionURL != null)
+ if (wsdlDefinitionURL != null && serviceFactory != null)
{
if (!(serviceFactory instanceof RemoteSOAPInvokerServiceFactory))
{