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 Jeff Ramin <je...@singlewire.com> on 2009/08/27 22:34:14 UTC

adding MTOM/SwA functionality

Hi folks.

I have an existing SOAP service, and I want to add the ability to receive
binary data (an audio file). The code is hand written; not auto-generated.

So, if I have an existing method such as:

public void doSomething(String someParam)

and I want to also receive an audio file, what would the new signature 
look like?:

public void doSomething(String someParam, ???? audioFile)

Thanks!

-- 
Jeff Ramin
Software Engineer
Singlewire Software
PO Box 46218
Madison, WI 53744-6218

Phone Direct - 608.298.1024
www.singlewire.com


RE: adding MTOM/SwA functionality

Posted by "McCullough, Ryan" <rm...@rightnow.com>.
Jeff,

I just found this website:
http://www.w3.org/2000/xp/Group/4/08/implementation.html

Which has implantation examples for MTOM. It shows what the request and response look like. Hope this helps.

-Ryan

-----Original Message-----
From: Jeff Ramin [mailto:jeff.ramin@singlewire.com] 
Sent: Thursday, August 27, 2009 2:34 PM
To: axis-user@ws.apache.org
Subject: adding MTOM/SwA functionality


Hi folks.

I have an existing SOAP service, and I want to add the ability to receive
binary data (an audio file). The code is hand written; not auto-generated.

So, if I have an existing method such as:

public void doSomething(String someParam)

and I want to also receive an audio file, what would the new signature 
look like?:

public void doSomething(String someParam, ???? audioFile)

Thanks!

-- 
Jeff Ramin
Software Engineer
Singlewire Software
PO Box 46218
Madison, WI 53744-6218

Phone Direct - 608.298.1024
www.singlewire.com


Re: adding MTOM/SwA functionality

Posted by prabath <pr...@wso2.com>.
Yes - that's seems to be having an issue with FF.

I have dumped the text there to a PDF, and attached.

Thanks & regards.
-Prabath

Jeff Ramin wrote:
>
> Anybody else have a problem viewing the link below? When I view it
> in firefox, the page source is displayed.
>
>
> prabath wrote:
>> Please have a look at [1].
>>
>> Thanks & regards.
>> -Prabath
>>
>> [1]:https://svn.apache.org/repos/asf/webservices/axis2/site/1_1/mtom-guide.html 
>>
>>
>> Jeff Ramin wrote:
>>>
>>> Hi folks.
>>>
>>> I have an existing SOAP service, and I want to add the ability to 
>>> receive
>>> binary data (an audio file). The code is hand written; not 
>>> auto-generated.
>>>
>>> So, if I have an existing method such as:
>>>
>>> public void doSomething(String someParam)
>>>
>>> and I want to also receive an audio file, what would the new 
>>> signature look like?:
>>>
>>> public void doSomething(String someParam, ???? audioFile)
>>>
>>> Thanks!
>>>
>>
>
>


Re: adding MTOM/SwA functionality

Posted by Jeff Ramin <je...@singlewire.com>.
Anybody else have a problem viewing the link below? When I view it
in firefox, the page source is displayed.


prabath wrote:
> Please have a look at [1].
>
> Thanks & regards.
> -Prabath
>
> [1]:https://svn.apache.org/repos/asf/webservices/axis2/site/1_1/mtom-guide.html 
>
>
> Jeff Ramin wrote:
>>
>> Hi folks.
>>
>> I have an existing SOAP service, and I want to add the ability to 
>> receive
>> binary data (an audio file). The code is hand written; not 
>> auto-generated.
>>
>> So, if I have an existing method such as:
>>
>> public void doSomething(String someParam)
>>
>> and I want to also receive an audio file, what would the new 
>> signature look like?:
>>
>> public void doSomething(String someParam, ???? audioFile)
>>
>> Thanks!
>>
>


-- 
Jeff Ramin
Software Engineer
Singlewire Software
PO Box 46218
Madison, WI 53744-6218

Phone Direct - 608.298.1024
www.singlewire.com


Re: adding MTOM/SwA functionality

Posted by prabath <pr...@wso2.com>.
Please have a look at [1].

Thanks & regards.
-Prabath

[1]:https://svn.apache.org/repos/asf/webservices/axis2/site/1_1/mtom-guide.html

Jeff Ramin wrote:
>
> Hi folks.
>
> I have an existing SOAP service, and I want to add the ability to receive
> binary data (an audio file). The code is hand written; not 
> auto-generated.
>
> So, if I have an existing method such as:
>
> public void doSomething(String someParam)
>
> and I want to also receive an audio file, what would the new signature 
> look like?:
>
> public void doSomething(String someParam, ???? audioFile)
>
> Thanks!
>