Chinmoy,
I had to do some more changes in order to make axis2-saaj compatible
with the SAAJ specs and Sun's reference implementation. I believe that
the issue should be fixed now in trunk. However:
* For the DataHandler issue: the code in trunk still creates the
AttachmentPart directly from the D
See my comments inline.
I also committed my test cases to axis2-saaj (see MessageFactoryTest).
Obviously, since they don't pass yet, there are commented out. Can you
uncomment them and check your modifications against them?
Andreas
On Mon, Jan 5, 2009 at 07:43, Chinmoy Chakraborty wrote:
> Andr
Chinmoy,
I've started to write some unit tests that compare the behavior of
createMessage in Axis2's SAAJ implementation (including your proposed
changes) with Sun's reference implementation. One issue I see is
related to the way the contentId property is set on SOAPPart and
AttachmentPart. The SA
Hi Andreas,
Yes, the code for extracting rootcontent-id is duplicate code. The code can
be put in a protected method in SOAPPartImpl.I had to do that because, in
Attachments SOAPPart comes also as attachment. It requires to discard
SOAPPart attachment from the attachment map while adding the attac
Chinmoy,
The code you added in SOAPMessageImpl to some extent duplicates the
code in Attachments#getSOAPPartContentID. Is there a particular reason
for this?
Andreas
On Wed, Dec 31, 2008 at 14:59, Chinmoy Chakraborty wrote:
> Hi Andreas,
>
> I walked through the code (org.apache.axis2.saaj.SOAP
On Tue, Dec 23, 2008 at 12:17, Chinmoy Chakraborty wrote:
> Andreas,
>
> I am stuck with the attachments. I have sent many mails in this forum
> mentioning the issue regarding creation of SOAPMessage with attachments from
> Inputstream but no one replied me back.
>
> Previously you have mentioned
Andreas,
I am stuck with the attachments. I have sent many mails in this forum
mentioning the issue regarding creation of SOAPMessage with attachments from
Inputstream but no one replied me back.
Previously you have mentioned that asix saaj api has been moved to gerenimo.
Could you please send me
Chinmoy,
I walked through the axis2-saaj code and indeed when creating a
message from an input stream using MessageFactory, axis2-saaj doesn't
even request the attachments from Axiom. However, I'm not familiar
enough with the code to be able to fix this myself.
Maybe somebody else can help here?
Andreas,
Please find attached attachment.xml which I am using as inputstream to
create SOAPMessage. The MIME boundary in my previous code snippet may differ
since it is generated at runtime but this is the file generated by another
system. I am also sending you the code that generates the attached
Chinmoy,
Can you also attach a sample message that you try to read with this code?
Andreas
On Thu, Dec 18, 2008 at 06:23, Chinmoy Chakraborty wrote:
> Andreas,
>
> Here is my code snippet.
>
> String contentType = multipart/related;
> boundary=MIMEBoundaryurn_uuid_D988AB74BC9802BDC212295771260
Andreas,
Here is my code snippet.
String contentType = multipart/related;
boundary=MIMEBoundaryurn_uuid_D988AB74BC9802BDC21229577126047;
type="text/xml";
start="<0.urn:uuid:d988ab74bc9802bdc21229577126...@apache.org<0.urn%3auuid%3ad988ab74bc9802bdc21229577126...@apache.org>
>"
MimeHeaders mi
Chinmoy,
Can you post the code that demonstrates the problem?
Andreas
On Wed, Dec 17, 2008 at 13:40, Chinmoy Chakraborty wrote:
> Hi All,
>
> I am creating SOAPMessage from inputstream. The inputstream is SOAP with
> attachments. But the attachmentParts becomes zero in the newly created
> SOAPM
12 matches
Mail list logo