SDL1005 Error for Sproxy.exe

Dec 19, 2008 at 4:24 PM
I try to use sproxy utility to generate unmanaged vc++ client to consume web service, and got lots of errors when I used VS-2003/2005's sproxy. VS-2008 does not provide sproxy utility, so I went codeplex website to download ATLServer project and compiled sproxy. No error for compiling, but got SDL1005 error:
Sproxy http://www.multispeak.org/interface/30j/3_LM_SCADA.asmx?wsdl

unrecognized tag, with
[
    namespace = http://schemas.xmlsoap.org/wsdl/
    tag = "definitions"
]

It's no problem if I use java solution or .Net solution, but lots of problems for native c++, I also try to use wsdl.exe to generate c# assmbly dll, and wrap it to COM, but TLBEXP also have lots of errors. 
Feb 27, 2012 at 7:11 PM
Edited Feb 27, 2012 at 7:25 PM

I know this is a really old topic, but in the interests of providing an answer to anyone else who stumbles across this question via Google, here's the fix that I've found:

Make sure that when you call sproxy.exe at the command line, you include the /wsdl parameter (sproxy.exe /wsdl [/output:filename] service_location). The documentation for the sproxy.exe utility is here on MSDN, if you need it.

Apr 24, 2013 at 12:35 AM
gbuddell, thanks a lot for your reply!