By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,657 Members | 1,502 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,657 IT Pros & Developers. It's quick & easy.

C# Client to acess a WebService in Java

P: n/a
Hi,
Iam trying to develop a client in C# on .NET, that would
acess a webservice written in Java.I dont know anything
about what kind of WSDL would be required, how to set the
web references programtically , dynamically during
execution to pick a specified webservice( VS.NET provides
a way to add the web refernce by right clicking on
refernces icon, but this way is static)Is it possible to
do so?
Pleas help.

Thanks
Suresh
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Suresh,

When adding a reference to a web service, you can choose the button on
the solution explorer that has the tooltip "show all files". If you click
this, it will show the .cs files that are generated that are compiled into
the proxy that accesses the web service. If you look at the code here, you
can find out how to switch which web service you want to call.

Also, to connect to the java web service, you will have to get a WSDL
file from the web service. If you can't get it from the server itself, then
you can always use the WDSL utility to generate the proxy from a file on
disc or somewhere else.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Suresh" <su**********@hotmail.com> wrote in message
news:01****************************@phx.gbl...
Hi,
Iam trying to develop a client in C# on .NET, that would
acess a webservice written in Java.I dont know anything
about what kind of WSDL would be required, how to set the
web references programtically , dynamically during
execution to pick a specified webservice( VS.NET provides
a way to add the web refernce by right clicking on
refernces icon, but this way is static)Is it possible to
do so?
Pleas help.

Thanks
Suresh

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.