SOAP Mime Attachments

I'm new to web services.. before actually getting my hands dirty.. I need to figure out some things before deciding i will undertake a project..
I'm thinking of an asynchronous setup..were clients submit batches of data to a web method...clients will poll the service for a response
(see pattern 3 > http://www.ibm.com/developerworks/library/ws-asynch2/index.html)
This system must use web standards.. as more then 1 organisation will participate
this will be a mixed environment - some clients will submit data on the fly, others will send batches
Each entry in the batch will have 2 images of 3k each ...it seems that the problem is with memory allocation rather than the network performance.
I'm estimating 500 records per batch.. so a typical payload would come up to 3mb
Does using SOAP MIME attachments resolve this issue? from what i understood.. this avoids having the images loaded memory as part of the DOM tree..
would this setup even work??

Hi I'm in the same boat... can we get some help?
Thanks

Similar Messages

  • Can Oracle BPEL handle Doc/Lit SOAP with Attachments?

    I have successfully followed the instructions for using Oracle BPEL 10.1.3.4 to handle SOAP With Attachments with an RPC-style WSDL, detailed here:
    http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/manipdoc.htm#sthref955
    I have a simple Echo service that receives and attachment and responds with the same attachment.
    I actually would like to accomplish the same thing using a Doc/Literal Wrapped WSDL. My initial testing shows that BPEL can indeed receive the attachment ( I can see it in the dehydration store), but it is not added to the response.
    Is this possible using Doc/Lit with SwA in BPEL 10.1.3.4?

    As I've investigated the issue some more, I've found that the real issue is receiving an attachment on the SOAP response from the BPEL process. Using a Doc/Lit-Wrapped WSDL, I can receive a request with an attachment, and add it to outgoing requests successfully. But when I do a straight copy from the request message to the response message (Echo Service), the response contains the correct "href" attribute but there is no attachment, and moreover, no MIME multipart message is returned.
    NOTE: I was successful in using an RPC/Literal WSDL to accomplish the successful echo of the attachment.
    Also, when looking in the OPMN logs, I see the following line for the RPC-based BPEL process, but not for the Doc/Lit:
    <2009-11-23 13:43:35,684> <DEBUG> <attachment.collaxa.cube.engine> <CXBinaryDataHandler::createDataSource> for binary location=uuid:aaa091d17e1b5545:67c00c53:1252285bf07:-7fc2
    <2009-11-23 13:43:35,716> <DEBUG> <attachment.collaxa.cube.engine.data> <ConnectionFactory::getConnection> GOT CONNECTION 1 Autocommit = false
    <2009-11-23 13:43:35,716> <DEBUG> <attachment.collaxa.cube.engine> <CXBinaryDataHandler::createDataSource> for binary location=uuid:aaa091d17e1b5545:67c00c53:1252285bf07:-7fc1
    and the "binary location" value corresponds with the "href" attribute seen in the BPEL audit logs.

  • How to create Inbound SOAP With Attachments

    Hi All,
    Does someone know how to create an Inbound SOAP Message (from SAP XI to a Business System) with attachments?
    We get an Idoc from a SAP R/3 system and transform this Idoc to an other XML format messages, but we want this message as an attachment and not as the payload in the SOAP Envelope.
    We tried the PayloadSwapBean module, but we don't have an attachment to swap with, but maybe we used the wrong paramaters.
    Thanks,
    Frank

    Hi Stefan,
    Does this quick response mean I challenged you?
    Our scenario is that we send an IDoc (ORDERS05) from our R/3-backend-system to XI (3.0/SP15). In an integration process (A/S-bridge) we transform this IDoc to an UBL-Order XML-message, and we want to send this XML-message as an attachment to a (synchronous) SOAP-call to a vendor. Like I said, despite the SAPHelp-content, we don't get this working. Whatever we try, the UBL-Ordermessage is contained in the SOAP-body.
    What makes it even more strange, is that XI itself is based on the SOAP-with-attachments-standard...
    So, any help is much appreciated!
    Regards, Fred

  • Mime attachments in Mail from two mac users

    I've been receiving mime attachments in Tiger Mail from Ebay and members for a while and I've searched the forum for answers but haven't found a viable solution yet. I end up using TextEdit to open them. I've contacted ebay about this and they have no clue, and think it's spam even though I tell them I get them from Ebay tech support, however they do show up ok in my RCN webmail when I check there.
    Anyway that's not the problem now, I was trying to troubleshoot my father's mail problem who is Panther Mail and it mysteriously stopped working for him a couple days ago both sending and receiving. However he is getting them from his webmail at SBC/Yahoo formerly Ameritech. I checked his account settings over the phone and they seemed correct to what he had before but I had him contact his provider.
    They don't seem to know what's going on and wanted him to contact Apple.I had him contact them again and they finally did have him change his outgoing mail server from Ameritech to SBC/Yahoo. So he is able to send from there now but not receive emails. ( he still still sends and receives ok at his webmail site) . Since they changed the outgoing mail server however, the email he sends me (all plain text) is coming now as a mime attachment.
    I've never seen this before from two Mac users using Mail and plain messages. I had him try changing back to the Ameritech outgoing sever but that still doesn't work. And again if I check my RCN webmail I can view these messages fine in the body of the email there, just not in Mail. Any ideas what may have caused this? Is it because of the Yahoo outgoing mail server? He's about givin up and has resorted to his webmail only for now. I generally like Mail but this is a pia.
    Craig
    G5 Dual 2.5GHZ, 15 TiBook 1GHZ, I.25 dual G4 MDD, 15G ipod, Beige G3/500GHZ   Mac OS X (10.4.7)  

    <Where is it designated as a "mime-attachment" & where does the "27bytes" text appear?>
    It shows mime-attachment(27bytes) just below the little plain document icon. This shows up both in the body of the email and also the little attachment drop down menu below the To / subject area.
    <Also, if you go to Mail's View > Message submenu when one of these messages is open, which (if any) 'alternate' menu choices are available (not grayed out)? >
    All are greyed out except Long headers and Raw source.
    Here is the header info in the message if that helps any:
    From: [email protected]
    Subject: test
    Date: December 27, 2006 10:49:27 PM EST
    To: [email protected]
    Return-Path: <[email protected]>
    Received: from mr05.lnh.mail.rcn.net (EHLO mr05.lnh.mail.rcn.net) ([207.172.157.25]) by ms05.lnh.mail.rcn.net (MOS 3.7.5a-GA FastPath queued) with ESMTP id CYF54813; Wed, 27 Dec 2006 22:49:31 -0500 (EST)
    Received: from mx06.lnh.mail.rcn.net (mx06.lnh.mail.rcn.net [207.172.157.56]) by mr05.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id MDY18691; Wed, 27 Dec 2006 22:49:30 -0500 (EST)
    Received: from flpvm09.prodigy.net ([207.115.20.39]) by mx06.lnh.mail.rcn.net with ESMTP; 27 Dec 2006 22:49:29 -0500
    Received: from [75.34.9.255] (adsl-75-34-9-255.dsl.chcgil.sbcglobal.net [75.34.9.255]) by flpvm09.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id kBS3nEOh005937 for <[email protected]>; Wed, 27 Dec 2006 19:49:15 -0800
    X-Orbl: [75.34.9.255]
    Domainkey-Signature: a=rsa-sha1; s=sbc01; d=ameritech.net; c=nofws; q=dns; h=mime-version:content-transfer-encoding:message-id:
    Content-Type: to:from:subject:date:x-mailer; b=RT51cAASkaC4dXKPZSEOEdmv7ApKJ68xdvGgdP7ifDKDoI6j6EIr5dyZl7OrPcoww SjzfTr1nAxHOJGy0wzYeg==
    Content-Type: text/plain; charset=US-ASCII; format=flowed
    Mime-Version: 1.0 (Apple Message framework v624)
    Content-Transfer-Encoding: 7bit
    Message-Id: <[email protected]>
    X-Mailer: Apple Mail (2.624)
    X-Junkmail-Status: score=10/50, host=mr05.lnh.mail.rcn.net
    X-Junkmail-Sd-Raw: score=unknown, refid=str=0001.0A090203.45933D44.001B,ss=1,fgs=0, ip=207.115.20.39, so=2006-05-09 23:27:51, dmn=5.2.121/2006-09-27
    here is the raw source. The last line is what shows up in the mime attachment when it is opened in text edit or viewed at my webmail :
    Return-Path: <[email protected]>
    Received: from mr05.lnh.mail.rcn.net (EHLO mr05.lnh.mail.rcn.net) ([207.172.157.25])
    by ms05.lnh.mail.rcn.net (MOS 3.7.5a-GA FastPath queued)
    with ESMTP id CYF54813;
    Wed, 27 Dec 2006 22:49:31 -0500 (EST)
    Received: from mx06.lnh.mail.rcn.net (mx06.lnh.mail.rcn.net [207.172.157.56])
    by mr05.lnh.mail.rcn.net (MOS 3.7.5a-GA)
    with ESMTP id MDY18691;
    Wed, 27 Dec 2006 22:49:30 -0500 (EST)
    Received: from flpvm09.prodigy.net ([207.115.20.39])
    by mx06.lnh.mail.rcn.net with ESMTP; 27 Dec 2006 22:49:29 -0500
    X-ORBL: [75.34.9.255]
    DomainKey-Signature: a=rsa-sha1; s=sbc01; d=ameritech.net; c=nofws; q=dns;
    h=mime-version:content-transfer-encoding:message-id:
    content-type: to:from:subject:date:x-mailer;
    b=RT51cAASkaC4dXKPZSEOEdmv7ApKJ68xdvGgdP7ifDKDoI6j6EIr5dyZl7OrPcoww
    SjzfTr1nAxHOJGy0wzYeg==
    Received: from [75.34.9.255] (adsl-75-34-9-255.dsl.chcgil.sbcglobal.net [75.34.9.255])
    by flpvm09.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id kBS3nEOh005937
    for <[email protected]>; Wed, 27 Dec 2006 19:49:15 -0800
    Mime-Version: 1.0 (Apple Message framework v624)
    Content-Transfer-Encoding: 7bit
    Message-Id: <[email protected]>
    Content-Type: text/plain; charset=US-ASCII; format=flowed
    To: Craig Hlady Hlady <[email protected]>
    From: bohdan hlady <[email protected]>
    Subject: test
    Date: Wed, 27 Dec 2006 21:49:27 -0600
    X-Mailer: Apple Mail (2.624)
    X-Junkmail-Status: score=10/50, host=mr05.lnh.mail.rcn.net
    X-Junkmail-SD-Raw: score=unknown,
    refid=str=0001.0A090203.45933D44.001B,ss=1,fgs=0,
    ip=207.115.20.39,
    so=2006-05-09 23:27:51,
    dmn=5.2.121/2006-09-27
    craig.;;check this one out
    G5 Dual 2.5GHZ, 15 TiBook 1GHZ, I.25 dual G4 MDD, 15G ipod, Beige G3/500GHZ   Mac OS X (10.4.7)  

  • Mime attachments in mail

    Whenever I receive emails from questions or invoices from Ebay in Mail OS10.4.7 they come as mime attachments which can't be viewed in the message unless I open them with another app like text edit . Is there something in Mail to set up to view these ? I couldn't find anything and don't believe I had this problem in Panther with ebay messages. Mail viewing preferences is set up to view HTML. Text encoding is set to automatic. Is there anything I'm missing? This doen't seem to be an Ebay problem since when I go to my webmail account the HTML message views fine there. This has been very frustrating for me as I use ebay a fair amount.
    thanks, Craig
    G5 Dual 2.5GHZ, 15 TiBook 1GHZ, I.25 dual G4 MDD, 15G ipod, Beige G3/500GHZ   Mac OS X (10.4.7)  

    Whenever I receive emails from questions or invoices from Ebay in Mail OS10.4.7 they come as mime attachments which can't be viewed in the message unless I open them with another app like text edit . Is there something in Mail to set up to view these ? I couldn't find anything and don't believe I had this problem in Panther with ebay messages. Mail viewing preferences is set up to view HTML. Text encoding is set to automatic. Is there anything I'm missing? This doen't seem to be an Ebay problem since when I go to my webmail account the HTML message views fine there. This has been very frustrating for me as I use ebay a fair amount.
    thanks, Craig
    G5 Dual 2.5GHZ, 15 TiBook 1GHZ, I.25 dual G4 MDD, 15G ipod, Beige G3/500GHZ   Mac OS X (10.4.7)  

  • Binary Attachments - MTOM vs. SOAP with Attachments

    Hello everybody,
    i am kind of stuck by implementing a soap to proxy scenario! I wanted to use MTOM to transfer the messages together with the attachments, but until now i couldn't find out if this is possible at all using the ws-adapter with backend proxy (version 701)!
    I have seen this already:
    http://help.sap.com/saphelp_nwpi711/helpdata/de/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    unfortunately im not a abap coder, but i can see using attachments in proxys should work!
    But how? Am i forced to used soap with attachments on sending webservice? If yes, have you got an example for me?
    I would appreciate any help!
    Thanks in advance,
    Markus

    Hi Amar,
    thanks for your reply, i know the mtom theory, but i don't know how to do it with sap pi on proxy side!
    (By the way, your link throws a 404!)
    Using soap adapter with enabled "keep Attachments" option, the MTOM-Attachment is getting processed, but on proxy side, using soap adapter (keeping attachments) to call proxy, it crashes on the backend side (version 701).
    I tried to make a webservice out of the proxy in soamanager, but i didn't get this working, as i have never done this. Also i didn't find an option for mtom in soamanager. I am also wondering why mtom is only supported in ws-adapter 7.10 but not in 7.11, why is this? And is it possible to use soap-adapter on OB-side and WS-Adapter on IB-side, or can i only use ws-adapter for direct communication?
    Lot's of questions i am facing ;-)...
    Kind regards,
    Markus

  • MIME Attachments Weirdness

    A co-worker sent a Quicktime move to 3 of us at mail.ourcompany.com and 2 others outside of our domain.
    The 3 of us received the movie just fine, the 2 of them got MIME attachments that they couldn't read.
    1 of them actually had an email address at ourcompany.com so it was resent to that address and worked just fine. Note that this user has both accounts on the same computer, but the attachment only arrived intact on his work inbox and not his personal inbox.
    The other one was resent using a Gmail account from a web browser and it worked that time.
    Why is Mail recognizing some MIME attachments and not others?

    Hi,
    Try an IE user agent.
    From your Safari menu bar click Safari / Preferences then select the Advanced tab. Enable the develop bar.
    Now from the menu bar again click Develope / User Agent. Try IE 8, 7, or 6.
    Microsoft/Hotmail are not Mac friendly.
    Check the Microsoft site to see which file types Hotmail supports.
    Carolyn

  • SOAP with attachments, attachment streaming

    Hello all,
    We are currently in the process of designing an integration service that uses web services (SOAP) as the means of communication.
    There are very large binary attachments included with these SOAP messages. MTOM ja SAAJ are to be used (propably CXF).
    However, as these attachments are very large (100MB), I would like to stream the attachments "through" the integration server.
    Is this possible? Can I somehow stream the SOAP attachment from the source system directly into the target without saving it as a whole into the integrating server application?
    Thank you for all your help! All solution suggestions are apprechiated :-)

    Hi Aalap,
    In version 1 of WebLogic Workshop SOAP attachments are not supported.
    Attachments will be supported in the next version. If support for SOAP
    attachment is an important requirement for you application, you can use
    WebLogic Web Services which supports SOAP Attachments.
    Please refer to the following document for more information on this
    http://e-docs.bea.com/wls/docs70/webserv/index.html
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Aalap" <[email protected]> wrote in message
    news:3da1ebc4$[email protected]..
    >
    >
    Hi,
    Does Workshop support SOAP with Attachments? I am writing a web servicewhich
    serves files (like MS-Word documents etc) to clients upon receiving theirrequest.
    So what are the various options for sending the file to the client?
    Please help.
    Thanks in advance.
    Regards,
    Aalap Parikh.

  • Web Service with attachments (SOAP with attachments) without PI

    Hi,
    Is it possible to send across file(say PDF) using ABAP web services. I know it can be done with Java using SOAP with attachments. Is something similar available for ABAP ? since if we transfer raw binary data as type string / xstring it may have a performance impact.
    I could not see any option for attachments when using web service wizard from SE37 / soamanager
    Note I am not using PI, this Web service would be consumed by a 3rd party tool. There is very little material available on transferring files using web service with SOAP attachments.
    Regards,
    Aditya

    Hi thanks for your input, but did you have to encode your binary data stream in say Base64 / utf-8 ? Also if you are transferring files in bulk(say 10 -100 files)  how does your web  service indicate end of one file or what is the best way so as to avoid performance problems.
    Regards,
    Aditya

  • Handling SOAP DIME attachments with Flex

    Hi,
    Is possible to get SOAP DIME attachments with Flex?
    I'm trying to get thumbnails of pages returned in jpeg by a
    WebService request that has that thumbnail as DIME attachment on
    its response, but don't know how to handle it with Flex.
    Thanks
    Aleix

    Please,
    Is anybody able to answer this question?
    Thank you so much.
    Aleix

  • Streaming soap with attachments

    dear all
    this might be a piece of cake for some of you out there but it is causing me a lot of stress given the fact that there is not enogh documentation out there regarding this topic
    I am writing a web service that uses soap with attachments to send a large streaming data,
    The concept works quite well but when I started to test it I got this problem.
    When my client program calls a method that should return a real time data the streaming starts after 10 seconds
    How can I avoid the fact that the message calls waits that long before the data starts streaming in?
    To be more specific
    I have a method that returns a streaming data in 10 seconds [getSteamingData(long seconds)]
    I would like to test if I already get some data steaming in after one second of it starts.
    To do so I started a thread that checks the OutputSteam size every 1 second and then compare the result with the previous size say a second ago, there should be an increase in size each second!!!
    But when I start the thread? the streaming does not start right away instead, it starts after 10 seconds causing the thread to return null size
    In real life with real large streaming data that 10 seconds could be 10 hours or God forbidden 10 years
    Is there a way around or is that not possible in SwA?
    Anybody have any idea
    thanks in advance

    Hi Aalap,
    In version 1 of WebLogic Workshop SOAP attachments are not supported.
    Attachments will be supported in the next version. If support for SOAP
    attachment is an important requirement for you application, you can use
    WebLogic Web Services which supports SOAP Attachments.
    Please refer to the following document for more information on this
    http://e-docs.bea.com/wls/docs70/webserv/index.html
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Aalap" <[email protected]> wrote in message
    news:3da1ebc4$[email protected]..
    >
    >
    Hi,
    Does Workshop support SOAP with Attachments? I am writing a web servicewhich
    serves files (like MS-Word documents etc) to clients upon receiving theirrequest.
    So what are the various options for sending the file to the client?
    Please help.
    Thanks in advance.
    Regards,
    Aalap Parikh.

  • How do I open Mime attachments in emails

    I keep getting mime attachements in emails from certain users and cannot view the email on my I touch. I tried looking in the settings and cannot see any settings to change that would help . Any help is greatly appreciated

    Have you found a solution to open the mime attachments? I have the same problem.

  • Getting MIME attachments in emails

    I have an iMac and am having a problem with the Mail program. Any message I get from any ebay member comes as a MIME attachment instead of the text being in the body of the email. This includes replies from ebay support. I can view the emails thru ebay's "my messages" fine but the same messages are MIME attachments in the Mail program. Any other emails from non-ebay users I get are fine. This has only started happening in the last few weeks or so.
    I don't see anything in the Mail preferences having to do with MIME.
    Any help would be appreciated.
      Mac OS X (10.4.6)  

    Ernie,
    Just to clarify (hopefully), the emails that I am receiving with MIME attachments were not originally sent with an attachment. I have questioned those who have sent the emails and they verified that they did NOT attach any documents to the email only typed the message in the email itself. However when receiving the email in the Apple Mail program the text is now in a mime attachment not in the body of the email. Somewhere along the way, the email is getting an attachment. It has NOT always been that way so I am not sure what happened to cause this. I may try and use another mail program instead (although I do like apple's mail program) and see if there is a difference.
    I can check with my ISP (RCN) and see if they added any SPAM screening although it seems strange it would only be on a emails coming from one place (ebay).
    Thanks for your response.
    Jane

  • Mime Attachments in Hotmail

    When I recieve mime attachments in Hotmail, the slide-show viewer shows the pictures, but the pictures won't load in the body of the email.
    Microsoft's Help Center tells me to update Internet Explorer to fix the problem. Hello?? IE hasn't been supported for years, and I TOLD them I'm on Mac's Safari...
    Does anyone have a solution to this?
    Thanks,
    ShawnR

    Hi,
    Try an IE user agent.
    From your Safari menu bar click Safari / Preferences then select the Advanced tab. Enable the develop bar.
    Now from the menu bar again click Develope / User Agent. Try IE 8, 7, or 6.
    Microsoft/Hotmail are not Mac friendly.
    Check the Microsoft site to see which file types Hotmail supports.
    Carolyn

  • HTTPS or SOAP with attachments as text files

    Hi ,
    I it possible to receive or send text files using SOAP with attachments or HTTPS with attachments?
    Best Regards,
    Harleen Kaur Chadha

    Hello Harleen,
                  Check the following links, where you can send the text files as attachments.
    Sending Text file without mapping using SOAP
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    Regards..
    Krishna..

Maybe you are looking for