Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Email polling with attachments

BagagemSep 11 2012 — edited Mar 15 2013
Hello everyone,

I'm facing a small trouble with the implementation of an OSB service.
Our architecture consists on a OSB server (11gR1) acting as a facade, and then connects to a SOA server.
Our objective is, through OSB, poll an email inbox to read the attachment of emails and process the data included in such attachments.
We are currently processing the data correctly, however the first step - poll the email - it's not perfect.

Right now we have a solution that is working.
The proxy service polls the mail inbox (request message type: binary) and, as configured, sends the attachments to an archive folder where one other proxy service (protocol: file) polls the same folder to process the attachment.
As I said before, this mechanism is working... However a lot of information is lost (email body, to, cc, bcc, date/time, etc...) and, if OSB allows an email protocol to receive requests, i sure believe that there must be a better way to process emails.

I chose the request message type binary because if it was:
- Text, the contents would be inside a CDATA container;
- XML, i would get an error "Failure while unmarshalling message: Failed to parse XML text";
- MFL, i wouldn't know the structure of the email to build the conversion file.

Is there a way to process the email's attachments (binary, it is a .zip file) and, at the same time, read the remainder information contained?

If you need any additional information about our architecture, or about the solution we implemented/want to implement, feel free to ask!

Thanks in advance,
Bagagem
This post has been answered by vladodias on Sep 12 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2013
Added on Sep 11 2012
4 comments
3,952 views