what is Axis2 equivalent of Axis1's stub._setProperty("javax.xml.rpc.service.endpoint.address", "http://new.endpoint.here")?

2011-12-30 Thread [email protected]
Hi all, New here. Could anyone please let me know the Axis2 equivalent of Axis1's stub._setProperty("javax.xml.rpc.service.endpoint.address", "http://new.endpoint.here";)? I'm referring to these documents: Axis1 stub doc: http://ws.apache.org/axis/java/apiDocs/javax/xml/rpc/Stub.html Axis2 st

Re: what is Axis2 equivalent of Axis1's stub._setProperty("javax.xml.rpc.service.endpoint.address", "http://new.endpoint.here")?

2011-12-30 Thread Deepal jayasinghe
On 12/30/2011 3:51 AM, [email protected] wrote: > Hi all, > > New here. Could anyone please let me know the Axis2 equivalent of > Axis1's stub._setProperty("javax.xml.rpc.service.endpoint.address", > "http://new.endpoint.here ")? > > I'm referring to these documents: >

Database connection pooling

2011-12-30 Thread Ted Zeng
Hi all, I am new to Axis2 and database connection pooling. I read the article "Exposing a Database as a Web Service" by Deepal Jayasinghe. Thanks to Deepal otherwise I don't know where to start. Then I used the sample code there and modified for my use. Everything works well except the database c

Re: Database connection pooling

2011-12-30 Thread Deepal Jayasinghe
Hi Ted, Managing database connections (or any other types of connection) entirely up to the service author. He can write his service and manage connection as he wish. However, since Axis2 has the notion of session management, if you create and store your DB connections inside the service impl clas

Re: Database connection pooling

2011-12-30 Thread Ted Zeng
Hi Deepal, I read the following line: "When using a connection pool, closing the connection just returns it to the pool for reuse by another request, it doesn't close the connection." >From >http://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html So returning the connection