Solved

Web service not working in China - 400 Bad Request

Posted on 2010-11-30
10
482 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

752 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