I have spent the last 3 hours attempting to create wse proxy classes
for (xmethods.com) web services using wsewsdl2.exe (SP2 & SP3). The
results were amazing.
Out of 34 randomly selected WSDLs, only 6 were successful. The vast
majority choked with "Specified cast is not valid" or "Invalid wsdl
file". XmlSpy had no problem dealing with these wsdls, they were
parsed and messages were (automatically) created and invocations seemed
to work normally.
I assume i am asleep and will wake shortly to realize that this was
just a terrible nightmare. But if not, can someone please comment on
this. I get the distinct impression that I am alone in using WSE
because i have not been able to find any substantive record of others
complaining. How can the success rate be only 20% and the MS
development community not be up-in-arms.
Now i understand that compatibility issues have plagued the market (web
services) for the past few years - I am not a polyanna. But <20%? No
way! The the VS2003 version of wsdl.exe had a far better success
rate... maybe 70-80%.
I dont want to rant. But I need help in deciding what to do with WSE.
Any answers (or even opinions) to the following questions would be
greatly appreciated.
1) Is the pitifully poor performance of (WseWsdl2.exe) a shock to
anyone? Have others seen this problem or am i alone in my
frustration.
2) Can anyone explain why this is the case?
3) Is there anything i can do about it - other than code the proxies
myself.
4) Is WSE a real solution that Microsoft expects us to use in
production, or is it just a proof-of-concept, technology-preview,
stopgap measure that Microsoft is using to keep us busy while they
cookup the real solution?
Matt - 03 Mar 2005 21:17 GMT
>I have spent the last 3 hours attempting to create wse proxy classes
> for (xmethods.com) web services using wsewsdl2.exe (SP2 & SP3). The
[quoted text clipped - 5 lines]
> parsed and messages were (automatically) created and invocations seemed
> to work normally.
I am using wsewsdl2 as part of a large project that I am currently working
on. This project has a SOAP server that is implemented in C++ using gSoap
and a webserver (acting as a SOAP client) using WSE 2 SP2. I use the
wsewsdl2 generator to create my proxy classes, but then have to tweak those
proxy files further to make them usable.
Remember that wsewsdl2 requires that the WSDL files be doc/lit. Maybe that
is the problem?
Ales Pour - 04 Mar 2005 11:36 GMT
If you view WseWsdl2 tool as something designed only for WSE-messaging,
where interoperability with other SOAP vendors is not a concern (which I
think is not), you won't be dissapointed with its limitation, like that
message must have only one part... :-)
Our experience is that wsewsdl2 also does not like extensibility element in
bindings (IIRC these caused "Specified cast is not valid") etc.
Regards,
Ales Pour
>I have spent the last 3 hours attempting to create wse proxy classes
> for (xmethods.com) web services using wsewsdl2.exe (SP2 & SP3). The
[quoted text clipped - 35 lines]
> stopgap measure that Microsoft is using to keep us busy while they
> cookup the real solution?