Cannot debug web service

Hi all,

I built a web method that receives a message that contains a property with the XmlChoiceIdentifier attribute - the whole story is here :

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=251511&SiteID=1

The buttom line - I've temporarily changed in the proxy class the type from "XmlLinkedNode" to "object" and everything works.

But something strange happens - I cannot debug the web service (my solution contains both the client and the server projects).

When I debug the client and try to "step into" the web service - it just skips over it.

When I debug the client, step into a different method (one that does not use the XmlChoiceIdentifier) - it works.

The strange thing is this - after I step into a "simple" method, I can step into the "complex" method (the one with the attribute).

So what the heck is going on

I'd appreciate any thoughts.

Thanks,

Ido.




Answer this question

Cannot debug web service

  • Klaus Even Enevoldsen DK

    Hi,

    You cannot debug the web service directly.

    You need to create a windows client.

    You cannot debug with IE.

    To make it debug with windows client you need to go to web service solution and change the project to property to allow debug external process something of that kind.

    I donot remember that property exactly.

    Will find exact property and let u know later.


  • Cannot debug web service