[jboss-user] [JBoss Seam] - Re: Conversation ID in web service response

shakenbrain do-not-reply at jboss.com
Wed Aug 1 01:19:14 EDT 2007


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 at 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#4069482

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069482



More information about the jboss-user mailing list