Solved

Web service not working in China - 400 Bad Request

Posted on 2010-11-30
10
479 Views
Last Modified: 2012-05-10
Hi Folks,

I have a standard .NET 2.0 AMSX web service which has been working for a few years. We're trying to connect a server in China, and its coming up with 400 Bad Request.

The browser (ie6) can access the web server through https://dnsname

The browser can also access the webservice itself though https://dnsname/webservice.asmx

But the actual client software is still coming up with 400 bad request - any ideas please ?

thanks

0
Comment
Question by:plq
10 Comments
 
LVL 18

Accepted Solution

by:
deighton earned 250 total points
ID: 34237795
can the client connect to other web services, or is it just that one?
0
 
LVL 8

Author Comment

by:plq
ID: 34237823
Can you suggest a public web service that we could test with ? thanks
0
 
LVL 21

Expert Comment

by:Alpesh Patel
ID: 34237830
pls check firewall settings.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 18

Expert Comment

by:deighton
ID: 34237841
0
 
LVL 8

Author Comment

by:plq
ID: 34237852
We're connecting back with them in a couple of hours so we'll try that then

Regarding firewall, wsdl doesn't use any ports except http/https, we know it works from IE, so I don't think it could be a firewall issue ??
0
 
LVL 8

Author Comment

by:plq
ID: 34238891
Yes, that service works, but ours doesnt !
0
 
LVL 8

Author Comment

by:plq
ID: 34239173
Furthermore, our webservice works through the browser, I changed web.config to allow it to work remotely, and thats fine. I can now "invoke" a simple method from the browser https://dnsname/webservice.asmx, no problem.

But from the program, it still raising 400 bad request.


0
 
LVL 3

Assisted Solution

by:manlimnag
manlimnag earned 250 total points
ID: 34291310
May be on client machine firewall is not allowing the application to call web service, but ie being trusted application its working. So check client firewall setings and virus protection softwares
0
 
LVL 8

Author Comment

by:plq
ID: 34324098
Lost contact with the client and no possibility now of ever taking this further
0
 
LVL 8

Author Closing Comment

by:plq
ID: 34411004
lost contact with client, so this is a dead end, thanks for helping anyway
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question