send the message through tcp mon. and see the request/response messages.

thanks,
Amila.

On Wed, Sep 9, 2009 at 12:23 PM, ghader <[email protected]> wrote:

>
>  I have created a test web service using Axis2/java. I created it to test
> sending binary file using mtom. I also created a C++ client using gsoap to
> test the web service(this is of no relevance to my problem). The client is
> able to successfully receive the sent file from the server side, but I
> really don't know whether the file is sent using mtom or not. I just know
> that the file is sent in base64binary format by the server. The code of the
> method on the server which sends file is as the following:
>
> public DataHandler loadData2()
>     {
>         FileDataSource dataSrc = new FileDataSource("C:\\Tools.zip");
>         DataHandler dataHandler = new DataHandler(dataSrc);
>         return dataHandler;
>     }
> I also don't know what item in a wsdl file tells about existance of a mtom
> attachment in the response message.
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to