Hi,

I succesfully used WSDL2Java to generate client classes and it works. However I have troubles with one service method. The method looks like this:

void troubleMethod(BaseClass args[]);

I have to pass a ChildClass object that extends BaseClass class as
argument, so I do:
troubleMethod(new BaseClass[] {new ChildClass()});

When I look into SOAP request, I see only fields from BaseClass, but no
fields from ChildClass object. Both classes *are* generated by AXIS from
WSDL. Does AXIS/SOAP handle inheritance on input parameters? (it works
well for output parameters, e.g. method BaseClass[] anotherMethod() returns ChildClass objects inside the array).

Is this bug in Axis?

The WSDL for the web service is https://adwords.google.com/api/adwords/v2/CriterionService?wsdl.

Thansk you very much, Jan

Reply via email to