Sunday, March 11, 2012

Web Service Not Called

How did you verify that the web service was not being called?

Did you check the IIS logs in Windows/System32/LOGS ?
If you are using ASP.NET 2.0, have you installed WSE and turned on the logging?

Hi,

I think methodName should be:

<serviceMethod id="getOrderInfo"url="~/OrderInfo.asmx" methodName="GetOrderInfo">

</serviceMethod>


I first called it from javascript to verify the call worked, then I simply put a breakpoint in the web service.

If I call it from JS it hits the breakpoint, with the declarative code it does not.

No comments:

Post a Comment