How to map body to base64Binary for EJB callout

Hi,
I am trying to call an EJB method (from proxy via Business Service) from within ALSB, passing in the main body XML in its entirety as an argument (the arg on the EJB expects a byte[]). I am having problems mapping the body across to the byte[].
The generated WSDL schema creates a base64BinaryType in the schema but I cannot find a way to map to it.
I have tried a java callout to return a byte array which works but returns a binary-content tag with a reference in it, however the problems still remains how do I map to the base64Binary?
I'm thinking some clever XQUERY but am struggling to find any guidance.
Any pointers would be most welcome.
Cheers,
Leigh

Hi Ankit,
if you have 2 key figures that are not defined as a reference of another key figure, but just use 0SALES_UNIT as their unit, you should have no problems with the update rules. The system will show both key figures in the update rule (or transformation).
Also then the logic you map for 0SALES_UNIT will apply to both key figures in a transformation. For an update rule the same applies, unless you map the 2 key figures differently on purpose.
I am not sure if your question was saying that you have defined a key figure as a reference to another key figure. If you have that situation, you should still be fine. If not try the approach above, after all there is not much benefit in creating a reference key figure in contract to creating a reference Characteristic (sharing master data, etc.)
Best,
Ralf

Similar Messages

  • How to change JNDI service provider for EJB's?

    I need EJBean's home interface to be bound to another JNDI provider, not Weblogic.
    How can I do it?
    The most simple solution is not working: to specify <jndi-name> in weblogic-ejb-jar.xml
    for bean as "xxx:bean_name".
    By JNDI rules for such names context factory with name com.sun.jndi.url.xxx.xxxURLContextFactory
    will be used. But for Weblogic this does not work. An exception is thrown during
    bean deployment -
    javax.management.MalformedObjectNameException: ObjectName: Invalid value -> xxx:bean_name
    at javax.management.ObjectName.validateAndAdd(ObjectName.java:440) at javax.management.ObjectName.initObjectName(ObjectName.java:409)
    at javax.management.ObjectName.<init>(ObjectName.java:254) at weblogic.management.WebLogicObjectName.<init>(WebLogicObjectName.java:196)
    at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:90)
    at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:83)
    at weblogic.ejb20.internal.BaseEJBHomeMBean.<init>(BaseEJBHomeMBean.java:33) ......................

    This is not an answer on my
    question - My questions was: how to force a Welogic EJB Container to BIND EJBean's
    home interface to another JNDI Service provider, not Weblogic.
    But you wrote how to use JNDI in general - I already know how to use it :)))
    Phil.
    "VSK" <[email protected]> wrote:
    Hi
    Have a look at the code below
    private Context getInitialContext () throws NamingException
    String from = "CtxHelper::getInitialContext ";
    String webLogicHostUrl = t3://SERVERNAME:9001
    Logger.debug(from, "Begin Method", 3);
    Hashtable h = System.getProperties();
    h.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory
    h.put(Context.PROVIDER_URL, webLogicHostUrl);
    return new InitialContext(h);
    } //end getInitialContext
    This way we will get the InitailContext and then do a jndi lookup using
    the
    Context object as follows
    ctx.lookup..........
    Now in the above code replace weblogic.jndi.WLInitialContextFactory by
    ur
    provider.
    Hope this helps.
    -VKS
    "Phil Peshin" <[email protected]> wrote in message
    news:[email protected]...
    I need EJBean's home interface to be bound to another JNDI provider,not
    Weblogic.
    How can I do it?
    The most simple solution is not working: to specify <jndi-name> inweblogic-ejb-jar.xml
    for bean as "xxx:bean_name".
    By JNDI rules for such names context factory with namecom.sun.jndi.url.xxx.xxxURLContextFactory
    will be used. But for Weblogic this does not work. An exception isthrown
    during
    bean deployment -
    javax.management.MalformedObjectNameException: ObjectName: Invalidvalue -> xxx:bean_name
    at javax.management.ObjectName.validateAndAdd(ObjectName.java:440)at
    javax.management.ObjectName.initObjectName(ObjectName.java:409)
    at javax.management.ObjectName.<init>(ObjectName.java:254) atweblogic.management.WebLogicObjectName.<init>(WebLogicObjectName.java:196)
    atweblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelega
    te.java:90)
    atweblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate
    ..java:83)
    atweblogic.ejb20.internal.BaseEJBHomeMBean.<init>(BaseEJBHomeMBean.java:33)

  • How to map same sales unit for two keyfigures

    hi,
    i am using two key figure with reference of one sales unit(0SALESUNIT) but in update rules i am getting only one key figure the other key figure is not showing in update rules.
    i want to use the same sales unit for two different key figure.
    How to do it.
    Ankit

    Hi Ankit,
    if you have 2 key figures that are not defined as a reference of another key figure, but just use 0SALES_UNIT as their unit, you should have no problems with the update rules. The system will show both key figures in the update rule (or transformation).
    Also then the logic you map for 0SALES_UNIT will apply to both key figures in a transformation. For an update rule the same applies, unless you map the 2 key figures differently on purpose.
    I am not sure if your question was saying that you have defined a key figure as a reference to another key figure. If you have that situation, you should still be fine. If not try the approach above, after all there is not much benefit in creating a reference key figure in contract to creating a reference Characteristic (sharing master data, etc.)
    Best,
    Ralf

  • How to map idl to java for "union" type

    help me

    I'm not exactly sure what you're asking for. If you've written IDL that uses an IDL union type, it will be converted to Java when you use your IDL to Java compiler (like idlj), right?
    If you're looking for the specification on how the compiler does/should do it, get the latest IDL to Java language mapping from the OMG -- www.omg.org.

  • How to write the jndi lookup for ejb using oc4j server in jdeveloper

    Hi All,
    i am new to the JDeveloper. i want to develop the session bean in JDeveloper using the OC4J server. how to write the jndi lookup in cllient. what are the xml files need to deploy the application. where can i mention the JNDI name in xml file. so please provide the information as soon as possible.
    regards
    ram

    There is quite in-depth information in the Enterprise JavaBeans Developer's Guide.
    Section 2 (Understanding EJB Application Development) explains the xml files needed and Section 29 (Accessing an EJB from a Client) explains how to do a JNDI lookup.
    Hope this helps.

  • Does mapping to JNDI for ejb-refs have a performance impact?

    Does mapping to JNDI names for ejb-refs have a performance impact for
    WLS6.1?
    In the ejb-jar.xml deployment descriptor, you can define an ejb reference as
    follows:
    <ejb-ref>
    <ejb-ref-name>ejb/AccountHomeRemote</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <home>com.package structure.AccountHomeRemote</home>
    <remote>com.package structure.AccountRemote</remote>
    <!-- <ejb-link>AccountBean</ejb-link>-->
    </ejb-ref>
    Now, optionally, you can use the ejb-link element - or - you can, in the
    weblogic DD, specify a JNDI name that the ejb-ref maps to.
    Using a JNDI name buys you some flexibility. If, for some reason, the jar is
    divided, you dont have to convert ejb-link's to JNDI names. The question is:
    Is there a performance cost in doing this?
    Cheers

    Hi Aashish,
    Thanks for your quick reply. it was helpful, but i am not using RFC's. Correct me if i am wrong, but i have explained the scenarios in detail below.
    Scenario 1. Synchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) The abap proxy code executes a function module and sends the response as an internal table back to PI.
    5) PI receives the response and places it in a text/csv file and places it back to another folder.
    I assume that the above would be possible only using BPM. What i understand is that in order for an interface to receive and send data, abstract mappings are to be used, and for this BPM is required. We do not have any conversions etc. its just a simple matter of receiving an internal table from ECC and creating a file to place in the folder.
    I also understand that BPM could have bottlenecks due to queue and cache issues, messages might be pending, or lost etc.
    Scenario 2. Asynchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) ABAP Proxy code executes the same function module and calls a seperate outbound interface and passes the values to it. This would be used in sending the response back.
    5)  PI receives the response from the second interface and places it in a text/csv file and places it back to another folder.
    I would like to know which would be the better approach. Documentation/references to support your claims would be much appreciated.
    Cheers,
    Mz

  • How to map user-defined fields in XML communication on SRM site

    Hi All!
    We use the External sourcing scenario and we transfer requirements from ERP  in SRM through XI (PurchaseRequestERPSourcingRequest_In)
    We should transfer the user-defined fields, but we can not map it in SRM site.
    We have enhanced enterprise service in XI, have realized BADI PUR_SE_PRERPSOURCINGRQCO_ASYN on ERP site.
    I see the XML message with ours z-fields in tr.  SXI_MONITOR (into SRM), but I can not find it in BBP_PDISC.
    We try to use BADI BBP_SAPXML1_IN_BADI (there is no method for SC), and BADI /SAPSRM/BD_SOA_MAPPING (z-fields is empty)
    Someone can tell how to map user-defined field for SC?
    Thanks in advance
    Evgeny Ilchenko

    Hello, Julia
    We have found solution our problem
    We have enhanced standard service in a new enhancement name space and defined own enhancement elements in our namespaces. Then these enhancement elements refered to the SAP standard Enterprise Service.
    But In our new interfaces were different  XML namespaces
    When we have correct an error we could use the next BADI
    on ERP site: PUR_SE_PRERPSOURCINGRQCO_ASYN
    on SRM site: /SAPSRM/BD_SOA_MAPPING
    BR,
    Evgeny

  • How to configure one dsl connection and one public ip in cisco router and map to one interface for using exchange server

    how to configure one dsl connection and one public ip in cisco router and map to one interface for using exchange server

    Hi ,
     Have you got any additional public IP Address from your service provider , If yes on router you can have static route for those additional IP Address pointing to your ASA  outside interface . 
    Accordingly you can configure NAT 
    HTH
    Sandy . 

  • How do I create a map in iphoto 11 for a book?

    How do I create a map in iphoto 11 for a book?

    Select the map layout for one of the pages in your book.
    Click to view full size
    If you add photos to the book that have locations assigned to them they will show up on the map:
    OT

  • How to make jar files availabe for deployed EJBs

    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar to the
    classpath, but I think that shouldn't be the way. Is there somthing in the admin
    console to make jars available or do I have to insert it in the ear file? And
    if so, where do I hve to place it?
    Thanks
    Claudia

    Put the util.jar in the ear with your ejb jars - at the same level (i.e. in
    the root) - but do not include them in the manifest.xml.
    Also each ejb jar that refers to util.jar must have util.jar on its internal
    classpath in the manifest.
    "Claudia" <[email protected]> wrote in message
    news:3d537db5$[email protected]..
    >
    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar tothe
    classpath, but I think that shouldn't be the way. Is there somthing in theadmin
    console to make jars available or do I have to insert it in the ear file?And
    if so, where do I hve to place it?
    Thanks
    Claudia

  • How to map the user to Responsible Person for Proj/ Capital Investment Prog

    Hi All,
    Could you please help me in mapping the user to Responsible Person for Proj/ Capital Investment Prog.
    Here is the scenario. I am trying to restrict the user to access only WBS under a cost center but not to have complete access to the Cost Center. I in my way to do, I found out that we can create a user name using OPS6 tcode and use the reference number of the user we created in CJ20N, so as only the person who was added in the Responsible Person for Proj/ Capital Investment Prog list will be able to access particular WBS.
    Now my question is, How to map the user which I created using OPS6 tcode to user in user master record. I am not able to map the user, as its taking any random name to add in the list. Could some one please help me in mapping the user created in the list with the user master record.
    Hope I managed to put the question clearly. If you have any queries, please feel free to ask. Appreciate your time and thanks in advance.
    Farooq.

    Hi Stephan,
    Thanks for your time and finding SAP note for me. I got the problem fixed. The solution for the above problem is, When we create a responsible person for the project through OPS6 tcode, we have a column called "Offer User", next to the person responsible. We must add the user name next to it. And we can add only the user name which is present in the user master record.
    It solved my problem, but when I pressed F1 for help in this column, there is nothing mentioned about its mapping or anything.
    Thanks again for the help, Cheers,
    Regards,
    Farooq.

  • How  to map the Third Party materila for Job Wok process in our Plant

    Dear All,
    please guide me how  to map the  Third Party  Subcontracting in Our Plant Means Customer materials to be Processed  in our Plant and  then we have to sent to customer after processing.
    please  Brief me  with the Proces sflow
    Reagrds
    kishore Edagali

    1) create a 2 material as non valuated (one incoming material "A1"& after processed material"B1")
    2) create a BOM. for A1
    & assign the B1 and maintain respective conversion
    3) create a routing for A1 and assign the relevant work center
    4) create a manual PO to receive the material from customer and store it in storage location
    5) create a production order and release the order  in co01
    6)issue the material :B1 to the order 9 in MB1a, 261 movement)
    7) and confirm the order (so that cost incurred for order is captured)
    8) create a  sale order and maintain service price in PR00 and send the material A1 to customer.

  • How to map secondry elements with main if have same ids for both?

    I need to map secondry elements with its matching primary elements if they both have same id.
    How can this be achieved in xslt.
    If ids are not matching then not a single element of secondry sholud be shown.
    If ids matching, then other fields of secondry elements, should be mapped to similar fields of primary elements.
    Eg: Its like some program running and in between some add on programs started (may be trailor or advertisement).
    the add on program is not always shown (optional), and whenever shown it has its own data information etc etc.
    Please provide me some input, how to map and proceed.
    Not sure what this code is really doing.
    <xsl:template match="SECONDARY_EVENT_LIST">
              <xsl:variable name="secondaryElements" select="ancestor::SCHEDULE/SECONDARY_ELEMENT_LIST"/>
              <xsl:for-each select="SCHEDULE_ELEMENT_ID">
                   <xsl:variable name="id" select="."/>
                   <xsl:apply-templates select="$secondaryElements/SCHEDULE_ELEMENT[(@ID=$id)]"/>
              </xsl:for-each>
         </xsl:template>
    Is this having any relation with what my requirement is all about?

    Hi,
    You can use XPATH command to get the exact tag.
    You can access each tag with it location like “/Report_Name/Group_Tag/Element_ID”.
    I think this will remove the ambiguity of Tags with same ID.

  • How to map import process for items

    Dear All,
    can anyone guide me how to map import process for items for our customer
    what i understand is this process in B one
    Raise PO
    GRPO
    Landed Cost
    AP Invoice
    I want to know whether this is correct. Also in this process their are clearing agents who perform the formalities at customs office and then raise bill to client for the same

    Hi,
    The process looks correct.  For cost related to clearing agents who perform the formalities at customs office, use landed cost.
    Thanks,
    Gordon

  • How to Map Fomulas for Float Glass Process

    Hi All,
    Can anybody suggest how to map formulas for float glass process.
    As in float Glass process continuous production is going on single line, within that continuous ingredients are added in furnace and molten glass mass is coming out. this molten glass is now adjusted to particular thickness and then finally cut into specific sizes as per cusotmer requirment.
    Final product is in various thickness, width and length.
    Entire process is automated.
    If anybody already implemented same scenario, please share knowledge.

    Hi
    The following is the mapping process and it is tricky process need to map carefully.
    You can define this as a single formula.
    Output: Packed - cut to size - Finished Good Item.
    Input: All the Raw materials (Sand, Dolamite, Limestone, Soda Ash, Sodium Sulphate, Carbon, Iron Oxide)
    Packaging materials + Labels + Boxes etc.
    Define Routing:
    Resource: Furnace, Any other importance resource like Equipment that controls thickness, cutter etc, Labor, Associated Overhead
    Create recipe using the formula and routing.
    Various factors that can affect the mapping:
    1) Formula maintenance: You have to define formula for each output item.
    2) Possibility of dynamic determination of output item: If it is possible to produce different combination of thickness/width (and hence different FG item) in the same batch, then this won't be the right mapping.
    3) Process variations: Also formula mapping depends on how accurate is production process. If user wants to produce item X (say thickness 10mm) but due to quality issue produced item Y (say thickness 9mm) and such cases happens very often, this won't be right solution.
    4) Inventory measurement: This will determine the break-points. If you cannot measure the quantity (or even estimate) then you cannot define it as an intermediate item.
    I will explain how point 4 can lead to different way of formula mapping.
    Say you have a furnace that needs to run continuously for better quality or throughput. Hence you will be continuously adding raw materials to furnace and produce different outputs. You can break the single formula into multiple formulas as -
    Formula 1) Output: Molten mass of glass
    Input: All the Raw materials (Sand, Dolamite, Limestone, Soda Ash, Sodium Sulphate, Carbon, Iron Oxide)
    Formula 2) Output: Packed - cut to size - Finished Good Item.
    Input: Molten mass of glass
    To have formula in such fashion you should have a way to measure or estimate the weight of Molten mass of glass.
    If you are estimating the weight, there should be historical data available to determine what should be realistic output quantity for given input quantity. How much will be process loss and loss due to unwanted by product such as slag etc.
    Further you can break formula 2 as
    Output: One large sheet of give thickness
    Input: Molten mass of glass
    Output: Packed - cut to size - Finished Good Item.
    Input: The large sheet of give thickness.
    This kind of different mapping is possible which normally depends on:
    1) Complexity of process
    2) How complex BOM structure user wants to have
    3) Are there any benefits of maintaining such complex system - like accurate costing or accurate production monitoring or facilitating planning process.
    4) Can user maintain the complex system? Are they ready to capture data at finer level. Is it possible to capture the data.
    5) And most important thing is how to handle exceptions. If every thing goes smoothly as planned (less exceptions) then user can have and afford any level of complexity. But if there are many exceptions to the normal process you have to concentrate more on how to handle the exceptions.
    6) Satisfy all users: Accounting, Planning, Production, Quality, Inventory handling. Formula/Recipe touches all these modules.
    Regards
    Raj
    Sierra

Maybe you are looking for

  • PDF Portfolio Templates

    The instructions given with this software download don't match the real options available to me "File\Create....... Instructions: To Install Your PDF Portfolio To install a custom layout, select File > Create > PDF Portfolio. In the "Create PDF Portf

  • No HDMI and Thunderbolt- hardware not found

    Hi I've been trying to connect my Macbook Pro to a TV via mini DP adapter and Hdmi cable but without success. Checking through my system report, it states THUNDERBOLT - No hardware found. Is that why I can't get to connect to an external display.

  • Cannot print to wireless Epson since upgrading to Snow Leopard 10.6.3

    HELP! Never had a problem before with Tiger! I reinstalled both Snow Leopard and printer. It will print a test copy after printer installation, but not from the Mac. I've tried printing a photo and document. Also, I lost my paper presets - can't find

  • Program to Compare SAP Scripts

    Hi, Please let me know the Program to compare all the attributes like Window, Paragraph formats along with the Text elements included in the Window of SAP Script. When I change a SAP Script, an entry with the form name is included in the Transport Re

  • Help CS5 Update

    why am I getting this when i try to update  ? Adobe Bridge CS5 4.0.5 Update   There was an error downloading this update. Please quit and try again later.   Adobe Extension Manager CS5 5.0 Update   There was an error downloading this update. Please q