DIME-MIME

Hello,
I am currently working on a project in which I will create a web-service that will deals with XML files in attachment in the soap message. The wsdl file generated by the NetWeaver solution is 'MIME' type.
But someone said me that a .Net Client does not support the MIME standard. Microsoft only support the DIME specification which is not yet a standard. Is that true?
Is there a possibility for a .Net client to use à wsdl file of type MIME to connect to a web-service?
Thank you for your help.
Michel

You won't be able to use MTOM directly in ALSB 2.6.
If you want to use web service the only other options are Soap with attachments or DIME (microsoft proprietary not supported).
Anyway since your files can be very large nothing of this would works anyway so there is really no way around FTP, some shared filesystem, or a shared database.
Gregory Haardt
ALSB Prg. Manager
[email protected]

Similar Messages

  • Axis 1.2 dime and mime attachments.

    Hello !
    i got web service which receives an attachment from .NET service as DIME , adds this attachment to it's own response and sends back to client which accepts only MIME attachments.
    When client receives attachment some data seems to be lost, if original file size were 356 000 bytes , client receives only 208 000 bytes.
    would be glad to hear any solutions how to solve this! ^^,
    Thanks in advance !
    code looks something like that :
         MyWebService service = new MyWebServiceLocator();
         MyWebServiceSoap port = service.getenotarMyWebServiceSoap(new URL(serviceurl)); // .NET setvice url
         org.apache.axis.client.Stub stub = (Stub) port;
         stub.setTimeout(1000 * 60);
         stub.setUsername(login);
         stub.setPassword(pwd);
         stub._setProperty(AxisEngine.PROP_DOMULTIREFS, new Boolean("false"));
         stub._setProperty(Call.ATTACHMENT_ENCAPSULATION_FORMAT,Call.ATTACHMENT_ENCAPSULATION_FORMAT_DIME);
         DocumentInfo dinf = port.downloadDocument(dokument_id); // gets document from .NET service
    Object[] attachments = stub.getAttachments();
    MessageContext.getCurrentContext().getResponseMessage().getAttachmentsImpl().setSendType(Attachments.SEND_TYPE_MIME);
    try{
                   AttachmentPart ap = (AttachmentPart)attachments[0]; // always returns only 1 attachment .
    MessageContext.getCurrentContext().getResponseMessage().addAttachmentPart(ap);
                   stub.clearAttachments();
    catch (AxisFault e){
                   throw e;
              }

    It was a classpath issues manage to resolve it
    with this additional setting :
    CLASSPATH
    .;%JAVA_HOME%\bin;%AXISCLASSPATH%;%CATALINA_HOME%\common\lib\xerces.jar;%CATALINA_HOME%\common\lib\activation.jar;

  • Axis DIME attachments

    Hi everybody...
    I'm sending a PDF file as response from an axis (1.3) web service using SOAP with attachments, however *.NET* clients won't be able to read it.
    So i was wondering if there is a way to send the attachments as DIME (supported by microsoft), then I could add an input parameter to my web service; the clients would indicate whether they wish either DIME or MIME attachment through that parameter.
    Thanks.

    hi sergio
    i hat a very similar problem today with axis running on jetty
    2 suggestions which may help you:
    use activation.jar and mail.jar provided by sun appserver SUNWappserver/lib (those jar-files are bigger than those you get if you follow the download instructions on axis happiness page)
    place them in the webapps/axis/WEB-INF/lib directory
    (i hat them in jetty/ext first)

  • DIME format for handling SOAP attachments

    Hi all,
    There is a proposal (I think by Microsoft) called the Direct Internet Message Encapsulation (DIME) format to handle SOAP attachments. This is a binary format which defines how to construct a single message with multiple payloads and it is suppose to be more efficient that MIME especially for large attachments.
    Does anybody know the status of this proposal?
    Thanks,
    Ken

    Hi, I'm also looking for a DIME java implementation,
    let me know if you find something
    maybe we will develop it ourselves

  • DIME on WLS 8.1 - WSDL

    Hi,
    I am attempting to implement DIME on wls 8.1. I saw some detailed messages on
    this newsgroup on how to do it, and i think i am allright in that dept (thanks
    to all!)
    I did have a question re the WSDL,though. How do i generate a WSDL that specifies
    DIME and not MIME(as WL does) ? I am writing this for a .Net client, and it needs
    to see DIME in the WSDL. Do i have to manually update my WSDL ? or is there a
    tool..?
    Thanks in advance,
    Leena.

    Hi Leena,
    The good folks with WS-I (http://www.ws-i.org) are currently wrestling
    with the interop issues associated with attachments, all to say this is
    still somewhat of a moving target (for DIME), however for J2EE, MIME is
    here to stay using SAAJ 1.1 (http://java.sun.com/xml/saaj/index.html)
    Regards,
    Bruce
    Also, there is some movement on PASWA, it's now called MTOM, and is
    being specified by the W3C XMLP (SOAP) WG. See:
    http://www.w3.org/TR/soap12-mtom/ and also see:
    http://dev2dev.bea.com/technologies/webservices/Soap_Binary_Data.jsp
    leena wrote:
    >
    Hi,
    I am attempting to implement DIME on wls 8.1. I saw some detailed messages on
    this newsgroup on how to do it, and i think i am allright in that dept (thanks
    to all!)
    I did have a question re the WSDL,though. How do i generate a WSDL that specifies
    DIME and not MIME(as WL does) ? I am writing this for a .Net client, and it needs
    to see DIME in the WSDL. Do i have to manually update my WSDL ? or is there a
    tool..?
    Thanks in advance,
    Leena.

  • How can I use one Add-on prior to another for specific MIME-types?

    I'm using Shockwave Flash plugin to watch some videos on YouTube, StreamCloud, etc. It also handles .mkv and .mp4 files/streams. After installing VLC Web plugin to handle MIME-types like mp3/4, mkv additionally and prior to the Flash plugin, Firefox keeps using Flash to handle those types insted. I cannot find options to set the desired priorities. Only disabling the Flash plugin solves my problem, but also keeps me from watching Flash contents, which Is not acceptable.
    Did I miss something or is this Firefox's fault?

    If you type or paste '''about:plugins''' in the address bar and press Enter, you can see which plugins are associated which various content types.
    I do not know how to prioritize one over the other for the same content type if the plugin settings (plugins often have an interface outside of Firefox to adjust their settings) do not allow that.
    As for MP4, I don't think Flash normally would be selected. I suspect the website is specifying a Flash media player and streaming the MP4 through that. If you want to hide the Flash plugin from a particular website, you can use the Permissions tab of the Page Info dialog.
    Click the padlock or globe icon in the address bar, then More Information, then Permissions. The top section of the Permissions panel should be "Activate Plugins". Here you can select Block for Flash for the current site. After reloading the page, does the media play using a different plugin?

  • HOW can i delete the members in dim using MAXL

    Hi All,
    I want to delete the all the memebers for dimensions before reloading so how ca n i write the maxl script for this to delete the members in the dimensions
    plz can any one help on this its very urjent ,
    It would be appriciated ...
    Thanks

    There is no way to alter an outline with MaxL, MaxL is an admin language for processing. The only option, as Glenn mentioned is to issue the reset all command to blow away everything. But you probably don't want to do that, so instead you use Maxl to run a series of load rules to achieve your goal.
    Load rules do not have functionality to delete outline members, it does have a feature however that allows you to remove unspecified members from a dimension build, so when loading in your members, if existing members are not in the import, they are removed. So Glenn's point was to create a source file with a single dummy member. When you load using "Remove Unspecified" it will delete all the members and just keep the one dummy member. Then when you go back a second time and actually load the real members, the dummy member will be removed and you will have a clean dim with only your new members. This is a work around solution, but it's what a lot of people do.
    Now if you have 15 dimensions you need to do this with, you might want to take a slightly different approach. I'm assuming 15 dimensions is probably an ASO cube and this method will be preferable to avoid outline fragmentation.
    Create a copy of your outline with all the base dimensions that do not change intact. For the ones that do change, just have your dim root member. Consider this your starting outline template and save a copy of it. When you want to rebuild your cube have a server process that takes the copy of your template outline and copies it over your existing outline file in the directory structure. Then run your load rules to import your new members.

  • Error while updating account dim

    I get the below error while updating the Outline Account Dim.This error occurs only when updating account dim. It does not happen with other dimensions. So it doesn't seem to be the connection being down. If we recycle the analytics server. But we are not able to find out the actual cause for this issue.
    Error message:
    Cannot build dimension. Analytic Server Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP. Check network connections. Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server. Restart the client and try again
    Additional information
    Account is defined as dense dimesion with 1800 level 0 members. We are updating this using rules file.
    Potential Number of Data Blocks     :     27762609853440
    Number of Existing Data Blocks     :     2625360
    Index Cache: 40960
    Data cache : 20480
    I appreciate any help in resolving this issue

    There is probably something in your dim build source file that Essbase doesn't like and isn't giving you a good error message. Did this dim build work in the past and you recently added something to it?
    Try excluding certain columns like member properties and data storage just to see if you can get the members to load. Then slowly bring back in the other columns to see if you find the one that has the problem. Similarly try keeping all the columns but just try loading one record and see if it succeeds, this will help you start to narrow down if it is a load rule or source issue. Other option is to create a new load rule, perhaps there is something wrong with the one you are using.
    Unfortunately there is no magic bullet here, you just have to work through small samples to try and isolate what the problem is.

  • Error While Adding File in Mimes

    Hello Experts,
    I am new to WDA, and am trying to add a image as a mime object in the WD component.
    But its giving an error "Error when Loading File"
    I tried putting the image in the Mimes repository but still the same error.
    Any clue what can be the problem,?
    Is any authorization requered?
    The image is of type jpg
    Thanks in advance
    Jeet

    hi ,
    u proceed as follows , thn u wud be able to import the mime object
    1 go to Object Name -> create->mime object ->import
    2 insert a UI elemnt of type image
    3 bind it source property with the mime . u wud find mime here
    COMPONENT IMAGES tab , when u click on the source property of image

  • Sender Mail Adapter - S/MIME - How to use it?

    Hi guys,
    I am trying to figure out how to use the S/MIME security parameter of the Sender Mail Adapter in PI 7.1.
    Could anyone point me to some useful documentation/examples/blogs ?
    Or perhaps explain what steps are involved when configuring this parameter?
    We are pulling emails from an Microsoft Exchange server.
    Many thanks,
    Aldo

    First of all one sender mail adapter has to be tight with a specific sender email address.
    The email has to be decrypted as whole, you cannot decrypt parts of it.
    Then you store certificates to secure store in J2EE server and point to it in send agreement, this should be equal to HTTPS setup
    Check security guide:
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/f7/c2953fc405330ee10000000a114084/frameset.htm

  • Has anyone experienced an image in the workspace suddenly going dim?

    Using CS 4 with Windows 7.  Sometimes when working with an image it will suddenly go dim.  The rest of the screen stays bright (tools, panels, tool bar etc.)  This seems to happen when I switch to something else such as My Pictures and upon returning to Photoshop, the image has gone dim.

    What video card is it?
    I ask because I've always felt ATI has done a pretty good job of supporting their older hardware with new drivers.  I'm presently using a 2+ year old ATI Radeon HD 4670 and it's still getting new driver updates (e.g., Catalyst 10.9 just recently).
    For what it's worth, it's exactly the sentiment you expressed (lack of support of a not very old card, which was very expensive) that caused me to swear off the nVidia brand.
    The good news is that a quite happenin' video card of either brand can be bought for little over a hundred bucks nowadays.
    -Noel

  • Icon (mime objects) not getting displayed in Integrated ITS

    Hi all,
    We have activated integrated ITS. Created service in SICF but the ICONS of Buttons are not shown. Also we cannot click any button to start the action.
    Please advise.
    Regards,
    FS

    Hi FS,
    The Mime Types in SAP Its Integrated are on this path: /sap/public/bc/its/mimes/
    You can reference your icon with the URL: http://host:port/sap/public/bc/its/mimes/service/theme/icon.gif
    If you have the icon of theme 99 in the SE80 Internet Service and your icon name is square.gif, and your service name is ZSERVICE, the call are:
    HTMLB:
    img src="/sap/public/bc/its/mimes/ZSERVICE/99/square.gif"  between symbols "<" and ">"
    URL in the Explorer:
    http://host:port/sap/public/bc/its/mimes/ZSERVICE/99/square.gif
    Hope it´s help.
    Best Regards.
    Edited by: Alberto Ruiz on Apr 8, 2009 4:02 PM

  • Unable to launch application from my machine:Bad MIME Type

    Hi,
    The following error message was printed when I tried to access the SwingSet2 demo from the Java Web Start site.
    An error occurred while launching/running the application.
    Title: SwingSet2
    Vendor: Sun Microsystems, Inc.
    Category: Download Error
    Bad MIME type returned from server when accessing resource: http://java.sun.com/products/javawebstart/apps/SwingSet2.jnlp - text/html
    Can you please suggest what is to be done to rectufy this problem?
    Regards,
    Satish

    Bad MIME type returned from server when accessing
    resource:
    http://java.sun.com/products/javawebstart/apps/SwingSet
    .jnlp - text/htmlit should return application/x-java-jnlp-file.
    My guess is that you use proxy which messes up headers.
    Otherwise try to reinstall Web Start, then enable the console and log output in Web Start's advanced preferences to get more clues what's going on.
    Regards,
    Marc

  • Dim Backlit Keyboard HP Pavilion DV6t-7000

    The backlit keyboard went dim after having it on for a few hours while working on some projects. I can only see the light if I look underneath the keys.  I have had the lights on for long times before it when dim. I have looked on these forums for any information happening before and found one that mention a proximity sensor that may need to be ajusted, but I looked on my computer and does not have that bit of software.
    So I would like to find out is there any way to fix this or would I end up needing to replace the keyboard.
    Thanks.

    Hi Zannh,
    Try the following.
    Shut down the notebook, unplug the AC Adapter and then remove the battery.  Hold  down the Power button for 30 seconds.  Re-insert the battery and plug in the AC Adapter.
    Tap away at the esc key as you start the notebook to launch the Start-up Menu and then select f10 to enter the bios menu.  Press f5 to load the defaults ( this is sometimes f9, but the menu at the bottom will show the correct key ), use the arrow keys to select 'Yes' and hit enter.  Press f10 to save the setting and again use the arrow keys to select 'Yes' and hit enter.
    Any change?
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • How do I open a mime attachment on my iphone ?

    How do I open a mime attachment on my iphone email?

    You can't.
    All attachments must be encoded before being sent and MIME 1.0 is the industry standard for message encoding.
    When receiving a message with an attachment file type that cannot be recognized by the email client and/or by the computer/device used, MIME attachment will appear instead.
    This can mean the attachment that was sent is a file type that cannot be accessed/viewed by the iPhone. I also see the same on occasion when a received message was forwarded by the sender and the message received by the sender contains an attachment that can be accessed/viewed by the iPhone but the original message that was forwarded was composed in HTML which can do screwy things with email on occasion - personally I wish HTML would be forbidden with the exchange of email - this along with forbidding the use of the AOL program to send email with attachments.

Maybe you are looking for

  • IPod nano 2g not turning on

    hi folks. had this ipod for a while now. was charging it this mornin and all was good. now it wont turn on, ive tried charing it again and its not workin, iTunes wont even open. any idea on whats wrong/how to fix it? packard bell   Windows XP  

  • Problem in Upload files with Default Browser

    I love to use the default broswer to upload files to server due to its functionality. But today I came across something weird. I wanted to upload apk files to google play store, and when I click upload, the playbook file manager will open for me to s

  • Can't install Safari 4 - 'Another user is running Safari'

    I was running the Beta and loved it and want the 4.0 but I'm stuck. After running the installer I get a continual alert that says words to the affect of 'Safari is being run by another user. Quit all running Safari applications to continue' which won

  • TS2530 iTunes keeps "updating" my songs information without my consent

    iTunes keeps modifying my songs information such as "year, track number, compositor" wich I usually have in blank, and don't want to have that information! Anyway to stop that?

  • Why do third-party keyboard apps have problems in Mozilla Browser for Android?

    I have a third-party app that I use as a keyboard: SwiftKey X. whenever I select this keyboard as my default and start typing, be it in text-fields on site itself or the adressbar, it never seems to get the text right. For example; it deletes words w