|
I have a big problem making Axis2 work fine with SwA. 1.
The first problem is
that I could not find any documentation on how to programmatically construct a
SwA SOAP message using AXIOM API only. You can only construct MTOM SOAP
messages with Axiom but not SwA. The example of SwA given by axis2 is just
reading a SwA message from a file (the file already contains a serialized SwA
message). 2. The second problem is that
it seems to me so far that axis2 only support SwA in one direction only. That
is, the axis servlet is able to parse a SwA message from the servlet input
stream (and it stores the attachments in an Attachments object as a property of
the MessageContext). However, this attachments object is not used anywhere in
the code. This means that if a service is returning a SwA message (not an MTOM
message), axis2 will only serialize the SOAP envelope without the attachments. The
http transport senders only serialize the SOAP envelope on the wire but not the
attachments (maybe they do it for an MTOM message, but they do not do it for a
SwA message since the attachments object of the MessageContext is not used at
all in the code except when parsing the input stream in the axis servlet). Please correct me if I am wrong. Thank you very much for any help. Hamid. |
- RE: [Axis2] Help with SwA Ben Malek, Hamid
- Re: [Axis2] Help with SwA Thilina Gunarathne
