473,320 Members | 2,098 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Accessing Java WebServices with C#

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
2 4075
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Paul Hutchinson | last post by:
All, I wonder if anyone can help/advise with the following interoperability issue we are encountering? We have a .NET web service that takes an abstract type as parameter. Using it from a...
0
by: Jinashe | last post by:
what do i need to enable accessing of webservices from a clients PC i'm hosting some webservices from my server in VB.NET. i've got some client windows applications done in VB.NET. what have i...
7
by: Christian Wilhelm | last post by:
Hi! I'm trying to call a Java WebService out of a .net Client. There are two Methods, one Method requires one Parameter of type Parameter, the other Method requires one Parameter of type...
3
by: Jim Lewis | last post by:
I have read several things that state accessing a Web Service through a Query String should work. However, when I try to execute http://localhost/webservice1/service1.asmx/HelloWorld I get the...
1
by: William | last post by:
I have a few questions. First, I have a java webservice, which was developed using the Java Webserices Developer Pack 1.3. Here is the wsdl for the service. (Note: That this service is not exposed...
3
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : ...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
4
by: Jon | last post by:
I wrote a VS 2005 C# express programme that accesses a web service. It works fine when there's a direct connection to the internet, but on two different PCs with internet access via a proxy, I get...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.