See my comments inline..

On 7/6/06, Tech Savvy <[EMAIL PROTECTED]> wrote:
Hi,

Have two question regarding to MTOM:

1. The sample in the guide is using AXIS2 api to code the webservice and client, e.g. OMElements. In such case a wsdl is not present so this is tied to AXIS2, i.e . a .NET client can't access the service. Is there a way to code the webservice use POJO (i.e. RPC style webservice), then generate the client stub to call it, and still be able to enable MTOM?
 
I'm not sure about this..

2. In the webservice, how do I detect whether a OMText is Base64 encoded?
 
If it is in a message you receive then you will not be able to detect it without knowing the schema. If you created it using some binary or by explicitly specifying that it is base64 then the OMText.isBinay() will return true.
 
~Thilina

Reply via email to