Hi all.
I'll try to represent my question very clear - my previous attempt
left unanswered
(http://marc.theaimsgroup.com/?l=axis-user&m=116300481013374&w=2).
Say, I have a simple service to expose:
class MySvc {
public String myOp(Data_A)
} // class MySvc
where:
public class Data_A {
public void setVal_1(String s){}
public String getVal_1(){}
}. // class Data_A
There is an additional data type may be received as an argument: the
Data_A class extender:
public class Data_B extends Data_A {
public void setVal_2(String s){}
public String getVal_2(){}
} // class Data_B
To add this type generation I have to add it as an extra-class. So,
the command I have to run is:
java2wsdl.bat -cp classes/ -o . -cn MySvc -xc Data_B.
BUT. There is no the <extension base="tns1:Data_A"> element in the
Data_B definition, generated by Java2WSDL is:
<xs:complexType name="Data_B">
<xs:sequence>
<xs:element name="val_1" nillable="true" type="xs:string"/>
<xs:element name="val_2" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
So this type can't be sent within a request.
What is my mistake? How can this issue be solved? I beleive I should
specify any additional flags in the command line?
Note: Axis 1.2.1 I used till now handles this issue pretty well.
Greatly appreciate any inputs,
Sincerely,
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]