Author: chris.laprun(a)jboss.com
Date: 2008-10-08 19:22:01 -0400 (Wed, 08 Oct 2008)
New Revision: 12055
Modified:
branches/JBoss_Portal_Branch_2_6/wsrp/src/main/org/jboss/portal/wsrp/services/RemoteSOAPInvokerServiceFactory.java
Log:
- JBPORTAL-1726: there were still some issues if a producer was configured with a
non-reachable URL and then switched to a valid one. In particular, refreshing
producer with unreachable URL led to infinite loop.
Modified:
branches/JBoss_Portal_Branch_2_6/wsrp/src/main/org/jboss/portal/wsrp/services/RemoteSOAPInvokerServiceFactory.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/wsrp/src/main/org/jboss/portal/wsrp/services/RemoteSOAPInvokerServiceFactory.java 2008-10-08
20:20:43 UTC (rev 12054)
+++
branches/JBoss_Portal_Branch_2_6/wsrp/src/main/org/jboss/portal/wsrp/services/RemoteSOAPInvokerServiceFactory.java 2008-10-08
23:22:01 UTC (rev 12055)
@@ -83,6 +83,7 @@
{
initServices();
setFailed(false);
+ setAvailable(true);
}
catch (MalformedURLException e)
{
@@ -95,7 +96,7 @@
setAvailable(false);
throw e;
}
- }
+ }
private void initServices() throws MalformedURLException
{
@@ -114,6 +115,7 @@
}
catch (WSDLException e)
{
+ setFailed(true);
throw new RuntimeException("Couldn't initialize services for WSDL at
'" + wsdlDefinitionURL + "'", e);
}
}
Show replies by date