467,888 Members | 1,384 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,888 developers. It's quick & easy.

C# Client to acess a WebService in Java

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
  • viewed: 2859
Share:
1 Reply
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.

Similar topics

2 posts views Thread by Jens Hibbeler | last post: by
1 post views Thread by Kumar T via .NET 247 | last post: by
7 posts views Thread by Christian Wilhelm | last post: by
6 posts views Thread by Sascha Schmidt | last post: by
reply views Thread by perschrotti | last post: by
reply views Thread by Divyakumar Jain,SAP Netweaver consultant | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.