Sam's example isn't very persuasive for why a namespace should to be added to the 'item' element in the CommenAPI. Here is my own eerily similar example of why the namespace isn't needed and the SOAP envelope is optional.
xsd CommentAPI.xsd /c csc capiClient.cs CommentAPI.cs
Corrent me if I am wrong, but is the only thing that is causing problems is WSDL's requirement that the items in the SOAP Body be placed in a non-nil namespace? If that is the case then the problem isn't with the CommentAPI but with WSDL.
Sam,
WSDL *requires* a non-nil namespace on items in the SOAP Body?
Posted by Joe on 2003-03-18
Joe, I wish the answer was cut and dry.
Try wsdl.exe against: http://intertwingly.net/stories/2003/03/18/nonamespace.wsdl and let me know if the error message you receive makes any sense to you.
Some related reading: http://www.intertwingly.net/stories/2002/01/25/whatObjectDoesSoapAccess.html#ApacheSOAP
Posted by Sam Ruby on 2003-03-18
Posted by Sam Ruby on 2003-03-18