Need to send XML msg to TP using B2B, but format should be Orcl XML Gateway

Current Interface:
==================
We have an EBS 11.5.10 with XML Gateway.
Actively we were exchanging XML data with 5 trading partners (different application maintained by 3rd party) using EBS XML Gateway.
XML Gateway uses OAG Format (attached the format bellow)
Future Interface:
=================
Our company is in process of moving our EBS 11.5.10 app to Oracle Fusion Apps.
Oracle Fusion app interfaces will be using Fusion Middleware and B2B.
For that we doing a POC interface between a Fusion MDM and 1 Trading Partner.
Problem:
========
But, when sending XML message to other TP using B2B, the format is different. i.e. Message in the XML Format.
Eg.
<?xml version="1.0" ?><OUTB_FUS_IND_DATA> <OUTB_FUS_IND TRANSACTION_TYPE="TP_INDIVIDUAL_OB" TRANSACTION_SUBTYPE="INDIVIDUAL.UPDATE"> <OUTB_FUS_IND KEYVALUE="100010058799220" PERSON_FIRST_NAME="Xyz" PERSON_LAST_NAME="Abc"/> </OUTB_FUS_IND></OUTB_FUS_IND_DATA>
Oracle XML Gateway send message with message envelop, which have attributes as text field and payload in the XML message format (XML Gateway envelope details is below).
(Sample XML messages goes out: HTTP Body
TRANSPORT_PROTOCOL=OXTA
TRANSPORT_PROTOCOL_VERSION=1.0
REQUEST_TYPE=SEND
MESSAGE_ID=A1234567890ZZ0987654321
MESSAGE_TYPE=XML
MESSAGE_STANDARD=OAG
TRANSACTION_TYPE=TP_INDIVIDUAL_IB
TRANSACTION_SUBTYPE=INDIVIDUAL.UPDATE
DOCUMENT_NUMBER=12345
PARTYID=9999
PARTY_SITE_ID=8888
PROTOCOL_TYPE=HTTPSu2013OXTA
PROTOCOL_ADDRESS=HTTPS://www.me.com/servlets/oracle.ecx.oxta.
Therefore, when I receive the document in PI the mapping fails due to an incorrectly formed message payload. For example:
TRANSPORT_PROTOCOL=OXTA&TRANSPORT_PROTOCOL_VERSION=1.0&REQUEST_TYPE=SEND&MESSAGE_ID=9EA3BD2......
We want B2B send messages to other TP as same way XML gateway use to send.
How we solve this issue?
XML Gateway Envelope (Manual)
=====================
In addition to the business document such as a purchase order or invoice in the XML Payload, a set of message attributes are transmitted. Collectively, these attributes are called the XML Gateway envelope.
This section discusses the XML Gateway envelope and its data in the validation process for inbound messages, or its source of data for its creation for outbound messages. Data entered into the Trading Partner Setup form is referred to as data in the trading partner table. Data entered into the Define Transactions form is referred to as data in the transaction table.
Most of the data elements are copied from the Trading Partner tables or the Transaction tables to the XML Gateway envelope.
Attribute
=========
MESSAGE_TYPE
MESSAGE_STANDARD
TRANSACTION_TYPE
TRANSACTION_SUBTYPE
DOCUMENT_NUMBER
PARTYID
SOURCE_TP_LOCATION_CODE
PARTY_TYPE
PROTOCOL_TYPE
PROTOCOL_ADDRESS
USERNAME
PASSWORD
ATTRIBUTE1
ATTRIBUTE2
ATTRIBUTE3
ATTRIBUTE4
ATTRIBUTE5
PAYLOAD

First of all EBiz and B2B/BPEL are two different products meant for different purpose and hence you cannot expect that EBiz and B2B/BPEL should have same functionality.
Whatever headers you have mentioned, those are added by OXTA (Oracle Transport Agent) which is part of EBiz. You can add almost all these headers in Oracle B2B in "Additional transport headers" section of Transport Protocol Parameter.
Search for "Additional transport headers" at below link -
http://docs.oracle.com/cd/E23943_01/user.1111/e10229/b2b_tps.htm#BABBCDHI
Regards,
Anuj

Similar Messages

  • Need to send a link in mail using apex

    Hi,
    I need to send a mail using apex which will contain a link for a specific page. For sending mail , I used the following query:
    for c1 in (select EMAIL_ADDRESS
                 from USER_DETAILS
                where USER_NAME= :P4_USER_NAME and EMAIL_ADDRESS=:P4_EMAIL_ADDRESS) loop
      if c1.EMAIL_ADDRESS is not null then
        HTMLDB_MAIL.SEND(
          P_TO       =>  c1.EMAIL_ADDRESS,
          P_FROM     => '[email protected]',
          P_BODY     => 'Your new password is '|| 'xyzxyz',
          P_SUBJ     => 'Password detail' );
      end if;
    end loop;
    But how i will send the required link.
    Pls give some idea.
    Thanks,
    Chandra Bhanu

    Hi Chandra,
    Try this version of your code, you will alter the url to map to your apex server.
    DECLARE
       l_body   VARCHAR2 (4000);
    BEGIN
       FOR c1
          IN (SELECT email_address
                FROM user_details
               WHERE     user_name = :p4_user_name
                     AND email_address = :p4_email_address)
       LOOP
          IF c1.email_address IS NOT NULL
          THEN
             -- Include link to login page
             l_body :=
                   '<p>Your new password is '
                || 'xyzxyz'
                || '  To access the application and change your password, follow the '
                || 'link below.</p><p><a href="http://'
                || '</p><p><a href="http://edwprd:7777/pls/oitp/f?p=&APP_ID.:LOGIN</a></p>';
             apex_mail.send (p_to     => c1.email_address,
                             p_from   => '[email protected]',
                             p_body   => l_body,
                             p_subj   => 'Password detail');
          END IF;
       END LOOP;
    END;
    Jeff

  • What XML encoding do I use to get APEX to import an XML file?

    Environment:
    APEX 3.1.1.00.09 on AIX 5.3
    SQL Developer 1.5.5 on Windows XP Pro SP3
    Oracle 10.2.0.2 EE on AIX 5.3
    Trying to import an XML file generated from SQL Developer into a table using APEX Import utility.
    I'm getting the error: ORA-19200: Invalid column specification
    All I've done is exported the EMP table from SQL Developer (v. 1.5.5) into an XML file and then tried to load into an empty EMP table in the database (10.2.0.2) using APEX and the Data Load Utility.
    I've tried creating the XML file using different encodings out of SQL Developer but so far an still getting the above error.
    Any help is greatly appreciated.
    -gary

    Hi Scott
    First of all I was successful in exporting and re-importing the EMP table to and from APEX.
    When I exported the EMP table in XML format using SQL Developer, the resulting XML looked very different from the same data exported from APEX. My APEX exported XML looked just like yours. Here are the first 3 rows of the XML file exported from SQL Developer. I'm NOT an XML person so I can't judge whether or not this is valid XML but I can tell you that it doesn't import into an empty EMP table through APEX. I can control the encoding type in SQL Developer and have tried several different flavors.
    <?xml version='1.0' encoding='UTF-8' ?>
    <RESULTS>
         <ROW>
              <COLUMN NAME="EMPNO"><![CDATA[7876]]></COLUMN>
              <COLUMN NAME="ENAME"><![CDATA[ADAMS]]></COLUMN>
              <COLUMN NAME="JOB"><![CDATA[CLERK]]></COLUMN>
              <COLUMN NAME="MGR"><![CDATA[7788]]></COLUMN>
              <COLUMN NAME="HIREDATE"><![CDATA[12-JAN-83]]></COLUMN>
              <COLUMN NAME="SAL"><![CDATA[1100]]></COLUMN>
              <COLUMN NAME="COMM"><![CDATA[]]></COLUMN>
              <COLUMN NAME="DEPTNO"><![CDATA[20]]></COLUMN>
         </ROW>
         <ROW>
              <COLUMN NAME="EMPNO"><![CDATA[7499]]></COLUMN>
              <COLUMN NAME="ENAME"><![CDATA[ALLEN]]></COLUMN>
              <COLUMN NAME="JOB"><![CDATA[SALESMAN]]></COLUMN>
              <COLUMN NAME="MGR"><![CDATA[7698]]></COLUMN>
              <COLUMN NAME="HIREDATE"><![CDATA[20-FEB-81]]></COLUMN>
              <COLUMN NAME="SAL"><![CDATA[1600]]></COLUMN>
              <COLUMN NAME="COMM"><![CDATA[300]]></COLUMN>
              <COLUMN NAME="DEPTNO"><![CDATA[30]]></COLUMN>
         </ROW>
         <ROW>
              <COLUMN NAME="EMPNO"><![CDATA[7521]]></COLUMN>
              <COLUMN NAME="ENAME"><![CDATA[WARD]]></COLUMN>
              <COLUMN NAME="JOB"><![CDATA[SALESMAN]]></COLUMN>
              <COLUMN NAME="MGR"><![CDATA[7698]]></COLUMN>
              <COLUMN NAME="HIREDATE"><![CDATA[22-FEB-81]]></COLUMN>
              <COLUMN NAME="SAL"><![CDATA[1250]]></COLUMN>
              <COLUMN NAME="COMM"><![CDATA[500]]></COLUMN>
              <COLUMN NAME="DEPTNO"><![CDATA[30]]></COLUMN>
         </ROW>
    Maybe I should move this thread to the SQL Developer or XML forums.
    If you have any other suggestions I would be most appreciative.
    Thanks very much for your help.
    -gary

  • Why would an iPhone using iMessage be able to send photos to another iPhone using  iMessage  but not to a third iPhone?

    I'm using an iPhone 6+ to  send photos to my sister using iMessage. She has an iPhone 5C. We both see "blue" backgrounds on our outgoing messages and grey on incoming messages. We both send and receive photos successfully. However, with another sister, using an iPhone 5, we used to be able to do same until recently. Now our backgrounds for outgoing texts are "green" and if we have a photo in the message we get ''Undelivered" message. I've taken screenshots of my iMessage settings and she claims hers match mine. Are we missing something?

        We want your phone working just as well now as it did before your trip, sngbrd9. Are you trying to send the pictures to other Apple users using iMessage or are they being sent through MMS/picture messaging? Are you able to send pictures one at a time to those same contacts without an error? Did you change any settings in your camera to have HDR now instead of a slightly lower resolution with a smaller file size? 
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Look I need to send my Ipod in to get fixed but I don't know where to send it so I need help!?!?!?!

    When I got my ipod which was about 2 years ago I had went go disconnect the charger from the ipod and the place where the charger goes busted out and I wasn't ruff with it. It just fell out and I wanna send it in but I don't know the location and I don't have a store near me at all so I would need to send it on my own.

    Follow the instructions here.
    Apple - Support - iPod - Service FAQ

  • Reg XML to Plain Conversion using B2B add on

    Hi All,
    This is an outbound scenario where the  message is sent to AS2 receiver channel and the output is Plain file. I have added all the module parameters
    and the content type as application/plain. While testing I am facing the error,
    Exception caught by adapter framework: XML-Parser error occured while parsing: Cannot initialize XML to plain handlerCan not find a matching configuration for sender party "", service , receiver party ,service , namespace , action  in table B2B_PLA_CTRL_IF.
    Can anyone help me on this issue.
    Cheers,
    Neethu

    Hi Neethu,
    Did you import the content? See How to install the new B2B add-on , see step 5.1
    You need to do this for the message type you want to exchange ((EDI, ansi X.12, ...).
    Also, please do step 5.2. I guess this is not the case.
    Kind regards,
    Dimitri

  • Can't send attachments in earthlink webmail using mozilla but it's ok in explorer

    when opening earthlink webmail using mozilla, it wont send e mail with attachments but earthlink webmail will send mail with attachments when opened with ms explorer
    pls help

    Is it a browser, earthlink or Firefox, Windows8, etc. issue. How can I fix this? And who should I contact if Firefox contributors don't have a solution? Thanks

  • How to send mails to multiple recipents using SO_DOCUMENT_SEND_API

    Hi ,
    I am using the FM "SO_DOCUMENT_SEND_API".
    I am able to send an Excel sheet as attachement, but my requirement is to send multiple mails to the corresponding persons. I tried using coma, colan, semi colan as the separator in the import parameter SENDER_ADDRESS for two different mail id's but it was not useful.
    I need to send mails to multiple recipens using the same FM. (keeping one person in to list and two of the persons in CC.)
    can any on throw some light on this. 
    Thanks
    rewards will be great.....................................

    Hi,
    The code below demonstrates how to send an email to an external email address([email protected]),
    where the data is stored within a .xls attachment.
    Instead of the statement, <b>PARAMETERS: p_email   TYPE somlreci1-receiver
                                      DEFAULT '[email protected]'.</b>,
      use select-options & give the e-mail addresses that you want.
    *& Report  ZEMAIL_ATTACH                                               *
    *& Example of sending external email via SAPCONNECT                    *
    REPORT  ZEMAIL_ATTACH                   .
    TABLES: ekko.
    PARAMETERS: p_email   TYPE somlreci1-receiver
                                      DEFAULT '[email protected]'.
    TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
      CONSTANTS: con_cret TYPE x VALUE '0D',  "OK for non Unicode
                 con_tab TYPE x VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
             INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
        CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
                    wa_charekpo-aedat wa_charekpo-matnr
               INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    endform.                    " POPULATE_EMAIL_MESSAGE_BODY
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • Need to send an email via workflow if a field changes

    Hi,
    so I have this field called temination date in an infopath 2010 form. When (if) a user changes that field, I need to send an email out to other users, but I can't figure out how to do it, I have tried making another field called temination date before, but
    the problem I am having with it is getting it to populate. I should say that the field temination date before was just a regular list field, not an infopath field, not sure if that matters.
    any help at all would be greatly appreciated
    Best regards, Mike

    Mike,
    From your description, here is what I understand.
    Your InfoPath form saves to a form library having 2 columns Termination Date [Date and Time data type, promoted from InfoPath Form] and Termination Date Before [Date data type, created on Form library].
    On save[submit] of the form, a workflow [created using SharePoint Designer] triggers, with the below logic.
    If CurrentItem.Termination Date Before  is blank Then assign the Termination Date to Termination Date Before
    else send an email Termination Date changed from Termination Date Before to Termination Date, set Termination Date Before to Termination Date 
    Is the difficulty you are facing is when you assign Termination Date to Termination Date Before?
    As Ram suggested, can you try modifying your workflow logic with just as : log to history list CurrentItem.Termination Date, change the termination date and save the form, verify the workflow triggered, verify the correct value logged to the
    workflow history list by opening the workflow instance from items workflows?
    -- Shan

  • Creative Zen 16GB playlist using anything but Creative Media Explore

    I need some suggestions for creating a playlist using anything but Creative Media Explorer. I hate drilling down throught the artist/album folders! I hate that I can't view my playlist in Media Explorer (Manage or Create Playlist) as anything but filenames. With a long playlist, it's hard to see if you've already added the song.
    I can see my playlist on?WMP and Rhapsody but can't edit. Any other third party software that would help me? I guess Creative Media Source won't?work with the Zen 6GB. Thanks!

    @ It could be incorrect ID3 tags on your .mp3s, if the source for your music had the wrong ID3 information, your Zen won't show the correct information unless you use an? ID3 Tag Editor to correct the source.

  • Issues with creating and sending BOM XML IDOC to SAP using 2010 WCF-SAP Adapter (without using Biztalk Server)

      I'm trying to replace an existing Biztalk 2006 Send BOM IDOC process, and completely remove Biztalk server from the equation.   The existing Bizatalk 2006 server receives an input BOM (Bill of Materials) flat file, and using a Biztalk Map (BM08),
    and Orchestration, generates an Idoc and sends it to SAP.
      In my replacement C# program, I'm using the 2010 WCF-SAP Adapter, and am trying to generate the BOMMAT03 XML IDOC it to SAP.  
      I generated the BOMMAT03 schema from SAP using the Add Adapter Service in VS 2010.  I was able to generate a BM08 XSLT from the existing BMO8 map in the current Biztalk 2006 process.  I am able to run a XSLT transform on the input BOM flat
    file, and generate an XML file from that.  
      However, I've run into a few issues.   First of which, is that the XML file that is generated from the XSLT transform is NOT the same schema as the BOMMAT03 schema expects.  It's somewhat similar, but different enough that I have to manually
    translate between the two in my code.  I've verified that both the original Bitztalk 2006 process and my replacement program use BOMMAT V3 from SAP.  Question--Is Biztalk 2006 server doing some other magic to turn that transormed XML into the BOMMAT03
    schema?    
     I ended writing code which translates the transformed XML into the BOMMAT03 schema (which is a strong typed XML IDOC at this point).
      However, when I try to send the BOMMAT03 XML IDOC, I get an exception "Object reference not set to an instance of an object."
                   idocClient.Send(idocData, ref sadapterTxGuid);
    idocData is of type BOMMAT03, and I've verified that the various fields are populated.  
      Any help is appreciated. 

    Well, putting in a MSDN subscription support ticket for Biztalk server actually helped with the issue.  They didn't find, or fix the issue directly.  But one of the examples (https://randypaulo.wordpress.com/tag/idoc/) they sent over, jogged my
    memory, and I realized in the code snippet below, I had accidentally deleted the 1st line.  Such a simple mistake, yet was easy to overlook.  The URL example is almost EXACTLY like my code, but without the transform and translation code to convert
    from input XML file to IDOC XML.  If someone is interested in that, let me know.    
    //Forgot the 1st line.  
    idocClient = new IdocBOMMAT03SIEIS_WED_BOMMAT03V3R700Client(binding, endpointAddress);
     idocClient.Send(idocData, ref sadapterTxGuid);
    For anyone else interested in knowing, you CAN send a strongly typed IDOC to SAP using C#.NET and the WCF SAP 2010 Adapter, using the IDOC Binding Client class you generated using the Add Adapter Service Reference in VS2010.  
    The one difference, which no one, not even the tech support from MS could tell me, was why the XSLT which I generated from the original map, did not transform the input BOM XML into the BOMMAT03 XML.  Instead, it transformed it into an intermediate
    XML, which resembled the BOMMAT03 IDOC XML, but still needed to be translated to the BOMMAT03 IDOC format.  
    The tech support person swore up and down that it should.  But I believe that something happens in Biztalk server, after the Mapping occurs, maybe in the Pipeline, which converts that
    intermediate XML into the final BOMMAT03 IDOC XML format.
    I do think that the examples are severely lacking in showing how to send a strong typed IDOC using C# and the WCF-SAP Adapter.  Even worse, the examples are completely lacking in how to actually generate a weakly typed IDOC.  They show how to send
    that weakly typed IDOC, but show me, or give me a class to be able to generate it.
    I realize that this is not quite the "recommended way" to do it, but in reality, not everyone wants or even needs a full Biztalk installation.   For some simple stuff like this, a C#.NET program and WCF-SAP adapter do the trick.  

  • How to send XML file into XI using sender HTTP adapter

    I am using HTTP sender adapter to post the XML file into XI. I tried to form the URL by using the following String query , but I am unable to execute file.
    String urlString = "http://<servername:portno>/sap/xi/adapter_plain?namespace=<namespace>&interface=<interface name>&service=<service name>&party=&agency=&scheme=&QOS=BE&sap-user=xiappluser&sap-password=satyam&sap-client=100&sap-language=EN";
    How can I execute xml file by using HTTP sender adapter.
    Any one with better suggestions, about this idea?
    Thanks in advance for all.
    Ram Raj

    Hi
    Just use the following parameter to send xml file using HTTP adapter.
    "http://xiserver:8000/sap/xi/adapter_plain?namespace="senderNamespace"&interface=senderinterface&service=sender service";
    "&party=sender party"&agency=&scheme=&QOS=BE&sap-user=userid &sap-password=password&sap-client=100&sap-language=D";
    with the help of this you are able to point out which interface you would like to use.
    And in payload pass the xml.
    and thats it
    carry on
    Cheers
    Regards
    Piyush

  • I use my Ipad to record clients and I need to send these recordings to my customers. I am having trouble sending them because it always says that they are too long in length. They run any where from 5 minutes to maybe 15. Can I compress these

    I use my Ipad to film my clients and need to send copies to my clients. I am having trouble sending them. When I press share, it only gives me options of sending them as a Message airdrop or Icloud. When I press Icloud nothing happens. The videos are usually 5minutes to maybe 20 minutes. I need to send them insome kind of a compressed manner so it iseasy for my clients to open and watch. Thanks

    Have you thought about uploading them to youtube? You can put things there up to 8 minutes long, and up to 15 if you get verified. You can also have them 'unlisted' which means they're not visible to anyone without the link.
    I think your issue isn't as much that the videos are too long, it's that the file size is too big. I have a 3 minute video that I shot with my iPod that's 300 megs, and most mail programs max out at 25 megs.
    There may also be options with vimeo or other video sharing programs that you can explore.

  • Hi ! I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    Hi ! I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    There is a link at the bottom of this page. http://www.apple.com/contact/

  • Good morning. I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an e.mail i can use in Apple USA? Thanks.

    Good morning. I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    There is a link at the bottom of this page. http://www.apple.com/contact/

Maybe you are looking for

  • Macbook Pro to Samsung LCD TV

    I'm trying to hook up a MacBook Pro to a Samsung LCD TV (Model: LE40A656A1FXXU) but when I connected it up the message on the screen was something along the lines of 'mode not supported'. Can someone tell me what I need to do? Currently I'm using the

  • Looking for best compatible camcorder for Mac

    Which format is best duited for I movie and Macbook's in general. I want a mid level camcorder for vacations and family and would like ease of use for editing in I movie & other video editing programs with my new Macbook pro. Is Mini DV still the for

  • Profit center derivation rule

    HI We need to maintain the profit center derivation rule in the delivery or billing document, i.e. if batch no starts as A- Profit center-1000, B -Profit center-2000. We have used some user exit in order and working fine. where as our client is inter

  • Problems with signatures in email preferences

    I move a bunch signatures from the "all signatures" to my email account (there are 6 different accounts). If I close the program or shut off the computer, I loose al the signatures in my account. I have to open preference again and move them from "al

  • What is going on with mics on 5s..

    Just finally decided to come out of the dark ages and buy a smartphone.  I got a Iphone 5s and I am so fustrated.  i can hear everyone else clearly but it is rare for anyone to hear me.  Walking around... can you hear me now???  Now that was the dark