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

Accessing Java WebServices with C#

P: n/a
Hi, about Java WebServices, accessed by C#, I have two questions:

1) what I have to do, in order to use java webservices?
2) I search and I guess I must type the wsdl path in "add web reference".
Everything is fine... But I'm behind a proxy and I got this message, after
type my username and password (in the "Discovery Credential for Proxy Server"
popup:

"The underlying connection was closed: Unable to connect to the remote
server."

One coment: In the browser, after the proxy login, the wsdl is fine
displayed .

Tks!
Daniel's
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Daniel,

You pretty much are doing the right thing.

If there is a proxy between your machine and the web service, then you
will have to access the object making the call on the client side, and set
the proxy details. Basically, your browser is getting through because the
proxy settings are already applied, and the request goes through
successfully.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Daniel Santana" <Da***********@discussions.microsoft.com> wrote in message
news:06**********************************@microsof t.com...
Hi, about Java WebServices, accessed by C#, I have two questions:

1) what I have to do, in order to use java webservices?
2) I search and I guess I must type the wsdl path in "add web reference".
Everything is fine... But I'm behind a proxy and I got this message, after
type my username and password (in the "Discovery Credential for Proxy
Server"
popup:

"The underlying connection was closed: Unable to connect to the remote
server."

One coment: In the browser, after the proxy login, the wsdl is fine
displayed .

Tks!
Daniel's

Nov 17 '05 #2

P: n/a
Yes Nicholas... You helped me.

But one more question...

In the browser, the proxy info is typed in the popup window of IE. In the
Visual Studio .Net, the popup is displayed... But even when I type the info,
I can't access ( I got the underlying message ).

How do I do that? Or... how do I use the wsdl command (in .Net Command),
bypassing the proxy ou setting the proxy settings?
Tks again.

"Nicholas Paldino [.NET/C# MVP]" wrote:
Daniel,

You pretty much are doing the right thing.

If there is a proxy between your machine and the web service, then you
will have to access the object making the call on the client side, and set
the proxy details. Basically, your browser is getting through because the
proxy settings are already applied, and the request goes through
successfully.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Daniel Santana" <Da***********@discussions.microsoft.com> wrote in message
news:06**********************************@microsof t.com...
Hi, about Java WebServices, accessed by C#, I have two questions:

1) what I have to do, in order to use java webservices?
2) I search and I guess I must type the wsdl path in "add web reference".
Everything is fine... But I'm behind a proxy and I got this message, after
type my username and password (in the "Discovery Credential for Proxy
Server"
popup:

"The underlying connection was closed: Unable to connect to the remote
server."

One coment: In the browser, after the proxy login, the wsdl is fine
displayed .

Tks!
Daniel's


Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.