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

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
N

Nicholas Paldino [.NET/C# MVP]

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?
 
J

jens Jensen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top