Hi,
I have been trying to add a web reference to a project in Visual Studio but
am hitting a problem that we've been unable to resolve.
Basically I can add local addresses but not any out there on the Internet,
so I am sure it's something to with those troublesome boxes that sit between
me and the web but our infrastructure people have been unable to pinpoint
what is going wrong and I do not know exactly what VS is doing to make things
fail.
I can use wsdl.exe to generate a proxy class for the web services but this
has not set my mind to rest as to why I cannot do what I should be able to in
VS.
An example:
If I try to add a web reference to
http://www.dataaccess.com/webservicesserver/conversions.wso
so that I can use the NumberToWords operation.
I do the following:
> right click on Add Web Reference on the project (in solution explorer)
> enter the URL (as above)
> click GO
> view the description in the large (browser) box below the address field
> see the following error in the 'Web services found at the URL' (and the 'Add Reference' button remains greyed out):
---------------------------------------------
There was an error downloading
'http://www.dataaccess.com/webservicesserver/conversions.wso'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it
As I stated above, I can add local (own PC or local network server) web
servce and just get this when going after one from the web. I authenticate
with a proxy and know that the credentials are valid
---------------------------------------------
Can anyone shed any light as to what VS does after making the initial
request for the description that would cause this problem?
(I posted some time ago but my alias was messed up, so heopfully this time
I'll get some answers)
Thanks,

Signature
Shaun Venus
"Gary Chang[MSFT]" - 08 Mar 2006 06:18 GMT
Hi Shaun,
>As I stated above, I can add local (own PC or local
>network server) web servce and just get this when
>going after one from the web. I authenticate with a
>proxy and know that the credentials are valid...
Would you please tell me whether you need an explicit authentication while
visiting any internet website?
The VS2005's internal browser is unable to visit internet if your account
needs an explicit proxy authentication. By the way, can you access that
.wso via the IE, does it require an explicit proxy authentication?
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
BLsunev - 08 Mar 2006 08:00 GMT
Gary,
We do have to authenticate with a proxy, this is done using our domain login
(can be persisted by checking the remember password box, but pops up if ever
the domain account password changes - as you would expect).
So, assuming (as is the case right now) that IE has remembered my proxy
credentials, I can browser fine to the web service and invoke it via the web
interface provided - therefore no blocking of this particular site (I believe
ISA server is used as the proxy and web marshall is in place to block certain
sites/content - I'm told there is no block in place for this site, as would
be suggested by my ability to borwse with IE and for VS.NET to get the
service description in its browser pane of the add web reference window).
btw - this is also all true for VS.NET 2003 which I also have on the same
machine.

Signature
Shaun Venus
> Hi Shaun,
>
[quoted text clipped - 28 lines]
> This posting is provided "AS IS" with no warranties, and confers no rights.
> ======================================================
"Gary Chang[MSFT]" - 09 Mar 2006 09:36 GMT
Hi Shaun,
Have you tried the following URL for a test:
http://www.dataaccess.com/webservicesserver/conversions.wso?WSDL
The URL http://www.dataaccess.com/webservicesserver/conversions.wso is not
a valid webservice URL. I just tested the above URL which works on my side.
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================