Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 29th, 2003, 01:06 AM
Registered User
 
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem when downloading web service???

I have built a Web Service and a Windows app.
I want the Windows app to access the Web Service as a Web Reference.
On my machine I have no problem adding the Web Service to my Windows app as a Web Reference:

    http://localhost/AssistWebService/Service1.asmx

The problem is when I upload the Web Service and get an error when I try to create the web ref from the remote service and then try to add the Web Service as a Web Reference to the Windows app.

I receive the following error:

There was an error downloading 'https://www.sbbmutual.com/AssistWebService/Service1.asmx'.

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

What do I have to change to make a web service usable on the remote server???

JOAN


 
Old September 29th, 2003, 02:16 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Initially, I'm wondering if a webservice can correctly talk to an SSL connection. I tried the URL of your webservice in the browser and got a notice about accepting an untrusted SSL certificate. After accepting that things looked fine. I could see your WS methods and such.

I then tried your web service as a web reference in a VS project... at first I got a similar notice about the security certificate, but then I got this error: "The proxy settings on this computer are not configured correctly for web discovery. Click the Help button for more information." This is very likely due to me being behind a firewall, but it's possible that webservices don't like SSL... or maybe at least VS doesn't. Hopefully someone else can shed some light on this subject.

Peter
 
Old May 16th, 2004, 06:39 AM
Registered User
 
Join Date: May 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Peter,
you mean:
even I can use IE or WSDL.exe to access webservice correctly, my web page aspx files in localhost are still maybe cannot to access webservice on internet, since I behind the firewall ? does web page aspx files in localhost work diferent with IE or WSDL.exe ?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Custom Objects Problem Amateur .NET Web Services 0 March 19th, 2006 11:52 AM
problem with crystal report web service id2359 BOOK: Professional Crystal Reports for VS.NET 2 January 15th, 2006 09:19 PM
Urgent Web Service Problem DKillingsworth .NET Web Services 1 August 4th, 2003 12:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.