I need to consum a java webserice in my C# app.

  • Thread starter Thread starter jens Jensen
  • Start date Start date
J

jens Jensen

I have just realised that i can no longer add web reference as i usually do
when it is .net to .net. webservice-webservice client. When i use the "add
web refrence " men with the url of the webservice, then i can use "add
reference" . The button is just not enabled. I do see the webservice
description but it seems like i need to manually generate the proxy class.

Can someone point out to documentation for this issue?

Many thanks in advance
JJ
 
JJ,

Is your java web service exposing a WSDL file? In order to add a web
reference, you need to be able to access the WSDL file over the web. If
not, then you have to get the WSDL file manually and create the proxy using
WSDL.exe.

Hope this helps.
 
Jens,

Well, I would think that any sensible web service should expose a WSDL
file. How your web service exposes it depends on the toolkit. What are you
using for the web service in Java?
 
From the Java side i only have the url. The url gives me the method
descriptions for the webservice.

When i use microsoft utilty "Wsdl.exe" to generate a proxy class , i get an
error
"- The HTML document does not contain Web service discovery information."
..

Is this what is meant as XML over http?

In fact, we need to pass an XML webservice for any operation and the
webservice also returns an xml file as the reponse to the method call.

I suspect they have not followed the xml webservice.

Is there any particula thing i should test for as a minimum requirement?
Thanks
JJ
 
Back
Top