How to handle Changes in the Structure of Outbound Message.

Hi Experts,
I have a File2RFC scenario where the Outbound Message fields are (for e.g,) ID,Name,Loc, and Status. The structure of the xml file which needs to be picked by sender file adapter is changing each time based on the data entered by the user. I am sure this will fail in IS with RuntimeException in Message-Mapping transformation Error. Is there anyway to handle this kind of situation.
Message Sample- 1 (Message Processed successfully as it contains all the 4 fields...)
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Send xmlns:ns0="http://File2File">
   <root>
      <ID>1234</VesselID>
      <Name>PIUSER</VesselName>
      <Loc>System A</Type>
      <Status>1</Status>
   </root>
</ns0:MT_Send>
Message Sample-  2 (Message Failed with Runtime Mapping Exception in IS...'Loc' is missing)
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Send xmlns:ns0="http://File2File">
   <root>
      <ID>5678</VesselID>
      <Name>SAPUSER</VesselName>
      <Status>2</Status>
   </root>
</ns0:MT_Send>

Hi Ravi,
Thanks for the reply. I think changing the cardinality will not solve this issue. Because the file which is being picked by Sender file Adapter is changing its structure everytime based upon the values entired by the user.
For example - In Message 1 User has entered all the 4 values...so the structure is full.
Message Sample- 1 (Message Processed successfully as it contains all the 4 fields...)
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Send xmlns:ns0="http://File2File">
<root>
<ID>1234</VesselID>
<Name>PIUSER</VesselName>
<Loc>System A</Type>
<Status>1</Status>
</root>
</ns0:MT_Send>
In Message 2 - user has entered only 3 values...Though I have kept Loc as 0 to Unbound it fails as there is no tag <LOC></Loc> here.
Message Sample- 2 (Message Failed with Runtime Mapping Exception in IS...'Loc' Tag is missing)
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Send xmlns:ns0="http://File2File">
<root>
<ID>5678</VesselID>
<Name>SAPUSER</VesselName>
<Status>2</Status>
</root>
</ns0:MT_Send>

Similar Messages

  • How to configure Usertokenname in the header of outbound messages in XI?

    Hello all,
    I implement RFC to WebService scenario. The web service has an username token in header, so as understand SOAP request of exchnage infrustructure must have it too order to communicate with web service.
    If I test the scenario with the same webservice without wss usertoken it runs successfully. If I take the webservice with usertoken in header, I've got such error in adapter monitoring
    soap fault: An error was discovered processing the <wsse:Security> header.
    Can you tell me please where I have to say XI, that soap request has to be with usertoken in header?
    I think it have to be in j2ee configuration, there are some services defined under webservice security; but where exactly? Attention: webservice is not deployed on xi j2ee, it is deployed on the tomcat.
    I'll appreciate every help!
    thank you Anna

    Hi Anna,
    Check note 1039369
    "What is the URL for sending SOAP messages to my channel?
    The adapter servlet receives messages sent to the following URL and forwards the messages to the specified axis adapter channel.
    http://host:port/XIAxisAdapter/MessageServlet?parameters
    where host and port are the host name and the port number of the adapter engine and parameters is a list of parameters that identifies the inbound channel given in the following syntax:
         parameters          ::=      token ( '&' token )*
         token               ::=     name '=' value
         name               ::=     fieldname
         value               ::=     fieldvalue
         fileldname          ::=     'senderParty' | 'senderService' | 'receiverParty' | 'receiverService' |
                             'interface' | 'interfaceNamespace' | 'messageId' | 'queueName'
         fieldvalue          ::=     urlencoded value
    This servlet is also used to show the deployment information of the Axis adapter"
    and see:
    Security Settings for the Receiver SOAP Adapter
    http://help.sap.com/saphelp_nw04s/helpdata/en/56/992d4142badb2be10000000a1550b0/frameset.htm
    WS-I Sample Application Blog Series: Securing the WS-I Sample Application
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c572b5e8-0c01-0010-5a88-84f007ae38e7
    Securely Consume Web Services u2014 With No Coding
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/81e77b03-0901-0010-d79c-9ee3afd576e1
    Ensure the Confidentiality of Your SOAP Message Content
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0650f56-7587-2910-7c99-e1b6ffbe4d50
    Web Services Security Cookbook
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92914af6-0d01-0010-3081-ded3a41be8f2
    Web Services Security UsernameToken Profile
    http://www.oasis-open.org/committees/wss/documents/WSS-Username-02-0223-merged.pdf
    Edited by: Pedro Baroni on Oct 22, 2008 6:24 PM

  • How to set values to the structure containing a node with cardinality 0..n

    Hello.
    I 'm trying to set values for the node with cardinality 0..n. The node type is "Fields".
    <xsd:complexType name="Field">
       <xsd:sequence>
          <xsd:element name="fieldCode" type="xsd:string"></xsd:element>
          <xsd:element name="displayValue" type="xsd:string" minOccurs="0"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Fields">
       <xsd:sequence>
          <xsd:element name="field" type="tns:Field" minOccurs="0" maxOccurs="unbounded"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    I  need to set several values for the element "fieldCode" but it has cardinality 0..1 and BPM does not allow it but I did not find any option about how to set values for the structure of type "Fields". Could you help me?
    Best regards,
    Timur Semenchuk

    Hi Marcus,
    If there is no way you could change the cardinality of the node, and thus it can contain 0..n items, I think you should create-and-add a new element programmatically.
    Since the collection can contain zero elements, I would add a 'new' button, which upon clicking adds one new element via:
    IYourNodeElement yourNodeElem = wdContext.nodeYourNode().createYourNodeElement();
    wdContext.nodeYourNode().addElement(yourNodeElem);
    Hope this explains a bit!
    Best,
    Robin van het Hof

  • HT5621 I recently changed my apple ID but the old on is still on my iCloud account. The old address is dimmed on iCloud on my iPad so I can't change it. How do I change to the new address?  I don't want to delete the account as I don't want to lose the pi

    I recently changed my apple ID but the old on is still on my iCloud account. The old address is dimmed on iCloud on my iPad so I can't change it. How do I change to the new address?  I don't want to delete the account as I don't want to lose the pictures

    To change it, you have delete the existing account.  However you can avoid losing any pictures in the process.  To avoid losing photo stream photos, save them to your camera roll (if not already there) before deleting the account.  To do this, open your my photo stream album, tap Edit, tap the photos, tap Share, then tap Save to Camera Roll.  (Camera roll photos are not effected by deleting the account.)
    Then go to Settings>iCloud, tap Delete Account, then sign back in with the new ID.  This deletes the account and your iCloud data from your device, but not from iCloud.  Provided you are signing back into the same account, your iCloud data will reappear on your device when you sign back in.

  • When I commenced subscriptions for PhotoshopCC i was billed $19.99 per month.  The advertised fee is now $9.99 per month for a single product.  How do I change to the lower payment plan.?

    when I commenced subscriptions for PhotoshopCC i was billed $19.99 per month.  The advertised fee is now $9.99 per month for a single product.  How do I change to the lower payment plan.?

    The advertised fee is now $9.99 per month for a single product.
    Where are you seeing that? I still see Single App membership at US$19.99/month.
    Creative Cloud free trial & plans : Adobe Creative Cloud
    The only US$9.99/month offering is Photoshop+Lightroom.
    So I guess you're asking to swap from the Photoshop Single App Plan to the Photography Plan (PS+LR)?

  • How can I change a the dropdown menu background according to the text selected?

    How can I change a the dropdown menu background according to the text selected?

    Read here about how to use the color object correctly:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/common/html/w whelp.htm?context=Acrobat9_HTMLHelp&file=JS_API_AcroJS.88.260.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/common/html/w whelp.htm?context=Acrobat9_HTMLHelp&file=JS_API_AcroJS.88.261.html

  • I own CS6. I just built a new computer with Win-7. How do I change to the 64 bit version and install on the new computer?

    I own CS6. I just built a new computer with Win-7. How do I change to the 64 bit version and install on the new computer?
    Lance

    download the installation file(s) and activate with your serial number,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.<

  • When I enter the Apple store up and I Try to download an app up comes a window telling me that I am in the USA store and must change to the Australia Store. I actually live in Australia. How do I change to the Australian Store?

    When I enter the Apple store up and I Try to download an app up comes a window telling me that I am in the USA store and must change to the Australia Store. I actually live in Australia. How do I change to the Australian Store?

    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region...change here.

  • I was in a Pages Doc and inadvertently had the Caps Lock on. How Can I change all the text I typed from Upper Case to Lower Case?

    I was in a Pages Doc and inadvertently had the Caps Lock on. How Can I change all the text I typed from Upper Case to Lower Case?

    Several protocols may be used.
    Here I describe two of them.
    (1) the one which I use : install and use the "Convert to Lowercase" service available in the free WordService
    (2) copy your text, paste in TextEdit and enter the Edit menu.
    I guess that you will recognize the items in your English menu.
    I apologize but I don't know the English items.
    Yvan KOENIG (VALLAURIS, France) jeudi 16 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Apple TV sorts my photos only in ascending order, how can I change so the most recent EVENTS appear first?

    Apple TV sorts my photos only in ascending order, how can I change so the most recent EVENTS appear first?

    I'm looking for an answer to this, too, since I have thousands of Events, and so scrolling down to the bottom every time I want to show my newest photos makes it almost unusable.

  • How do I do a mass change of face names in iphoto?  For example, I have 500 pictures named Michelle Smith, but she is married and is now Michelle Johnson.  How do I change all the photo face names to the new name en masse?

    How do I do a mass change of face names in iphoto?  For example, I have 500 pictures named Michelle Smith, but she is married and is now Michelle Johnson.  How do I change all the photo face names to the new name en masse?

    You edit the name in the Corkboard view.

  • I live in USA. I am traveling in Germany and downloaded itunes. Its in German! How do I change to the english version?

    I live in USA. I am traveling in Germany and downloaded itunes. Its in German! How do I change to the english version?

    Go to the bottom of the screen, click the flag, choose your country.
    You can only buy from your country of residence and only while in that country.

  • Can any body tell me how to make changes in the print layout of Fb03.

    hi,
    Can any body tell me how to make changes in the print layout of Fb03.
    I want to add comapny address on the layout.
    Regards
    Mave

    If you mean the correspondence, you have to change the configuration in Financial Accounting -> AR and AP -> Business Transactions -> Outgoing Invoices -> Carry Out abd Check Settings for Correspondence. There, you need to assign your custom Program or Layout for the Correspondence Type (like SAP19) and Program.
    If you mean the display layout in transaction FB03, You can change a few settings, mainly with BKPF and BSEG fields. I don't think you can add company address, though.
    Good luck,
    Bhanu

  • How to send  changes in the Database Table Periodically using Change Pointe

    Hi,
           How to send  changes in the Database Table to the external system Periodically using Change Pointers.
    Thanks & Regards,
    Gopi.

    That depends on what table you are referring to.

  • How can I change/delete the icons on the Buttons from JUNavigationBar?

    Hi,
    does someone know how I can change/delete the Icons used by the Buttons on the JUNavigationBar?
    Any Idea?
    THX
    Peter Zerwes

    To change the icons, you could call navbar's setButtonIcon method like:
    navbar.setButtonIcon(EXECUTE_BUTTON, myIcon);
    To remove/hide a button group you could call one of the
    setHas...Button methods (setHasInsertButton, setHasDeleteButton, setHasTransactionButtons, setHasFindButton...) THX Sathish, but my problem is that i want to use the Buttons without the Icons!!
    Any Idea?

Maybe you are looking for

  • Current date in BO queries with Universe built on Infocube

    Hi dear experts, We are facing the following issue : - we built a universe on top of a multiprovider (with 2 infocubes) since we don't want to manage BW Queries. - we need to restrict data on WebI queries using current date or system date (to compare

  • ORA-01536: space quota exceeded for tablespace 'SYSTEM'

    Hi All, Please help me to understand the below issue. I am trying to create a table as below. Connected as APPS user. SQL>create table test_ts(id number) tablespace APPS_TS_TX_DATA ORA-00604: error occurred at recursive SQL level 1 ORA-01536: space q

  • Populate SELECT LIST on selecting value in another SELECT LIST

    Hello I have two SELECT LIST's 1. SELECT LIST with departments : Created a LOV which has all the departments. 2. SELECT LIST with employees : This has to be dynamic. Based on the value from the first Department SELECT LIST I need to populate the Empl

  • IPod Backup to Install OS4 Freezes

    Every time I try to install OS4, I have to go through a backup. However, the backup takes 20 minutes to even begin to start, and then freezes and cancels itself, every single time. I've updated iTunes, reset my iPod, and restored my iPod. I'm not sur

  • Linking SLoc and MRP Areas in Supply Area

    Hi All, I recently moved one production line from one plant to an other one. This new line is feeded with Water from a separated tank. I would like to be able to see the requirement of water coming from the new line and stock in this tank separatelel