Locked WSDL file and GUID data type

  • Tuesday, September 30, 2008 6:44 PM
     
     

    I'm having trouble with my C# .Net web service. Sorry if this is a newbie question. I use VS 2005, and .Net 2.0.50727.

    It seems that some of my methods require a GUID as an input, and for some reason GUID is not defined in my wsdl file. Instead, the namespace for GUID in my wsdl file points to http://microsoft.com/wsdl/types/ namespace.

    I wrote a web service consumer in another language that accesses the methods based off the wsdl file. It cannot complete its query because type GUID is undefined in my wsdl file.

    The wsdl file simply includes the microsoft namespace like this:

    <s:import namespace="http://microsoft.com/wsdl/types/" /> 

    But this of course doesn't resolve GUID.

    I've heard elsewhere that building a webservice with VS 2008 resolves this, but that isn't an option for me right now.

    How can I deploy my .Net web service such that its WSDL file includes the GUID type description, and my consumer application can proceed? (And doesn't pass it off to the http://microsoft.com/wsdl/types/ namespace?)

    I don't want to have to manually edit a .wsdl file every time I deploy.


All Replies