Groups | Blog | Home
all groups > dotnet web services > august 2005 >

dotnet web services : soap schema version question


lukezhan NO[at]SPAM online.microsoft.com
8/30/2005 12:00:00 AM
Hello,

Microsoft .Net uses WSDL 1.1, so it use 2001 schema. Based on my research,
I found many solution to integrate a .NET Client with an Apache SOAP Web
Service, like this one:

http://support.microsoft.com/default.aspx?scid=kb;en-us;307324

However, I haven't found one without WSDL (Some use HttpWebRequest
directly, but this also need WSDL to know the details sent to server).

Back to the schame question, even you can get around it in some, there
still may be other problem when you call the service since you are use
different wsdl. I think you have two choice here: find a way to have .net
work with the web service without wsdl, or find way to get/generate a wsdl
for your client. (I heard that IBM has some utiltiy can generate a wsdl
from Apache server, but I don't know exactly)

MR
8/30/2005 9:46:12 PM
i am trying to write a .NET client of an Apache web service; thus there is
no WSDL document. one difference between the SOAP Header that is generated
by the .NET SOAP serializer is that .NET uses the www.w3.org/2001/XMLSchema.
and Apache uses the www.w3.org/1999/XMLSchema.
is there a way to force .NET to create the schema to match the Apache
requirement (www.w3.org/1999/XMLSchema.)
thanks
m

MR
8/31/2005 10:27:05 PM
Thanks for your reply. i think that my only option at this point, since i
have no control over the web service, is to find a way to have .net work
without wsdl.
any suggestions anyone?


[quoted text, click to view]

Stefan Misch
9/1/2005 12:00:00 AM
Just an additional question:

Can a "web service" without a WSDL really be called a "web service"? I
always thought that the WSDL is like a contract between the WS Client and
the Server. So whenever a method changes (i.e. a new method or parameter)
then the WSDL must change, too. Without a WSDL you would need some other
(written?) documentation about the interface to properly code your client.

And: for most standard tools supplying WSs, there normaly is a tool to
generated the WSDL.

So IMHO, a WS without WSDL is not a real WS!

Stefan

AddThis Social Bookmark Button