473,320 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 1167
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
0
by: gg | last post by:
I was playing with some free java code but I was miffed. In the current working directory, I have xyz.jar and a subdirectory coresrvlets. The classes of the package coreservlets are naturally...
5
by: mr.iali | last post by:
Hi Everyone I would like to get into software developent using a programming language like c++, java or pl/sql for oracle. I have no idea where to start from. Which language is there more...
2
by: ALI-R | last post by:
Hi All, I have a webservice on a win 2003 server and I'm trying to call it from another win2003 server which is hosting my sharepoint portal server. I am trying to call that webservice from a...
10
by: pcbutts1 | last post by:
Yes this is a homework assignment. My instructor has broken english and I just could not follow along last night. How do I do this Write the program in Java (without a graphical user interface)...
1
by: =?Utf-8?B?Y2FsZGVyYXJh?= | last post by:
Dear all, I have a global applicaton that collect different type of data. Then I would like to provide to my customer some web services that will return dedicated data based on different...
1
by: okonita | last post by:
Hello all, I have a Java problem that I hope can be answered here. Very new to DB2 UDB and UDF (we are on DB2v9.5, Linux and Windows), I have managed to get the UDF registered but having problem...
6
by: zaina | last post by:
hi everybody i am nwebie in this forum but i think it is useful for me and the member are helpful my project is about connecting client with the server to start exchanging messages between...
0
by: doobybug | last post by:
Hi all, I really need your help! I am new to java and have some problems with my code. I have a program which inputs questionnaires and creates an object for each questionnaire. These objects are...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.