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 Nan Null <nu...@gmail.com> on 2009/03/11 05:49:17 UTC
WSDL attachment example
I am developing a WSDL for a web service. However, I don't know what
is the standard way of having an attachment or two in web service
calls (with other data). The problem is that I saw some example, but
in the WSDL, there is no mention of the attachment. I also use the
Axis2 example of attachment, and then view the WSDL, again, there is
no mention of the attachment. In the client and server code, the
attachment is there (manually added into the code).
After the WSDL is created, it will be sent to another unit for
development. Therefore, if I need 1 or more attachment in an
operation, I need a way to specify it exactly (as input, output or
both).
Please point me to the right location or give me a snippet of code.
It cannot be this hard. Please use standard code only. Thanks.
Re: WSDL attachment example
Posted by Nan Null <nu...@gmail.com>.
Thanks to Amila, he responded to my previous same question, but I
missed it. This example is just what I need.
Thank you very much!
http://amilachinthaka.blogspot.com/2009/01/using-mtom-with-axis2.html
On Wed, Mar 11, 2009 at 12:49 AM, Nan Null <nu...@gmail.com> wrote:
> I am developing a WSDL for a web service. However, I don't know what
> is the standard way of having an attachment or two in web service
> calls (with other data). The problem is that I saw some example, but
> in the WSDL, there is no mention of the attachment. I also use the
> Axis2 example of attachment, and then view the WSDL, again, there is
> no mention of the attachment. In the client and server code, the
> attachment is there (manually added into the code).
> After the WSDL is created, it will be sent to another unit for
> development. Therefore, if I need 1 or more attachment in an
> operation, I need a way to specify it exactly (as input, output or
> both).
>
> Please point me to the right location or give me a snippet of code.
> It cannot be this hard. Please use standard code only. Thanks.
>