johannes
Aug 4th, 2005, 02:00 AM
Hi,
I have an new webapplication running under tomcat that is accessing a webservice with axis (Jax-RPC) and spring. This works nice as long as not more than one request is accessing the service at the same time.
The service is defined in applicationContext.xml:
<bean id="xDslService" class="org.springframework.remoting.jaxrpc.JaxRpcPortProx yFactoryBean"> .......
Every request calls several functions of the service in successing order. I usually then get an exception like this:
org.xml.sax.SAXException: Bad types (class services.TestRoundTripTimeResult -> class services.TestLineQual
ityResult)
Obviously the function returns the wrong type. It returns the the type of another function of the service that a parallel request is calling (or has called). As I said with no parallel calls to the service everything works fine.
Now my question is if I have to consider something special? Should it work that way generally? Maybe also the service I am calling does something wrong as I am the first client of it. Is this more likley?
Any help and ideas are appreciated.
Regards,
Johannes
I have an new webapplication running under tomcat that is accessing a webservice with axis (Jax-RPC) and spring. This works nice as long as not more than one request is accessing the service at the same time.
The service is defined in applicationContext.xml:
<bean id="xDslService" class="org.springframework.remoting.jaxrpc.JaxRpcPortProx yFactoryBean"> .......
Every request calls several functions of the service in successing order. I usually then get an exception like this:
org.xml.sax.SAXException: Bad types (class services.TestRoundTripTimeResult -> class services.TestLineQual
ityResult)
Obviously the function returns the wrong type. It returns the the type of another function of the service that a parallel request is calling (or has called). As I said with no parallel calls to the service everything works fine.
Now my question is if I have to consider something special? Should it work that way generally? Maybe also the service I am calling does something wrong as I am the first client of it. Is this more likley?
Any help and ideas are appreciated.
Regards,
Johannes