Hi there,
Yet another possible code generator issue. There's an enumeration in
the WSDL I'm using:
<simpleType name="DayOfWeek" >
<restriction base="xsd:string">
<enumeration value="Monday"/>
<enumeration value="Tuesday"/>
<enumeration value="Wednesday"/>
<enumeration value="Thursday"/>
<enumeration value="Friday"/>
<enumeration value="Saturday"/>
<enumeration value="Sunday"/>
</restriction>
</simpleType>
And the setter that gets generated for it is:
axis2_status_t AXIS2_CALL
adb_DayOfWeek_set_DayOfWeek(
adb_DayOfWeek_t* _DayOfWeek,
const axutil_env_t *env,
const axis2_char_t* arg_DayOfWeek);
The setter is referencing a structure of the same type, so how can I
create, say, a "Monday" object? Shouldn't the setter be receiving
something like an integer instead, which you could get from a C enum
with the several options?
Cheers,
Sérgio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]