Deploying web services with annotations within existing web app

2012-12-17 Thread Ockleford Paul (NHS CONNECTING FOR HEALTH)
Hi, I have now bought Apache Axis 2 web services 2nd edition by Deepal Jayasinghe and I still cannot really get any of the simple examples to work properly. I am looking for some help now with just simple examples and trying to deploy a service within my web app using annotations. I don't und

RE: Deploying web services with annotations within existing web app

2012-12-17 Thread Ockleford Paul (NHS CONNECTING FOR HEALTH)
I have just realised though that I am able to generate the wsdl if I add a 2 to the end of the url like myService?wsdl2 (instead of myService?wsdl). Why is this? From: Ockleford Paul (NHS CONNECTING FOR HEALTH) [mailto:paul.ocklef...@nhs.net] Sent: 17 December 2012 09:48 To: axis-u...@ws.apache.o

Axis2 not access to db after several requests

2012-12-17 Thread Oscar Rugama
Hi all, Since several weeks ago i am having pretty big problems with my Ws on Axis2 1.6.2 i´ll try yo explain in few words: I have a Ws deployed on Axis2 that access an Oracle database in order to retrieve info. I built a jar which encapsulates access to databse, i mean i cre

RE: Axis2 not access to db after several requests

2012-12-17 Thread Martin Gainty
From: oscas...@hotmail.com To: java-user@axis.apache.org Subject: Axis2 not access to db after several requests Date: Mon, 17 Dec 2012 13:38:47 +0100 Hi all,MG>Hello Oscar Since several weeks ago i am having pretty big problems with my Ws on Axis2 1.6.2 i´ll try yo explain in few

Re: Deploying web services with annotations within existing web app

2012-12-17 Thread Deepal jayasinghe
This is probably due to a problem in the web-app (jsp) not your service. Why don't you try to list the services and see whether you can see your services there (not using listSingleService.jsp) ?. If you can see your service there, then click the link to get more information. Deepal > > Hi, > >

More questions on async service

2012-12-17 Thread Ockleford Paul (NHS CONNECTING FOR HEALTH)
Hi, I am still pretty confused by the whole async services with axis 2. I bought deepaks book purely for this but it really doesn't go into any detail and looks to be pretty much the same as the axis documentation. I have created a very basic service which echoes a string, it's just a single me

Re: More questions on async service

2012-12-17 Thread robert lazarski
On Mon, Dec 17, 2012 at 12:28 PM, Ockleford Paul (NHS CONNECTING FOR HEALTH) wrote: > > My second problem is that I would like to make the service truly > asynchronous by setting property “org.apache.axis2.jaxws.use.async.mep” to > true but I don’t see how it’s possible to do this using the object

RE: More questions on async service

2012-12-17 Thread Ockleford Paul (NHS CONNECTING FOR HEALTH)
I don't have much to add on your new questions except to say you may be mixing axis2 async implementations. Anything with jaxws in its package name is standard with implementation inside and outside of axis2. Its been several years but the last time I coded async services, I followed the axis2 gui

Generating ServicePortProxy with wsdl2java

2012-12-17 Thread Ockleford Paul (NHS CONNECTING FOR HEALTH)
Looking at the examples with axis2 that set the async MEP property and also looking at some examples that my colleague auto generated with RAD I see classes such as myServicePortProxy created and this class enables access to a binding provider object: EchoServicePortProxy echo = new EchoService