I have defined a web service like

// the service
public class MyService{

public void  handleMessage(Message msg) {
                …
}
}


// message class
public class Message {
                byte       data[];
….
}

Then I have generated the wsdl using maven2 plugin.

The problem is that I’m only receiving 15 bytes inside data of Message object.
In the generated wsdl the field is base64binary.

The client side is generated as a DataHandler, not a byte[], can this be the 
problem ?

Best regards,
Mário Rodrigues



________________________________

Declaração:
A informação contida nesta mensagem, e os ficheiros anexos, é privilegiada e 
confidencial, destinando-se exclusivamente ao(s) destinatário(s).Se não é o 
destinatário (ou o responsável pela sua entrega ao destinatário) e recebeu a 
mesma por engano, fica notificado que é estritamente proibido reproduzir, 
guardar ou distribuir toda ou qualquer parte desta mensagem e ficheiros 
anexos.Por favor reencaminhe a mensagem para o responsável pelo seu envio ou 
contacte-nos por telefone e elimine a mensagem e ficheiros anexos do seu 
computador,sem os reproduzir.

Disclaimer:
The information contained in this message, and any files attached, is 
privileged and confidential, and intended exclusively for the included 
addresses.If you are not the intended recipient (or the person responsible for 
delivering to the intended recipient) and received this message by mistake, be 
aware that copy, storage, distribution or any other use of all or part of this 
message and the files attached is strictly prohibited. Please notify the sender 
by reply e-mail or contact us by telephone and delete this message and the 
files attached, without retaining a copy.
________________________________

Reply via email to