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 Julio César Pérez Arques <jc...@hotmail.com> on 2006/06/08 11:43:43 UTC

How to create a client with attachments using wsdl2java

Hello axis-users.

I am developing a ws with axis 1.4 and using wsdl2java.

I have the ws and client working. But i need to include attachments support, 
i have some code to the ws but i dont know how to use them in the client, 
the port generated by wsdl2java have not any method to include any 
attachments.

Could anyone help me?

Thanks in advance.
Julio César.



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: How to create a client with attachments using wsdl2java

Posted by Julio César Pérez Arques <jc...@hotmail.com>.
Ok i solved, i use wsdl2java without server option and later i cast the port 
object to org.apache.axis.client.Stub to use the addAttachment method.


>From: Julio César Pérez Arques <jc...@hotmail.com>
>Reply-To: axis-user@ws.apache.org
>To: axis-user@ws.apache.org
>Subject: How to create a client with attachments using wsdl2java
>Date: Thu, 08 Jun 2006 11:43:43 +0200
>
>
>Hello axis-users.
>
>I am developing a ws with axis 1.4 and using wsdl2java.
>
>I have the ws and client working. But i need to include attachments 
>support, i have some code to the ws but i dont know how to use them in the 
>client, the port generated by wsdl2java have not any method to include any 
>attachments.
>
>Could anyone help me?
>
>Thanks in advance.
>Julio César.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org