Changing a WS needs server restart
----------------------------------
Key: JBESB-1407
URL:
http://jira.jboss.com/jira/browse/JBESB-1407
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 4.2.1
Reporter: Jaroslaw Kijanowski
Assigned To: Tom Cunningham
Fix For: 4.2.1 CP1
I have annotated a POJO to expose a WS ( getCustomer() ). Then I deploy it as an ESB
archive and check the WSDL. Next I change the WS, let's say the method name ( to
getustomer() ), change jboss-esb.xml to invoke the new command, redeploy the esb archive,
check the WSDL, it's fine - new method name is shown. But when I try to use the
SOAPClient to consume the WS I get:
javax.management.RuntimeMBeanException
at
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
.
.
.
Caused by: java.lang.UnsupportedOperationException: Operation 'getustomer' not
supported by WSDL
'http://localhost:8080/Quickstart_webservice_drools_ext_intg/MyPOJOWS?wsdl'.
at
org.jboss.soa.esb.services.soapui.SoapUIClientService.getOperation(SoapUIClientService.java:148)
at
org.jboss.soa.esb.services.soapui.SoapUIClientService.buildRequest(SoapUIClientService.java:102)
I need to restart the server to be able to consume the changed WS again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: