on 04-08-2008 10:23 PM
Hi Experts,
I have a webservice(wdsl file) which i imported into a web service project and created a ear file and deployed.
Now i want to call this webservice from Java programming.
How do i achieve this.
Any help to this is highly appreciated.
Thanks in advance,
Venkat
Hi Venkat,
You can create standalone web services clients. Only you need is tools available in market. You can download them for free. like Apache Axis. Sun java Web Services Developer Pack.
You would be requiring WSDL file for the Web Services.
Once you have got that file, using these tools you can generate stubs.
Then you can write simple java program which would communicate to that stub and stub would automatically call the web service and return you response.
Stub would contain 8-10 java files . It contains the code to convert your simple input to XML/SOAP and send to Web Service , get back result and provide it you again by parsing XML.
If you also use WebDypro to create UI and caal Web Service.
There are lot of ways to do it.
Regards,
Piyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.