Click to See Complete Forum and Search --> : .Net reference to Java Web Service


jrothlander
04-04-2004, 08:36 PM
It's been a while since I've worked in Java and I have never built or seen a Java Web Service. I have written JSP pages that interact with a custom ASP Web Service (before .Net). I've been involved with C# and VB.Net for the last three years and I am not fimilar with anything that has come out in the last three years as far as Java goes. However, now I'm supposed to write a VB.Net WinForms app that interfaces with a Java Web Service. Should be interesting....

After taking a look at the JSP code, it seems that they are simply building a JSP page that uses an HTTP Post/Get to pull in form objects and pass those object, which is an XML document, to a Java application and return on XML response document as the response. I have written many applications using this approach in ASP but I have never done this in JSP. I stopped working with this approach about 3 years ago with the Beta 1 of .Net came out since all of my clients wanted to go with .Net Web Services.

So, I'm looking for someone that can tell me if Java Web Services are similar to .Net Web Services or if they are more similar to Web Services prior to .Net. Based on what I have seen, I can not create a VB.Net or C# app with a web references to a Java Web Service, or at least I can not to the Web Service that the Java developers have developed for this applicaiton. It may be that this is an in-house Web Service and not a standard Java Web Service approach. However, since I am not fimilar with Java Web Services, I can not say.

Can someone please clue me in here? Has anyone one written a Java Web Service that .Net can reference with a Web reference? I'm begining to this that this is an custom web service and that it may be possible for them to provide a discovery or disco document to allow .Net to reference it, but I really have no clue if this is even possible. If not, I have have to resort to using HTTP Post to interface with it. Is this what I should be doing?

Any suggestions, guidence, or references would be very much appreciated.

Thanks for you time...
Greg

jrothlander
04-05-2004, 12:00 AM
I got it. Just a simple mater of setting the references to the WSDL.

Greg