You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by AJ81 <aj...@gmail.com> on 2009/09/23 21:05:48 UTC

Re: Java2Wsdl with DataHandler method

Hello Deepal,

How do I send an array of Datahandlers from a client .
I have a class which has a getter , setter for DataHandler [] arr - but in
the wsdl the type is "xsd:anytype"

Thanks
AJ


Deepal Jayasinghe wrote:
> 
> Hi Brendan ,
> 
> We had that issue in Axis2 1.1.1 , but in Axis2 1.2 release we have
> fixed that.
> 
> Thanks
> Deepal
>>
>> Hi,
>>
>> I’m trying to generate a WSDL from an existing Bean class that has a
>> method that returns a complex response with a DataHandler element.
>> From what I understand the Java2Wsdl utility should map this into a
>> base64Binary type to handle an attachment. In my WSDL it’s generating
>> a xsd:anytype without any attachment information.
>>
>> Is it possible to go from Java code to WSDL in this fashion? All the
>> examples I’ve seen assume that you’re starting from a WSDL to generate
>> both your server and client code from.
>>
>> Thanks in advance,
>>
>> Brendan
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Java2Wsdl-with-DataHandler-method-tp10745046p25531254.html
Sent from the Axis - User mailing list archive at Nabble.com.