Dims,

Did it work before with the same WSDLs? These services use document/literal
encoding. I guess that is why it may not work good. It seems like some of
the recent changes were to support document/literal enc by the client.

-- Igor Sedukhin .. ([EMAIL PROTECTED])
-- (631) 342-4325 .. 1 CA Plaza, Islandia, NY 11788



-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 01, 2002 10:21 AM
To: [EMAIL PROTECTED]
Subject: [wsdl2java] Fails for .NET services (throws ClassCastException at
runtime)


Team,

Please run WSDL2Java against the following WSDL and use the enclosed
Main.java....
http://www.gotdotnet.com/quickstart/aspplus/samples/services/MathService/VB/
MathService.asmx?WSDL

Information for the service is at:
http://www.gotdotnet.com/quickstart/aspplus/samples/services/MathService/VB/
MathService.asmx

At runtime you will get the following Exception:
Exception in thread "main" java.lang.ClassCastException:
org.apache.axis.message.SOAPBodyElement
        at org.tempuri.MathServiceSoapStub.add(MathServiceSoapStub.java:113)
        at org.tempuri.Main.main(Main.java:6)

The problem seems to be in the Deserializer code that was modified so much
last week :(

Thanks,
dims

=====
Davanum Srinivas - http://jguru.com/dims/

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

Reply via email to