This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am new to Web services and not sure where to start.
So I have an external Swing application that launches by "Java Web Start" button.
This web start button is in a JSP page.
I already have a web service for my application but I am not sure how to use it.
As in, how should I call it from my swing application which is on the client side.
Are you using swing which is again launched by Java web start/JNLP just to be able to call web services? or do you want to show some GUI or some processing in client machine which is not possible in server side?
If it is former then try posting your reply back to server and let the server call web service for you.
That was just a suggestion, but more importantly there would not be any difference between code which invokes Web Service from server and code which invokes from swing. This is because Web Service clients can be written in J2SE and transport protocol can be TCP. So its basically the same thing calling it from swing or server.
I want to show a GUI on client machine. This GUI generates an XML which I need to pass to the server.
Can you give me some sample code or some URL to a tutorial which shows how to invoke a web service from the client application.
I am not sure how to use an existing web servie. I have the WSDL for it. Jus need this client application to call that web service.
I understand what you are saying about JAVA web start. Is there any other way I can launch the GUI?