473,549 Members | 2,621 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1176
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.co m

"jens Jensen" <je**@jensen.dk > wrote in message
news:uj******** *****@TK2MSFTNG P14.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.co m

"jens Jensen" <je**@jensen.dk > wrote in message
news:Og******** ******@TK2MSFTN GP09.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
9858
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 ********************************** package Celcom.Client;
0
1664
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 all in the subdirectory coreservlets. Furthermore xyz.jar has the library that some of the coreservlets classes may cay on. I can't run the...
5
2640
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 demand for. Looking at jobs there seems to be a better chance in getting a java job rather than a oracle or c++ job. Also is java and oracle a good...
2
3572
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 webpart but I get this error which says : System.Net.WebException: The request failed with HTTP status 401: Unauthorized. at...
10
6268
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) and have it calculate the payment amount for 3 mortgage loans: a.. 7 year at 5.35% b.. 15 year at 5.5% c.. 30 year at 5.75% Use an array for the...
1
1051
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 request.. For that what should I do, or what point to take care when developping my web service under VS, in order that my customer will be able to use...
1
5963
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 getting the Java code to work. I need assistance to get this Double Metaphone Java UDF to work pretty quickly. Here is what I tried to run and the...
6
2968
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 them. to be more clear we process this purpose we serve this to the student in the university. how?? student will send a message that contains his...
0
1447
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 then saved in a vector which in turn is then encoded in an XML file. For all this I have made a class called MainInput. The problem is with MainOutpu...
0
7451
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7959
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7473
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7810
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1061
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
764
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.