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
-
Saturday, March 31, 2012 7:36 AM
I am not sure, this question has been answered to the asker by any other sources, but i found out this link, to be related to your question. I found that answer convincing to a similar question like yours, i had.
http://social.msdn.microsoft.com/forums/en-US/wcf/thread/856e06f7-c0bd-4f36-b9f1-cd5be11adfb4
Thanks
Aravind
Aravind

