The soap monitor just converts the soap envelope from the message
context to a string, after it knows which flow is used.  Thilina, is
checking ctx isDoingMTOM() or isDoingSwA() available on inflow and
outflow, and would be enough info needed to know its mtom / swa and
needs a writer ?

Robert

On 1/24/07, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
Hi Angel,
> Just to clarify - is that a problem with the soap monitor itself? I.e
> does it automatically convert the attached binary data into inlined
> base64 strings? Or does some handler do that ?
I think it's the soap monitor.. It might be just serialising the AXIOM
without giving an MTOM writer..
>
> For instance, if am at the message receiver implementation, and I have
> a MessageContext instance, would attachments() return anything, or
> would the attachment be inlined as an element of the SOAP body?
You will get whatever the attachments which came as MIME parts..

~Thilina
> Thanks
> very much
>
> Regards,
> Angel
>
> On 1/15/07, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
> > Hi Angel,
> > If possible please file a JIRA[1]  for this behaviour of SOAP Monitor..
> >
> > Cheers,
> > ~Thilina
> >
> > [1] http://issues.apache.org/jira/browse/AXIS2
> >
> > On 1/15/07, Angel Todorov <[EMAIL PROTECTED]> wrote:
> > > Hi Thilina,
> > >
> > > yes with tcpmon everything looks fine by looking at the HTTP requests
> > > (binary data + xop include reference) , it's actually logical to have
> > > the SOAP request constructed before SOAPMonitor is invoked.
> > >
> > > Regards,
> > > Angel
> > >
> > > On 1/15/07, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
> > > > Hi Angel,
> > > > Hope you have a OMText with optimised set to "true" in the above case.
> > > > Are you using any databinding mechanisms..
> > > >
> > > > I'm not sure whether it is an issue with SOAPMonitor... Can you please
> > > > try sniffing the message with tcpmon[1].
> > > >
> > > > Thanks,
> > > > Thilina
> > > >
> > > > [1] http://ws.apache.org/commons/tcpmon/
> > > >
> > > > On 1/14/07, Angel Todorov <[EMAIL PROTECTED]> wrote:
> > > > > Hi all,
> > > > >
> > > > > I am doing a test of MTOM - sending a binary file and then saving it
> > > > > somewhere on the server. I follow the MTOM guide for Axis2. I am using
> > > > > the SOAP Monitor applet in order to investigate the SOAP requests and
> > > > > responses, and in both cases where MTOM is enabled and disabled on the
> > > > > client side, the SOAP request 's contents is the same, more
> > > > > specifically :
> > > > >
> > > > > <ns2:binaryData xmlns:ns0="http://www.w3c.org/2005/05/xmlmime";
> > > > > ns0:contentType="application/octet-stream"> (binary sting here )
> > > > > </ns2:binaryData>
> > > > >
> > > > > the contents of the binary string is also the same. Can anyone provide
> > > > > some clarification ? Thanks
> > > > >
> > > > > Regards,
> > > > > Angel
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Thilina Gunarathne
> > > > WSO2, Inc.; http://www.wso2.com/
> > > > Home page: http://webservices.apache.org/~thilina/
> > > > Blog: http://thilinag.blogspot.com/
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Thilina Gunarathne
> > WSO2, Inc.; http://www.wso2.com/
> > Home page: http://webservices.apache.org/~thilina/
> > Blog: http://thilinag.blogspot.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to