Thursday, October 9, 2008

Stateful Oracle Web services using J2EE 1.4 with JAX-RPC


Stateful Oracle JAX-RPC web services are using specific HTTP headers from the client calling the Web Service that need to be setup if you want the Stateful web service to work.

Call the following set property in your client proxy:

setMaintainSession(true) otherwise the service will work as a stateless service. Also regular browsers don't support the http header extension.