Deepal jayasinghe wrote: > Hi Georgi , > > We had that issue in Axis2 1.2 and we have now fixed the issues in Axis2 > 1.3 RC2 [http://ws.apache.org/axis2/download.cgi] please download that > and see. In the meantime I deploy ur service and invoke it and got the > following responses. > > <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > <soapenv:Body> > <ns:test3Response xmlns:ns="http://ws.apache.org/axis2"> > <return type="Result"> > <bytes > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" /> > <data type="ResultData"> > <bytes>0</bytes> > </data> > </return> > </ns:test3Response> > </soapenv:Body> > </soapenv:Envelope> > > <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > <soapenv:Body> > <ns:test2Response xmlns:ns="http://ws.apache.org/axis2"> > <return type="Result"> > <bytes>0</bytes> > <data > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" /> > </return> > </ns:test2Response> > </soapenv:Body> > </soapenv:Envelope> > > <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > <soapenv:Body> > <ns:test1Response xmlns:ns="http://ws.apache.org/axis2" > xmlns:ax21="http://ws.apache.org/axis2/xsd"> > <return>AA==</return> > </ns:test1Response> > </soapenv:Body> > </soapenv:Envelope> > > > I think all of them are correct. > > Thanks > Deepal > >> 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] >> >> >> >> > > > Thank you guys, i now testing the new RC but i'm getting the same results !? maybe i do wrong ? Paul how to use this DataHandler ? and Deepal, yes works fine, but try it with larger byte[] size, with larger, in the payload goes array from bytes ?! not encoded in base64 ..
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
