On Wed, Oct 28, 2009 at 4:57 AM, Deepal Jayasinghe <[email protected]>wrote:
> > > I have a WS service which is not a Axis WS based service but it's > > some java based service exposed which has it's own soap compiler.This > > smiler service have deployed and run in multiple machines.I should > > write a common client to invoke the service in a vendor independent > > way.My Question are > Well whole idea of Web service is to have a vendor independent way of > accessing the service, for example in order to invoke a Web service what > we need is to have the WSDL. > > > > 1. How do i implement it as a dynamic invocation using a common client. > You can generate the stub for the client, and then dynamically you can > change the EPR and invoke the service. Since all the services have the > same API one client should be able to talk to all. > Question about changing the EPR dyanammically 1. You mean giving the technical user to enter the epr in a property file and handle it dynamic way in a program or is there a specific API to make it dynamic.Any samples? I don't understand how you can make the generated stubs to invoke dynamically since generated code itself has hard coded end point url unless you do the above. Basically what you are saying I can use the generated stubs and make it dynamic rather writing a Dynamic client with out generating stubs? 2.If you generate the stubs for a particular service when you change the service you will have to regenerate the Stubs again?doesn't the dynamic invocation provides you more re-usability by creating proxies on the fly? 3.How I can provide the user control to access which machine's service to be accessed based on the technical user requirement? Thanks in advance for your time /BR Kanchana > > > > > I found this url following url,are there any articles which shows more > > elaboration? > > http://ws.apache.org/axis2/1_4_1/jaxws-guide.html#JAXWSIntro > > > > /BR > > Kanchana > > > -- > Thank you! > > > http://blogs.deepal.org > http://deepal.org > >
