471,310 Members | 1,026 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

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


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
Feb 3 '06 #1
4 1120
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"jens Jensen" <je**@jensen.dk> wrote in message
news:uj*************@TK2MSFTNGP14.phx.gbl...

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

Feb 3 '06 #2
How can i tell when a webservice has a WSDL?
Feb 3 '06 #3
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?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"jens Jensen" <je**@jensen.dk> wrote in message
news:Og**************@TK2MSFTNGP09.phx.gbl...
How can i tell when a webservice has a WSDL?

Feb 4 '06 #4
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
Feb 6 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by James Hong | last post: by
reply views Thread by gg | last post: by
2 posts views Thread by ALI-R | last post: by
10 posts views Thread by pcbutts1 | last post: by
1 post views Thread by =?Utf-8?B?Y2FsZGVyYXJh?= | last post: by
6 posts views Thread by zaina | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.