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
package org.tempuri; public class Main { public static void main (String[] args) throws Exception { MathServiceLocator locator = new MathServiceLocator(); System.out.println("Adding: 1+2=" + locator.getMathServiceSoap().add(1,2)); } }