Hi! I have a client application in Java and I need to connect to a webservice done in .NET, the service send 2 parameters and return 3 parameters as a response. I haven't got experience with webservice on .net I was trying without success some examples with axis library. Anybody can send me some tutorials or examples with web services using multiple parameters? Thanks in advance
Since you already have a web service up and running in .NET, it should be very easy to create the client that consumes the service. I would suggest that you start with Axis 1.* series. Axis is a SOAP Toolkit, that automates a lot of the tasks that you do normally with Web services, including WSDL2Java.
You need a WSDL file that exposes what services have been implemented in the .NET web service. Once you have the WSDL file, just create a new Dynamic Web Project in Eclipse, and then copy the WSDL to your workspace.
Right click on the WSDL file and then go to Webservices->Generate Client.
Once the generation of the client is done, you should be able to see all the client proxies that are required for consuming the web service. You can then use these proxies in a Java Program / Servlet.
Joined: Feb 17, 2005
Nice, yes you are right I'm using JBuilder but is the same exist a class called ServiceTestCase with all the code I was needed. I couldn't remmembered that the last web service I developed was 2 years before!!! Thanks a lot