Solved

Web service not working in China - 400 Bad Request

Posted on 2010-11-30
10
481 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
Technology Partners: 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

740 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