Hi everybody,

My english is no too good but I'll try.

I'm learning form my proyect Apache Axis, and I hava a question.
I have been making the attachment example of the tutorial, but I like something more...


If i like to send a request with an attachment and another parameter that is a complex type, can I? How ?
In the request I also want to obtain a response with one attachment and a complex type...


I send and attachment with some information and I like to receive an attachment with more information....

Can somebody help me?

Kai Unewisse wrote:

I always use an Object Array and then you can cast it to whatever you want.

Object obj = call.invoke(new Object[] { "string1", "string2" });

Hope this helps.
Kai



Hi all,

When I called a service, if there is only one parameter (String), it works;
but If there are two parameters (String, String), it throws

Error invoking operation:

java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl

at org.apache.axis.client.Call.invoke(Call.java:1636)

It seemed the invoke() failed before it reached the server.
I'm so confused 'cause I called the service sucessfully two days ago.
Anybody has a clue of this?

Thx a lot.





-- Marcos Costalago Rios (Ingeniero I+D) Telef�nica I+D Divisi�n Mensajer�a M�vil Avanzada (2222) C/Emilio Vargas,6 28043 Madrid (Espa�a)

Tfno: +34913374620 Fax: +34913379850
e-mail: [EMAIL PROTECTED]






Reply via email to