I used SoapUI to issue the following request:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:com="http://com.twocoast.tcsc.web.service">
| <soapenv:Header/>
| <soapenv:Body>
| <com:isConfigurationChangePending>
| <serverName>QUATTRO</serverName>
| </com:isConfigurationChangePending>
| </soapenv:Body>
| </soapenv:Envelope>
and got the following response (no conversation Id):
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
| <env:Header/>
| <env:Body>
| <ns2:isConfigurationChangePendingResponse
xmlns:ns2="http://com.twocoast.tcsc.web.service">
| <return>true</return>
| </ns2:isConfigurationChangePendingResponse>
| </env:Body>
| </env:Envelope>
If I annotate the isConfigurationChangePending with @Begin in the seam component (which is
called by the SLSB annotated with @WebService) I get the following response:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
| <env:Header/>
| <env:Body>
| <env:Fault>
| <faultcode>env:Server</faultcode>
| <faultstring>java.lang.IllegalStateException: Do not start long-running
conversations in direct calls to EJBs</faultstring>
| </env:Fault>
| </env:Body>
| </env:Envelope>
I'm also seeing the following error show up in the log whenever a web request is
processed (regardless of whether the method is annotated):
22:15:29,460 WARN [arjLoggerI18N]
[com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4]
TwoPhaseCoordinator.afterCompletion - returned failure for
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@949f87
FYI- I'm using seam libraries built from CVS today.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069482#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...