Last post Mar 27, 2014 09:52 PM by Fuxiang Zhang - MSFT
Mar 24, 2014 05:40 AM|lyling|LINK
My web service(written in c#) is publish to "http://xxx.xxx.xxx.xxx:8080/PaymentWS/service1.asmx", windows server standard 64 bit OS, IIS 7.0.6000.16386.
Only one method in there which is HelloWorld().
When I click the invoke button, it go to "http://xxx.xxx.xxx.xxx/PaymentWS/service1.asmx/HelloWorld".
The port number is gone and I get no response.
Why is that? How do I resolve this?
I found this "http://forums.asp.net/t/1126495.aspx?Web+Service+not+returning+XML+because+of+the+port+" but I don't think this is the answer I'm looking
for because I will have to use php to access the web services.
Mar 25, 2014 09:56 PM|Fuxiang Zhang - MSFT|LINK
Thank you post the issue to our forum.
This is a known error caused by the IE browser, as mentioned, this behavior can occur when you assign a Web site whose URL contains
a port number to the Local intranet,
Trusted sites, or Restricted sites zones. Internet Explorer removes the port number from the
Web site's URL after the Web site is added to the security zone.
For how to solve this issue, you can refer to below steps.
More information in below article, you can check it with below link.
Hope that helps, thanks.
Mar 26, 2014 11:10 PM|lyling|LINK
I tried your solution, I picked "Local intranet", when I add my url into the list, it remove the port too. I try to invoke the web service anyway and it failed.
This happen to Chrome and FireFox too.
Even in Visual Studio 2010, it can find the web service, but when I click "Add Reference" it tell me
"Unable to download files from http://xxx.xxx.xxx.xxx/PaymentWS/service1.asmx?wsdl. Do you want to skip these files and continue?"
Same for Visual Studio 2005.
I skiped and continue, I get nothing from the web reference.
I'm behind my company's proxy server.
Mar 27, 2014 05:42 AM|Fuxiang Zhang - MSFT|LINK
Thanks for your response.
For your issue, have you try the link I provided.
Mar 27, 2014 05:45 AM|lyling|LINK
Yes I did, same failed result.
Mar 27, 2014 09:52 PM|Fuxiang Zhang - MSFT|LINK
Please try to compare the server side endpoint url and the endpoint url in the metadata.
See whether the metadata endpoint url contains the port number.