Attachment support in B2B

Hi All,
I know that in the IP_MESSAGE type there is provision to give the attachment has BLOB... If I have multiple attachment, how do I handle this case?
Regards,
Praveen

Hi Praveen,
Please see the below sample for multiple attachment,
>
<?xml version="1.0" encoding="UTF-8"?>
<Attachments xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Documents and Settings\hari\Desktop\AttachmentsDescriptor.xsd" boundary="Text">
<AttachmentPart>
<Attachment>BLOB1</Attachment>
<Content-Type>
<Top-Level-Type>image</Top-Level-Type>
<Sub-Type>jpeg</Sub-Type>
</Content-Type>
<Content-Transfer-Encoding>BASE64</Content-Transfer-Encoding>
<Content-ID/>
<Content-Description/>
</AttachmentPart>
<AttachmentPart>
<Attachment>BLOB2</Attachment>
<Content-Type>
<Top-Level-Type>image</Top-Level-Type>
<Sub-Type>jpeg</Sub-Type>
</Content-Type>
<Content-Transfer-Encoding>BASE64</Content-Transfer-Encoding>
<Content-ID/>
<Content-Description/>
</AttachmentPart>
</Attachments>
>
Regards
Nandagopal

Similar Messages

  • Attachment support in SOAP in OC4J

    I have a question on OC4J 9.0.3 about handling attachments along with a SOAP request or response message. I am evaluting the use of Microsoft SOAP Toolkit 3.0 in building a C++ SOAP client. In the SOAP Toolkit 3.0 Microsoft claims that it supports sending attachments along with SOAP request or response message to enhance preformance by reducing the overhead of data encoding. For example, sending a file as an attachment rather than as the body of a SOAP message.
    Does OC4J has the ability to such handle attachments?
    Thanks,
    Edmond

    Oracle SOAP is based on Apache SOAP and does support attachments through MIME. Oracle9iAS J2EE Web services build on top of that, does not have support for attachments. To get Oracle SOAP you just deploy the soap.ear that comes with OC4J (<OC4J_Home>\soap\webapps\soap.ear) you should be able to run the standard Apache SOAP 2.3.1 attachment sample - if you are using JDeveloper, the stand-alone OC4J comes pre-configured with Oracle SOAP.
    The attachment sample is only included in a full install of Oracle9iAS, not with the stand alone OC4J. So, if you don't have a full Oracle9iAS install, the best way to get the attachment samples is to take the samples that you can download with Apache SOAP 2.3.1 on xml.apache.org/soap - see http://xml.apache.org/soap/docs/guide/attachments.html for doc. Bear in mind the long term support for Oracle SOAP is being deprecated in favour of JAX-RPC and the goal will be to use that standard's attachment support.
    Mike.

  • Recurring Journal Entry Attaching Supporting Documentation

    Can someone tell me how to attach supporting documentation to a recurring journal so that it will show on each of the monthly entries. Similiar to what can be done on a manual journal.

    Hello,
    Supporting documentation means you mean to have long notes for a entry or any word document  ??
    For long notes you can use Long text field.
    Later case Standard sap dont give any option unless you go for any Z Program wherein
    you can have this kind of functionality. 
    Below is a link which talks about linking Document in Sales order.
    How to Attach Document in Z Transaction
    Hope this helps

  • Attachment support in ebXML

    Hi,
    Is it possible to support attachments in ebxml protocol in Oracle B2B? If so, can you please give me the details or point me to the URL where I could get this. Is there a way to strip the attachment coming in the ebxml message and place it on some directory(which is configurable).
    Thanks...
    kavitha

    Are you using 10g or 11g ?
    For 10g ,Refer to below link:
    http://www.b2bgurus.com/2008/11/attachment-feature-in-ebms-using-oracle.html
    Rgds,
    Nitesh

  • Handling Multiple Attachment Types in B2B Rosettanet

    Hi,
    We are encountering some issues while sending Excel (i.e. xls) attachments along with B2B rosettanet transactions. Other document types - PDF, text are going find without any issues.
    We have added "application/pdf : application/vnd.ms-excel" as additional mime type, but the attachment is still not getting posted to TP.
    This is what I see in the wire message -
    </pidx:InvoiceTotal> </pidx:InvoiceSummary></pidx:Invoice>------=_Part_69_226988743.1322688178936Content-Type: application/pdf; name="Niranjan%20Query_HOU-ECMCSTST01003632.xls"Content-Transfer-Encoding: base64Content-ID: <Niranjan%20Query_HOU-ECMCSTST01003632.xls>Content-Description: Niranjan%20Query_HOU-ECMCSTST01003632.xls0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAEAAAAgAAAAEAAAD+////AAAAAAAAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9/////v
    One guess that I have is "Content-Type: application/pdf;" is causing this issue, but not sure how to set this value based on document type. Any suggestion on what we need to change to get this working?
    Thanks,
    Adarsh

    Hi Adarsh,
    Can you check what is this '%' symbol in your file name 'Niranjan%20Query'? May be it should be some empty space

  • Dynamic Disk Attachment Support

    Is dynamic disk supported to be attached as data disk? in Windows Azure Pack

    I am getting following error even after correct Hashtag
    Azure Error:
    The operation on virtual machine, template or hardware configuration with id [*] results in use of one or more dynamic hard disks not supported by the specified cloud and fabric capability. Ensure that no dynamic hard disks are required by this operation
    and try the operation again. Please contact your system administrator with this error ID.
    VMM Error:
    Error (23447)
    The operation on virtual machine, template or hardware configuration with id [TESTVM] results in use of one or more dynamic hard disks not supported by the specified cloud and fabric capability.
    Recommended Action
    Ensure that no dynamic hard disks are required by this operation and try the operation again.

  • SOAP with Attachment Support in Web AS Java

    Hello,
    I want to write an extension to an existing Java application running on Web AS to take a PDF (which is a binary object in the context) and submit it using a Web Service call to a  Web Service running on a WebSphere App Server. My idea is to use SOAP with attachments to do this. I know how to create a simple Web Service call with the NWDS, but I am not so sure about a Web Service call with an attachment.
    1) Is SOAP with attachments supported in Web Java/NWDS?
    2) Does it require a specific Web AS 6.40 SP Stack?
    3) Has anyone used this before? Is there anything I need to consider (e.g. encoding of the attachment)?
    4) Is there a maximum file size for the attachment?
    You help is appreciated. And if I get it running I can show it at TechEd
    Cheers!
    Matthias

    I found what causes the problem.
    I use resource bundle to handle i18n and one of bundle is myapp_zh.properties for Chinese locale. In browser I add  Chinese [zh] in Language Preference then the web page should display Chinese character.
    What puzzles me is that encoding of the page with Chinese characters is Chinese Simplified (GB2312) rather than UTF-8. Tomcat correctly sets page Encoding to UTF-8 since I specify <%@ page language="java" contentType="text/html;charset=UTF-8" %> in each JSP file. Why Web AS ignores this and returns Chinese character in GB2312?
    Thanks a lot
    John

  • Attachment support thru Payables Open Interface(POI)-urgent pls..

    All,
    Version: 11.5.10.2
    We have a requirement that we need to integrate a 3rd party application to push invoices to Oracle payables thru POI. From 3rd party appln there are chances that it may send a attachment (ex: supplier catalogue in pdf/file format along with invoice). When I gone thru the POI interface tables, I couldn't see any relavant attributes field to push an attachment. May I know if anyone come across this, if so kindly share your views/suggestion on this.
    thanks
    sen

    All,
    I tested the attachment using the fnd_webattch.add_attachment API. I can successfully loaded the attachment to AP Payables using the invoice id as primary key. But when I try to open the attachment from UI, it opens a blank page!!
    What i did was i kept a file in one of the location of my oracle apps server, then i gave the file location in the API as /home2/system1/orafin11i_H.txt. .
    my api is like this
    fnd_webattch.add_attachment(seq_num => v_seq_num,
    category_id => v_category_id,
    document_description => p_document_desc,
    datatype_id => v_datatype_id,
    text => NULL,
    file_name =>'/home2/system1/orafin11i_H.txt',
    url => NULL,
    function_name => 'APXINWKB',
    entity_name => v_entity_name,
    pk1_value => to_char(p_entity_id),
    pk2_value => NULL,
    pk3_value => NULL,
    pk4_value => NULL,
    pk5_value => NULL,
    media_id => v_media_id,
    user_id => fnd_global.user_id);
    anything i did wrong? pls let me know
    thanks
    sen
    Edited by: Sen2008 on Feb 29, 2012 11:11 PM

  • Excel Attachment Support?

    I am only getting some of the Excel attachments that come through my corp account. The larger ones are not displaying at all. I am not sure why, as attachments themselves have not posed an issue at all up until this point. Can someone help?

    Welcome to Apple Discussions.
    Can you determine which ones are not being received?
    Can you verify they are actually sent and not being displayed?
    Does the iPhone indicate an attachment that does not display?
    If you forward the email (sans the spreadsheet display) BACK to another machine's account,
    does it then display?
    Please check and let me know. I'd like to follow through and see if we can find a resolution for you.
    Regards, Michael

  • Frameless support for b2b

    Hi,
    We are thinking of upgrading our Internet Sales Application from 4.0 to 5.0. We are using the B2B scenario.
    In the dev. and ext. guide for SAP E-Commerce 5.0 on page 53 they explains a method for making a frameless B2C shop.
    I had a few questions about this:
    - Is this comparable (or exactly like) more standard Java technologies like JSF?
    - Are you still able to use normal framesets for the B2C scenario?
    - Are there any significant changes to the way B2B handles framesets?
    Steven

    thanks Anuj,
    now i need to parse a file of the below format:-
    01:FileHeader
    02:GroupHeader
    03:AccountHeader
    16:Detail
    16:Detail
    49:AccountTrailer
    03:AccountHeader
    88:Continuation of 03
    16:Detail
    88:Continuation of 16
    88:Continuation of 16
    16:Detail
    49:AccountTrailer
    98:GroupTrailer
    02:GroupHeader
    03:AccountHeader
    16:Detail
    49:AccountTrailer
    98:GroupTrailer
    99:Trailer
    here the 88 record is a continuation of either 03 or 16 and its structure varies in each line. there is a 80 characters limit on all lines and if exceeded it goes to the next 88 continuation record. the record delimiter is ',' and terminator is '/'... any idea if this could be achieved in positional file in B2B. I am new to B2B as well, so please share any references you already have in case it is possible.
    regards
    Rakesh

  • Including location file in Attachment of IP_MESSAGE_TYPE to B2B

    Dear Reader,
    I am using SOA suite 10.1.3.4. and B2B 10g configured in Suse.
    I have made a BPEL proces that enqueues messages using an AQ adapter to the B2B database. For this I need to fill in the IP_MESSAGE_TYPE (payload header) that is required by EBxml that is set in the B2B Application. I have set the MSG_ID, FROM_PARTY, TO_PARTY, DOCTYPE_NAME, DOCTYPE_REVISION, ACTION_NAME, MSG_TYPE occording to the configurations done in the B2B application. This works perfectly and the message is picked up by the B2B application.
    During new requirement I need to send an attachment to the B2B application that communicted this to the trading partner (using EBxml). THe moment I fill in the attachment the message produces errors in the B2B Application and I don't know what I am doing wrong. I would like to know if somebody can tell me in steps how I need to fill in the attachment in the payload header. I have tried the following:
    1. Using an assign activity to fill the attachment field in the payload header with the expression: 'file:///home/oracle/b2b/attachments/inbound/example.xml'
    The error 'Unable to create the protocol specific B2B message' arrise in the B2B application.
    2. I have followed the steps in link:
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:4427741198166476399::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,754149.1,1,1,1,helvetica
    I have created the xsd AttachmentsDescriptor.xsd in my local bpel process and assign the below XML fragment to the attachment field in the payload header.
    <Attachments xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="AttachmentsDescriptor.xsd" version="1.0" boundary="boundary---">
    <AttachmentPart>
    <Location>file:///home/oracle/b2b/attachments/inbound/example.xml</Location>
    <Content-Type>
    <Top-Level-Type>application</Top-Level-Type>
    <Sub-Type>xml</Sub-Type>
    </Content-Type>
    </AttachmentPart>
    </Attachments>
    This time no error occured everything seem to work, but in the B2B database there is no attachment specified in the wire message.
    I hope somebody can explain me what I am doing wrong and what the steps in BPEL/B2B are to fix my problem.
    Thanks for your time.
    Regards,
    Sander
    Edited by: user606887 on Sep 25, 2009 4:53 AM

    Hi Anuj,
    Thanks for your reply. I have tested it on the server and it works. I am now busy to make it work with my BPEL proces. I am doing the following:
    1. I am using a file adapter to store the sample.xml file on the configurated directorie specified in "oracle.tip.adapter.b2b.attachments.dir"
    2. I pass the name of the file in this case Sample.xml in the field Attachment of IP_MESSAGE_TYPE (other mandatory fields of IP_MESSAGE_TYPE are filled)
    My question is if I can make it work without step 1 to prevent extra I/O on the server. I would like to fill the Attachment of IP_MESSAGE_TYPE in such a way that I don't need the Sample.xml and that my attachment is picked up directly from the server. I am wondering how I can achieve this (if its possible).
    My last question is if there is any good documentation for B2b 10g how I should configure the environment to prevent connections being kept alive when enqueuing message using AQ adapter.
    Thanks for your time and help so far.
    Regards,
    Sander

  • Including document in Attachment of IP_MESSAGE_TYPE to B2B

    Dear Reader,
    I am using SOA suite 10.1.3.4. and B2B 10g configured in Suse.
    I have made a BPEL proces that enqueues messages using an AQ adapter to the B2B database. For this I need to fill in the IP_MESSAGE_TYPE (payload header) that is required by EBxml that is set in the B2B Application. I have set the MSG_ID, FROM_PARTY, TO_PARTY, DOCTYPE_NAME, DOCTYPE_REVISION, ACTION_NAME, MSG_TYPE occording to the configurations done in the B2B application. This works perfectly and the message is picked up by the B2B application.
    During new requirement I need to send an attachment to the B2B application that communicted this to the trading partner (using EBxml). THe moment I fill in the attachment the message produces errors in the B2B Application and I don't know what I am doing wrong. I would like to know if somebody can tell me in steps how I need to fill in the attachment in the payload header. I have tried the following:
    1. Using an assign activity to fill the attachment field in the payload header with the expression: '/home/oracle/b2b/attachments/inbound/example.xml'
    The error 'Unable to create the protocol specific B2B message' arrise in the B2B application.
    2. I have followed the steps in link:
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:4427741198166476399::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,754149.1,1,1,1,helvetica
    I have created the xsd AttachmentsDescriptor.xsd in my local bpel process and assign the below XML fragment to the attachment field in the payload header.
    <Attachments xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="AttachmentsDescriptor.xsd" version="1.0" boundary="boundary---">
    <AttachmentPart>
    <Location>file:///home/oracle/b2b/attachments/inbound/example.xml</Location>
    <Content-Type>
    <Top-Level-Type>application</Top-Level-Type>
    <Sub-Type>xml</Sub-Type>
    </Content-Type>
    </AttachmentPart>
    </Attachments>
    This time no error occured everything seem to work, but in the B2B database there is no attachment specified in the wire message.
    I hope somebody can explain me what I am doing wrong and what the steps in BPEL/B2B are to fix my problem.
    Thanks for your time.
    Regards,
    Sander

    Hi Anuj,
    Thanks for your reply. I have tested it on the server and it works. I am now busy to make it work with my BPEL proces. I am doing the following:
    1. I am using a file adapter to store the sample.xml file on the configurated directorie specified in "oracle.tip.adapter.b2b.attachments.dir"
    2. I pass the name of the file in this case Sample.xml in the field Attachment of IP_MESSAGE_TYPE (other mandatory fields of IP_MESSAGE_TYPE are filled)
    My question is if I can make it work without step 1 to prevent extra I/O on the server. I would like to fill the Attachment of IP_MESSAGE_TYPE in such a way that I don't need the Sample.xml and that my attachment is picked up directly from the server. I am wondering how I can achieve this (if its possible).
    My last question is if there is any good documentation for B2b 10g how I should configure the environment to prevent connections being kept alive when enqueuing message using AQ adapter.
    Thanks for your time and help so far.
    Regards,
    Sander

  • Still failed to read email attachment, both Mail and Enturoge

    I can't open email attachments (tif and jpg) after installation of OS X 10.6 by using Mail.
    I today installed MS Enturoge but still having same problem as Mail.
    Can Apple tell me why? And how to solve this problem?

    Alex,
    Yes, the inbound mail attachment is supported in B2B PS3 (11.1.1.4.0) but you cannot send both attachment and body to a JMS queue simultaneously from B2B. Body will be passed to the JMS queue and attachment will be written to the b2b.attachments.dir (set as B2B property in EM console) -
    http://docs.oracle.com/cd/E23943_01/user.1111/e10229/app_isags.htm
    Regards,
    Anuj

  • Is there ever to be .vcs/.ics support?

    I get many appointment notifications via email, my business relies on it. With the email is a .vcs (vCal) attachment containing all the relevant information. Also attached is a .vcf (vCard) file with customer contact info.
    iPhone Mail app opens imports the .vcF information flawlessly into Contacts with a mere touch of my finger. It has no idea what to do with the .vcS file; all it shows is a question mark. This limitation has been present since the first gen iPhone, and has survived OS upgrades 2, 3, and 4, despite "targeting business users" since OS2, and expanding attachment support in OS4.
    Currently I have to go to my desktop, open Outlook (which understands the formats just fine, thank-you-very-much) to import said attachments into the calendar there, then have GoogleSync relay the additions to a Gmail calendar that updates the iPhone.
    Changing the .vcs extension to .ics at least gives me an attachment that OS4 will allow me to view, but only as a text file; no option to import the event into Calendar exists. I did stumble across an iPhone app (Calendar Happy) that will convert the .ics to something usable for Calendar (via their servers), but it still requires me to download the .vcs file to my desktop computer, change the extension to .ics, then email it to the iPhone for processing by Happy Calendar; a "workaround" that is much more consuming than using Outlook.
    My questions are these:
    -Is there anyone out there with another workaround that eliminates the need for using my desktop computer?
    -Is there anyone out there with knowledge that Apple is working on this? Similar threads abound on the Web (google "open .vcs with iPhone" or similar and grasp the enormity of the need)
    -Is this a power play/struggle between Apple and Microsoft, similar to the Adobe/Flash broo-ha-ha (which was finally satisfactorily addressed by Jobs himself)?
    The iPhone has radically changed the way I do business for the better, and I've long been a user, but this limitation is frustrating beyond words.
    Any help/advice would be welcome.

    I'm marking this as answered due to the fact that I've found an acceptable work-around until Apple gets with the program. 
    In my initial post I mentioned that an app (Calendar Happy) would convert .ics to a usable iPhone-friendly format, but not .vcs. Well, I emailed them and asked that they look at supporting .vcs in addition, since the two files are so similar and widespread. They asked me to forward a sample to work with, and while I was generating one, I got another email from them saying that their service had been updated to accept .vcs, and that an update to the app had been submitted to Apple for approval. Not even 24 hours!!
    Now THAT'S customer service!  
    Apple, please take notice. 
    While this workaround involves forwarding my email to them, then opening the reply attachment with their app, I commend them for devising a thoroughly workable solution to iphone's deficiency. Their reply email takes every bit of 5-10 seconds to come back, making it a virtually immediate event. 
    Obviously, Apple is not ignoring the .ics/.vcs omission due to hardware/OS limitations, as Calendar Happy proves that the solution is easily attainable. Maybe iOS5 will fix it on the native level. But I don't have to hold my breath anymore. 
    Thanks to all of you who tried to help. 

  • Attachment link is not visible- external content server

    Hi All,
    I have integrated an external content server to SAP
    i have done following activities:
    1) I have maintained content repository using Tcode OAC0
    2) I have Maintained Global Doc Type (ZFININV  Finance Invoice scan doc document class: TIF) using Tcode OAC2
    3) i have maintained Link for Doc type ZFININV and assigned Object type: BKPF    using tcode OAC3
    4) I have  all My documents  scaned and residing there on my content server . So i have manually created entry for these documents in Table TOA01 .
    5) I have maintained protocol using tcode OAA3
          Function : Display Stored Document
         Doc Class: FAX
          communication type : HTTP
    In application Maintenance i have used internet explorer as an application.
    7) In tcode OAG4 : i have maintained settings for storage and display.
    8) Now i can search document using Tcode OAAD. i can display document in my content server viewer
    Now my customer wants that while doing business transaction , customer should be able to attach link of supporting document   which is already residing there on my content server.
    Say for example: I display a Finance document using tcode FB03. While doing maintenance of this document ,from the same screen , i want to attach supporting document (or link of the document) which is already archived there in my content server
    but when i click on attachment list (using  GOS) , i can not see any link which i can attach to this transaction
    please suggest me .. whether i forgot any step Or is there any other way to do this requirement?
    thanks
    sandeep sharma

    Dear all,
    as naveen replied in this thread:
    Alteratively, in FB03, try using Environment -> Additional Assignments to see if it meets your requirements. You will have to explore a bit and do some trial and error tests for the solution as this is a particular requirement which you have got.
    This is standard functionality provided by sap
    Storing Incoming Document->Manual storing-> Assigning a Document that is Already Stored:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/4f/99386b446d11d189700000e8322d00/frameset.htm
    For this additional assignment, the time at which the business object was created does not matter. It is also possible to assign other archived documents to existing business objects. An archived document is assigned using the function module ARCHIV_APPEND_DIALOG_META.
    This additional assignment fulfils my requirement . but i cant see this option for other transaction (say for example ME51n or MM01 ) for which  i can do this additional object assignment.
    Is it possible to add this additional assignment  option in another business transactions context menu? or anyother work around to fulfill this requirement...
    thanks
    sandeep
    Edited by: sandeep sharma on Dec 8, 2010 6:28 AM

Maybe you are looking for

  • Firefox won't open

    I use Windows 8. Tonight I clicked the Firefox icon and Firefox wouldn't open, however, the Task Master shows it's open. I looked at all the open Windows (alt/Tab) and the only open window showing is my desktop. I rebooted MANY times. I have uninstal

  • How to use .ai brushes in Photoshop cs6? (Don't own Illustrator)

    I just purchased Kyle T Webster's "Ultimate Megapack for Photoshop CS5 and up". But once I bought it and downloaded it, I realized the files were not .abr but rather .ai. Is there any way to convert or import them into photoshop? I do not own Illustr

  • ITunes stops working when syncing my iPhone 4 with windows 7, why?

    I got my new iPhone 4 today, I am trying to sync my music, photos and such and iTunes constantly stops working. All I can do is shut down the program. I have restarted my computer AND the iPhone bu no such luck. Any help out there?

  • How to lighten the front portion of a seashell?

    i would like to lighten the front portion of a seashell. how would i do this/ what selection tool etc.  Attached is a photo of a seashell floating on some clouds. Thanks for your help!

  • Erases work and can't fix it.

    My computer becomes warm on the right side of the mouse-pad which causes the screen to either scroll down or (if in a page) the text to erase. The phone operators will not help and they gave me addresses to businesses that are showing up as closed in