Hi,

I have a wsdl with the following byte[] defined:

<xs:element maxOccurs="unbounded" minOccurs="0" name="cookie" nillable="true" 
type="xs:byte"/>

Using ADB, the generated code correctly has a byte array.  I am basically 
trying to send a cookie from JLDAP over the wire.  However, it seems that 
something is getting lost in the conversion.  On the server side, I get the 
following output of the byte array before sending it over:

[...@149b290

But, on the client side, it ends up looking like:

[...@bac9b9

Maybe there is a problem with my conversion?  On the server side, I simply have 
a bean with a byte[] member.  I set it using the set method provided by the 
generated class.  On the client side, I am just retrieving the value from the 
generated stub using a getMethod and outputting the value using toString().

One other thing I tried was to output each value in the byte array and the only 
difference I can see is in the TCP monitor output.  I see some additional empty 
values in the service output.

Any help is appreciated.

Thanks,
Eric




      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to