Accessing Java WebServices with C#

G

Guest

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
G

Guest

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 said:
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]
- (e-mail address removed)

Daniel Santana said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top