You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Davanum Srinivas <di...@yahoo.com> on 2002/03/01 16:20:57 UTC
[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