on 11-04-2008 6:47 AM
Hi,
I would like to receive the follow structure messages from HTTP sender CC with attachment.
Input:
<?xml version="1.0"?>
<document DTD-VERSION="2.2.1">
<a>test</a>
</document>aaaaaaaaaaaaa
Output:
<?xml version="1.0"?>
<document DTD-VERSION="2.2.1">
<aa>test_xxxx</aa>
</document>aaaaaaaaaaaaa
But seems PI cannot correctly parser the XML if I add the tailing aaaaaaaaaaaaa to the message. I think it should be some thing I need to do with the CC to let it can process the attachment.
Thank you,
HTTP adapter does not support attchments.
The structure u provided here is not a proper xml file while http ususally supports xml format only.
Instead u may try soap adapter in "no soap" mode with attachment to achieve the same result.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
HTTP adapter will not be able to handle attachments. SOAP can help in that
http://www.w3.org/TR/SOAP-attachments
Another possiblity is instead of sending attachment is it possible that you create a custom header with that attachment data so that HTTP adapter parse it.
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.