Hi,
We have created new .NET web service and running it through the default test
page and it's working fine in our development environment.
When we moved the web service to the acceptance environment then also it is
successfully displaying the default testpage given by the .NET , but when we
are providing the values to the parameters of webmethod on test page and
click on the invoke button it gives us the error of "page cannot be
dispalyed".
After investigation on the problem we found that our acceptance is running
on the bigIP means it is running on the cluster of servers and they all have
assigned the single name which is tier4-fiw-acp. So if we have to call our
web service we have to call with the following url:
http://tier4-fiw-acp/webservices/datafeed.asmx
With the above mentioned url, it is opening the default test page
successfully but after providing the values to the parameters of exposed web
method, when we click on the invoke button it gives us the error of page
cannot be displayed.
On further investigation of the problem we found that when we click on the
invoke button it goes to the following URL :
http://tier4-fiw-acp:8010/webservice...undInformation
The problem which we see in the above url is that it is appending the port
8010 with the big ip name which is tier4-fiw-acp, since tier4-fiw-cap is
already mapped to the group of servername:portnames it is not able to find
out the server due to the addition of port no and gives us the page cannot be
displayed error.
If we run the web service with any servername:portname combination which
were mapped with the tier4-fiw-acp, it is running fine but if we run it with
big ip name then it gives us the error as it is appending the port name.
We also went through the default test page which is located at the following
location and found that it is using URI on the click of invoke button which
is appending the port.
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFI G\DefaultWsdlHelpGenerator.aspx
Is there is any workaround for the problem with minimum development effort
as we want to use only default test page for the web service?
Thanks for going through the big mail...
Thanks & Regards,
Neeraj Badaya(MCSD.NET)