Hi,
i developing a web service, based on Axis2,
and the client side on gSOAP
and i have a serious problem,
Each call, return a complex type Result,
how contains a String, int & comples type ResultData (i try with Object
(anyType) but always get a null, only if i set the object like a String)
so the ResultData contains again String, int & byte[]
everything goes well, but when i set something bigger in byte[], the
serialization crashes.
i don't want to use MTOM ...
only works when the return type of a call is byte[], isn't complex type

here is a part of my wsdl:

<xs:element name="Result" type="ax21:Result" />
<xs:complexType name="Result">
<xs:sequence>
<xs:element name="_Data" nillable="true" type="ax21:ResultData" />
<xs:element name="_Description" nillable="true" type="xs:string" />
<xs:element name="_ErrorCode" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="ResultData" type="ax21:ResultData" />
<xs:complexType name="ResultData">
<xs:sequence>
<xs:element name="byteData" nillable="true" type="xs:base64Binary" />
<xs:element name="intData" type="xs:int" />
<xs:element name="stringData" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>

can you give me some help ..

Best Regards
George


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to