I noticed that others had a problem with a byte[] within a class. And, I
am running into this issue now. 

Here is an example of the scenario: 


class Attachment{ 
        byte[] attachmentImage; //with getter/setter
}

Using POJO services: 

This works: 

public Attachment getAttachment(String id) {...}

But, this does not work: 

public String uploadAttachment(Attachment attachment) {...}

In uploadAttachment(), the received attachment contains what seems to be
a reference of some sort instead of a byte[].

For example, I got the following result: 

The received Attachment.attachmentImage was set to "[EMAIL PROTECTED]", for
example, with a length of 0 when I passed a file represented by a byte[]
from multiple clients.

I am not using MTOM due to client limitations, so I need to use direct
data in the SOAP message. 

Is there any resolution to this, or something I am missing?

Thanks, 

Nadeem



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

Reply via email to