Encription of the xml message before sending it out of xi

Hi
I have to send xml message out of xi.
I am using the xi adapter to do so.
I have to encript the message.
how can i achieve this
Thanks
Nikhil

Hi
You can use Java Mapping or user-Modules to do this.
Go thru this link:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/unkown/webinars/how to handle unstructured source content for adapters/the pdf presentation of how to handle unstructured source content for adapters.pdf
Hope it helps.
Regards
Arpit Seth

Similar Messages

  • BPEL- To split XML message before sending

    I get Orders -XML from ERP System , and I am sending this XML data to external system(using web services).
    So, if one or more Orders fail to validate, then none of them get into Database.
    Using a loop by sending each Order at a time is the best way?
    Thanks
    Edited by: user13374451 on Sep 14, 2010 2:45 PM

    Oh yes we can achieve this. I did it in one of my processes. Probably this is what you can do.
    1. Take a count variable and based on your required count the number of time you need to send the XML content. In my case, I was receiving many protocol informations in a single XML payload and I had to call the web service for each of these protocols. So say if i had 5 protocols in my XML, I need to break it into 5 and post it to the Web service 5 times.
    2. Take a while loop and use increment counter.
    3. break the XML code for each of your entry using incrememtn count variable like this /ns5:NewDataset/LotCountryReleaseMessage[bpws:getVariableData("IncrementCount")] and copy it to another variable (which is of same structure).
    4. Increment count value.
    5. Post it to ur target. This way, the web service is called for each of your entry.
    Let me know if this was clear.
    Thanks,
    Gautham

  • Droid X, review lengthy text message before sending?

    When composing a long text message I find it very difficult to review the entire message before sending it. Is there a way to do this that is not obvious? I have tried scrolling line by line and I end up changing words unintentionally. Holding your finger over the text pops out a magnifying glass, but even that is not very useful.

    Unfortunately there is not an option within the device to change to make viewing your text messages any easier. You will have to scroll through the message. 
    Hope this helps!

  • Puttin the name of the file in one tag of the xml message

    Hi all,
    does anybody kowns how to put the name of the file in one tag of the xml message in the adapter, without using a java mapping to get the file name.
    Thanks.

    H Antonio,
    You can  use ASMA( Adapter Specific Message Attributes) for acccessing the file name, along with Dynamic Configuration. You can follow the following blog for that. If you do not want to use the same file name for the reciever, dont select the File Name check box.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Thanks and Regards,
    Sanjeev.

  • How to get the XML messages from JMS Queue in BPM

    I have one requirement in my application.we are sending XML messages to the JMS Queue.How to get the XML messages from JMS Queue and how to Extract the details from XMl.
    can you please send me the code to get the XML messages from the JMS Queue.
    Thank you,

    Hi,
    Sure others will have some other ideas, but here's what I typically do to get the XML from a JMS queue. Inside the Global Automatic that pops the messages off the queue you'd have logic similar to this:
    artifactInfoNodes as Any[]
    xmlObject as Fuego.Xml.XMLObject = XMLObject()
    load xmlObject using xmlText = message.textValue
    . . . Once you have this, it's a matter of deciding what you want to do with the message. Most times you'll parse the XML (using XPATH statemens), set argument variables and create a work item instance.
    Hope this helps,
    Dan

  • Reading the XML message from Xi stored in XML format from a abap program.

    Hi Gurus,
    My requirement here is to read the data that will be coming from Xi from my custom abap program and updating 2 data base tables. The method is after the data mapping is done a class is generated in abap proxy in which a method is available. Inside the method i am writing the code for getting the Xi data stored as a payload message which can be seen in the transaction SXMB_MONI. My code is given below.
    ***begin code***
    method ZII_PAYROLL_HEADER_IN~PAYROLL_HEADER_IN.
    **** INSERT IMPLEMENTATION HERE **** ***
    data: ln type i.
    DATA: i_items TYPE TABLE OF ZPAYLOAD_WRAPPER_EMPLOYEE_REC3.
    *DATA: wa_items type ZPAYLOAD_WRAPPER_EMPLOYEE_TAB5.
    data: wa_items type ZPAYLOAD_WRAPPER_EMPLOYEE_REC3.
    DATA:PERNR TYPE STRING.
    *data: it_ZPAYLOAD_WRAPPER16  TYPE ZPAYLOAD_WRAPPER16.
    I_ITEMS[] = INPUT-PAYLOAD_WRAPPER-BODY-XMLDOC-PAYROLL_PERIOD_OVERVIEW-EMPLOYEE_RECORD[].
    *I_ITEMS = INPUT-payloadWrapper-Body-XMLDOC-PayrollPeriodOverview-EmployeeRecord.
    describe table i_items[] lines ln.
    endmethod.
    **End code***
    As per the logic the data stored in the XML message should be avaialble in INPUT-payloadWrapper-Body-XMLDOC-PayrollPeriodOverview-EmployeeRecord which i am assigning to a local internal table in the class.
    But in my case there is no data coming in
    INPUT-payloadWrapper-Body-XMLDOC-PayrollPeriodOverview-EmployeeRecord.
    But i can see the data transffered from XI in the transaction SXMB_MONI->XML message->inbound message->payload.
    Is there any way to read the data stored in the XML message in the transaction SXMB_MONI.
    Also why the data is not coming in
    INPUT-payloadWrapper-Body-XMLDOC-PayrollPeriodOverview-EmployeeRecord inside the class.
    If there is any solution for this problem please post it.

    You can use function module SXMB_GET_MESSAGE_PAYLOAD.
    Code snippet:
    DATA: ls_mast      TYPE sxmspmast,
          ls_msgkey    TYPE sxmsmkey,
          lv_bin_xml   TYPE xstring,
          lv_str_xml   TYPE string.
    * select sxmspmast into ls_mast
      ls_msgkey-msgid  = ls_mast-msgguid.
      ls_msgkey-pid    = 'RECEIVER'.
      CALL FUNCTION 'SXMB_GET_MESSAGE_PAYLOAD'
        EXPORTING
          im_msgkey      = ls_msgkey
          im_archive     = ' '
          im_version     = ls_mast-vers
        IMPORTING
          ex_msg_bytes   = lv_bin_xml
        EXCEPTIONS
          not_authorized = 1
          no_message     = 2
          internal_error = 3
          no_payload     = 4
          OTHERS         = 5.
      IF sy-subrc EQ 0.
          lv_str_xml = cl_soap_moni_helper=>convert_xstring_to_string( xstring_in = lv_bin_xml ).
      ENDIF.

  • Ticking the 'portal vendor' in SRM not triggering the XML message in SRM?

    Dear experts,
    I have ticked the 'portal vendor' in the supplier master data in SRM.
    I have maintained the output medium as 'XML\XI'.
    The 'permit surrogate bidding' button is unticked.
    Then, I have saved the supplier master data successfully.
    Still no XML message is generated for the supplier transfer to PI  in the transaction SXMB_MONI.
    Could you please comment what things I should look for?
    Thanks and regards,
    Ranjan

    Dear Nikhil/Soumyaprakash,
    The XML message was not generated from the SRM system due to missing config details in the 'define system landscape directory' in the SRM system.
    Now, The SRM system is generating the XML message for supplier transfer. The PI system is successfully processing the messages. On the receiver side, the SUS system is also successfully processing the message.
    However, no supplier is created under the root vendor organization in SUS system. No mail is also triggered. I have also maintained the vendor and porg details in the table 'BBP_MARKETP_INFO'.
    Could you please check if anything is needed to trigger the creation of vendor record in SUS?
    Thanks in advance,
    Ranjan
    Ranjan Sutradhar

  • HT5037 I followed the above instructions and after I choose the library I want to upgrade and hit continue it wants to open my iPhoto to convert, when I click yes it just gives me the original message and sends me back to this page. Am I missing something

    I am trying to get photos off of my airport time capsule back up onto my new macbook pro. I followed the above instructions and after I choose the library I want to upgrade and hit continue it wants to open my iPhoto to convert, when I click yes it just gives me the original message and sends me back to this page. Am I missing something?

    Is your Time Capsule being used for your TimeMachine back up? Or is it simply being used as an external hard drive?
    To use a TimeMachine back up you must first restore it
    LN

  • Please help me how concatenate all the error messages and send it as out parameter value.

    Hi Experts,
    Please help me how concatenate all the error messages and send it as out parameter value.
    Thanks.

    Agree with Billy, exception handling is not something that is done by passing parameters around.
    PL/SQL, like other languages, provides a suitable exception handling mechanism which, if used properly, works completely fine.  Avoid misuing PL/SQL by trying to implement some other way of handling them.

  • HT1414 I backed up my iphone last weekend.  Today (one week later), I was downloading music and noticed the text messages I send to myself (about 1 1/2 years worth) are gone.  Now, I can't find the backup from last week to try to get them back.  help???

    I backed up my iphone last weekend.  Today (one week later), I was downloading music and noticed the text messages I send to myself (about 1 1/2 years worth) are gone.  Now, I can't find the backup from last week to try to get them back.  help???

    You cannot update iPhone 4 to IOS 8.1.2, the highest you can update is IOS 7.1.2.
    Unless you've iPhone 4S (looks similar to iPhone 4)

  • Is there a way to change the xml message generated by JDeveloper Proxy

    Hi,
    I have created jax-ws proxy client using JDeveloper 10g. I need to change the generated xml message tags. I need to remove the namespace prefix tags from the xml message. For ex: the current request message looks like this:
    <ns0:EMPLOYEE_NAME>John</ns0:EMPLOYEE_NAME>
    should be
    <EMPLOYEE_NAME>John</EMPLOYEE_NAME>
    without the nso prefix.
    How can I do that? Please help me.
    Thanks.

    To original poster, please just select "Problem Solved" to help any future questions about this.
    Is there a way to change  the text message ringer? No.
    End of thread 

  • I get the following message when sending emails: The recipient "email address" was rejected by the server".  If I send the email to 3 people, one will be rejected and a different person will be rejected.  Any ideas?

    I get the following message when sending emails on my ipad:  The recipient "email address" was rejected by the server".  If I send the email to 3 people, one will be rejected.  If I send the same thing to the same 3 people a different one will be rejected.  Any ideas?

    Try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. The screen will go blank and then power ON again in the normal way.] It is app and data safe!

  • Do i have to pay for the text message i send on my ipod?

    i do not know how to work this. but do i have to pay for the text message i send on my ipod?

    Using Messages  >  http://support.apple.com/kb/HT3529

  • File is picked up but never show the XML message in SXMB_MONI

    All,
    I am working on the file to SAP integration scenario issue. High level interface design is,
    File Adapter picks the file from XI application server and send the data to SAP Application system(in this case ECC) to post data as per the business requirement. The scenario is working perfect since long time and we don't have any issues as yesterday.
    This morning, I noticed File adapter picks the file and moved the file to archive folder (based on settings in communication channel) but XML message never shown in SXMB_MONI. I had a look into the RWB to check status of the communication channel. every thing looks fine from communication channel monitoring.
    Did any one come across this scenario? What else to be checked to move forward on this issue?
    Thank you..
    Anil

    Hi Kumar,
    The error message indicates the URL the adapter engine is using to send the data to the integration engine is wrong. The last part of it has somehow become truncated: "type=ent" should read "type=entry".
    In the SLD lookup the XI technical system, under the integration tab check the setting for the "Pipeline URL" field, you should see something like: http://HOST:PORT/sap/xi/engine?type=entry  if not, you can correct it.
    Then go to the XI ABAP client using SAPGUI and in transaction: SXMB_ADM, option "Integration Engine Configuration", check that Corresponding Integ. Server has the same URL, if it has something of the sort of: "dest://...." check in transaction SM59 for that RFC destination name, it should have the correct URL.  Also in the specific configuration (using the same transaction), check the RUNTIME->IS_URL parameter value.
    Hope that helps.
    -Sam.

  • Instance roll back while validating the XML message using Mediator

    Hi all,
    I am facing issue when calling a mediator process in validating the XML before invoking the target application
    Below is the error for the instance.
    com.collaxa.cube.engine.EngineException">
    Global retry rollback fault thrown.
    The current JTA transaction is aborting due to an user rollback fault being thrown. The upstream component should retry in a new JTA transaction upon catching this fault.
    This exception was caused by a global retry fault being thrown from downstream component. The user had directed the BPEL engine to roll back the current JTA transaction and retry within new JTA transactions for the specified number of times and retry interval.
    There is no action recommended.
    -<stack>
    <f>
    com.collaxa.cube.ws.WSInvocationManager.invoke#334
    </f>
    <f>
    com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke#1070
    </f>
    <f>
    com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke#584
    </f>
    <f>
    com.collaxa.cube.engine.ext.common.InvokeHandler.handle#132
    </f>
    <f>
    com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements#74
    </f>
    <f>
    com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform#166
    </f>
    <f>
    com.collaxa.cube.engine.CubeEngine.performActivity#2687
    </f>
    <f>
    com.collaxa.cube.engine.CubeEngine._handleWorkItem#1190
    </f>
    <f>
    com.collaxa.cube.engine.CubeEngine.handleWorkItem#1093
    </f>
    <f>
    com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal#76
    </f>
    <f>
    com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage#218
    </f>
    <f>
    com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory#297
    </f>
    <f>
    com.collaxa.cube.engine.CubeEngine.endRequest#4609
    </f>
    <f>
    com.collaxa.cube.engine.CubeEngine.endRequest#4540
    </f>
    <f>
    com.collaxa.cube.engine.CubeEngine._createAndInvoke#713
    </f>
    <f>
    com.collaxa.cube.engine.CubeEngine.createAndInvoke#560
    </f>
    <f>
    </f>
    </stack>
    </exception>
    -<root class="oracle.fabric.common.FabricInvocationException">
    java.lang.NullPointerException
    -<stack>
    <f>
    oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process#1006
    </f>
    <f>
    oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post#663
    </f>
    <f>
    oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost#142
    </f>
    <f>
    oracle.integration.platform.blocks.mesh.MessageRouter.post#197
    </f>
    <f>
    oracle.integration.platform.blocks.mesh.MeshImpl.post#215
    </f>
    <f>
    sun.reflect.GeneratedMethodAccessor2091.invoke
    </f>
    <f>
    sun.reflect.DelegatingMethodAccessorImpl.invoke#25
    </f>
    <f>
    java.lang.reflect.Method.invoke#597
    </f>
    <f>
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection#307
    </f>
    <f>
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint#182
    </f>
    <f>
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed#149
    </f>
    <f>
    oracle.integration.platform.metrics.PhaseEventAspect.invoke#59
    </f>
    <f>
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed#171
    </f>
    <f>
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke#204
    </f>
    <f>
    $Proxy341.post
    </f>
    <f>
    oracle.integration.platform.blocks.local.LocalInvocationProcessor.post#211
    </f>
    <f>
    </f>
    </stack>
    {code}
    I have some knowledge in transaction but this no where in my picture. In bpel process no where i mention transaction is* required* for the mediator component and my mediator is one way asyn process.
    Also i defined catch all activity in my bpel and if some thing happen it suppose to move to catch all block but it didn't happen here.
    I look forward from some one to help me in resolving in this.
    Appreciate some one help here.
    Regards,
    Tarak.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Thanks for the prompt help. Is there any other way instead of removing the DTD line ?. Because the xml is coming as a string and removing the dtd and then adding it will unneccesary hamper performance. Do you any other way in which even though I don't remove the line I get the output without removing the dtd line ?.
    thanks and regards,
    Sachin

Maybe you are looking for

  • How can I do the load test for EBS 11i

    Dear Suport I start to try OATS. I have used a Openscript to record the functional test and it works fine for EBS 11i. However, I cannot directly use the script from Functional Test. Is there have any ways to convert the Functional Testing script to

  • Canvas brightness doesn't match FCP output files

    After spending hundreds of hours trying to color correct in the FCP canvas only to create output files (MPEG2 for DVDs and MOV files for online stuff) which are either too dark or too light, too saturated or too bland, I finally realized that what I'

  • Macbook pro retina wont boot

    A week old laptop refuses to boot have tried everything availiable online still no luck! Are apple skiming on quality?

  • How do I set a "normal" home-page in Firefox for Android? (instead of the "awesome screen")

    How do I set a "normal" home-page in Firefox for Android? I don't want the homepage to be the "awesome screen" (which I personally don't find to be very awesome - way too much going on in one page for a small smartphone screen). I just want a regular

  • IPhones using photo share not sharing all photos

    I have an iPhone 5 and my friend has an iPhone 5S. We use different Apple accounts so we do not share an Apple ID. We both are using photo sharing through iCloud but she is not getting all the photos that I have posted via iCloud. We are using the sa