How do I obtain the raw JBI message for logging?

I have created a set of web services, using ESB BPEL.
The production servers to which these are deployed do not allow packet sniffing - against security rules.
In order to be able to debug, I need to be able to see exactly what message is arriving; I know that I can use BPEL logging to get the XML sent to the server.log, which is my fallback position (although I get an exception logged as well:
java.util.logging.ErrorManager: 5: Error in extracting Name Value Pairs
java.lang.NullPointerException
at org.glassfish.openesb.addons.logndc.NDCProvider$FlexMap.getMap(NDCProvider.java:447)
at org.glassfish.openesb.addons.logndc.NDCProvider$FlexMap.keySet(NDCProvider.java:475)
at com.sun.enterprise.server.logging.UniformLogFormatter.getNameValuePairs(UniformLogFormatter.java:185)
at com.sun.enterprise.server.logging.UniformLogFormatter.uniformLogFormat(UniformLogFormatter.java:307)
at com.sun.enterprise.server.logging.UniformLogFormatter.format(UniformLogFormatter.java:151)
at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
at com.sun.enterprise.server.logging.FileandSyslogHandler.publish(FileandSyslogHandler.java:508)
at java.util.logging.Logger.log(Logger.java:458)
at java.util.logging.Logger.doLog(Logger.java:480)
at java.util.logging.Logger.log(Logger.java:503)
at com.sun.jbi.engine.bpel.core.bpel.trace.BPELTraceManager.logMessages(BPELTraceManager.java:198)
at com.sun.jbi.engine.bpel.core.bpel.trace.BPELTraceManager.doTraceOnStart(BPELTraceManager.java:133)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SequenceUnitImpl.doAction(SequenceUnitImpl.java:85)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:65)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CatchAllUnitImpl.doAction(CatchAllUnitImpl.java:128)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.doFaultHandlingIfPossible(BPELProcessInstanceImpl.java:1142)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.doResumeAction(BPELProcessInstanceImpl.java:750)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ActivityUnitImpl.doPassControlToParent(ActivityUnitImpl.java:253)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.doResumeAction(StructuredActivityUnitImpl.java:143)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ActivityUnitImpl.doPassControlToParent(ActivityUnitImpl.java:253)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.VirtualThrowUnitImpl.doThrowAction(VirtualThrowUnitImpl.java:83)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.AbstractThrowUnitImpl.doAction(AbstractThrowUnitImpl.java:47)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:162)
at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:98)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:1031)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:289)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:1291)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:420)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:252)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:183)
<the raw xml message then appears in the server.log here>
In our environment, the server.log captures everything it captures, and we log using log4j into different logs, that are then monitored and parsed for various informations.
I want to pass in the raw XML message into our audit-logger (which is a web service invocation); how do I do this?
I have tried using string($input-xml), but that is not allowed "input-xml is a WSDL type" - I have to put string($input-xml.parameters) instead, and that gets rid of all of the XML tags.
We need to see the badly formed XML arriving, so we can tell the coder on the other side "this is the issue, friend".
How do I do it?
Thank you!
Martin

Hi Martin,
Did you figure out a way to obtain the raw message? I am also interested in how to obtain the raw message in bpel.

Similar Messages

  • How can I obtain the source of supply for a material?

    Hi experts,
    I have this issue,
    I need to change the source of supply for a material in transaction ME51N and in MRP. This new source of supply is the source of supply of another material, related to the material we are creating the Purchase Requisition with a Z table. In ohter words, If the material of the PurchReq is in a Z table, we change it´s source of supply with the source of supply of another material.
    For this I am using the BADi MD_MODIFY_SOURCE, here we can change the CH_LIFNR  changing parameter. But I don´t Know how to get the source of supply of the other material.
    Is there any BAPI or function module for doing this?
    Could I do it by classic SELECTs to some standar tables? If I can, which tables should I select from?
    Thank you very much and kind regards
    Ibai

    Hi,
    Check table EORD.
    regards,
    Pole

  • How do I obtain the full path string for my file?

    Many Mac applications are particularly bad at guessing what folder I want to grab a file from.  As a result, I waste a great deal of time fishing all through my directory tree in order to put and take my files in and from the right location.  It does seem to be better is some applications but still the nuisance is an issue.  Of course in Windows this can happen too except there I have a workaround to help out the foolish applications.  I can copy the full literal path to the clipboard from Explorer.  Then when the file access dialog comes up I can paste the full literal path ahead of the filename and snap to the correct folder.  On my mac, I have had mixed success approximating this strategy.  Sometimes, if the target folder isn't empty, I can use the Finder to browse to the target folder and open the Get Info dialog for a file and copy the full path from within that dialog.  This does not work though when the folder is empty and Mac does not support the create new text file on the fly feature.  Furthermore, I have noticed some strange behavior even when I do have the full path copied.  One such example is using TextEdit, pasting this full path has resulted in the application using the full path as a really long filename for the new file which still resides in the folder the application incorrectly assumed.
    There is a list box in most Mac file access dialogs with _some_ of the recent folders I accessed listed for quick selection but nine times out for ten the folder I just came from isn't among them.  That detail really surprises me.  Do regular Mac users have habits that prevent problems like this, or is there a better way to _bank_ a literal folder location I know I'll need to use soon and often, or do I just need to get used to fishing for folders during file access?

    Welcome to Apple Support Communities. Most of us are users here.
    Create folders and drag those 'frequently used' folders to the left-hand FAVORITES column/sidebar in Finder.
    Then just drag your files to the destination folders, or click on them to select them as destinations from your applications.
    When you no longer need these folders, right-click to remove them from the FAVORITES sidebar.
    They'll still be in the original location where they were created, just no longer visible in the sidebar.
    Another thing to note is that the full path of your current destination is shown at the bottom of the screen in Finder. In this case Macintosh HD, Users, (Home folder name), Desktop.

  • How do you set the original outbound message from MSG_WAIT_ACK to MSG_COMPLETE ?

    We are using B2B & OSB to send out messages via eBMS protocol
    So basically this are the two use cases
    1) EBusiness Suite => B2B => OSB=> Customer for the outbound Shipment Notices
    2) EBusiness Suite <= B2B <= OSB<= Customer for the Inbound acknowledgement
    We are able to use standard B2B functionality to send out the messages using eBMS with https and client certificates
    On the way back from the customer, we are using OSB that gets the raw data and the body gets sent to B2B
    On the outgoing part a message gets created in B2B and is at MSG_WAIT_ACK
    When the acknowledgement comes in, it comes as a seperate messgae in B2B and is at MSG_COMPLETE
    How do you set the original outbound message from MSG_WAIT_ACK to MSG_COMPLETE?
    We use JMS and have played around with jca.jms.JMSProperty.INREPLYTO_MSG_ID but that is not propagating to REFER_TO_MESSAGE_ID in B2B_BUSINESS_MESSAGE table
    I tried using jca.jms.JMSProperty.CONVERSATION_ID as well but no luck
    Any response is highly appreciated!

    Are you asking about your own JavaMail code or about somebody else's web-based mail agent?
    If it's the latter (which is what it sounds like) then you find the checkbox in the preferences configuration, or whatever they call it, which says "Include original message in reply", or something like that. If such a thing exists, that is. If you're thinking that the e-mail message controls how their code formats replies to it, that's not how it works.
    Even Outlook lets you configure how replies are formatted, the only difference is that the Outlook default is to include the original message and your web-based agent's default is to not include it.

  • How do I obtain the code for the $50.00 reduction for lightroom from Lexar?

    I recently purchased 2 - Lexar 300 16GB Compact Flash cards which included in the box notificationthat I would receive $50.00 off my purchase of Lightroom 3. I am unable to locate the Code.
    Your help appreciated.
    JB
    [email protected]

    Thanks for your reply, but I am not sure where to locate the message page or where, exactly, to send this. I appreciate your help.
    Message
    Oct 23, 2010 6:54 PM
    How do I obtain the code for the $50.00 reduction for lightroom from Lexar?
    I recently purchased 2 - Lexar 300 16GB Compact Flash cards which included in the box notificationthat I would receive $50.00 off my purchase of Lightroom 3. I am unable to locate the Code.
    Your help appreciated.
    JB7000
    [email protected]

  • How do I use the raw file editor in PSE9 on a jpeg file?

    How do I use the raw editor in PSE9 on a jpeg file?

    Browse this post for more info - http://blogs.adobe.com/pselements/open-jpeg-files-in-adobe-camera-raw- in-photoshop-elements

  • TS2755 how do i track the number of messages sent? i am on a limited sms plan so i want to know how many messages was i able to send in a month. is there an (free) app for it??

    how do i track the number of messages sent? i am on a limited sms plan so i want to know how many messages was i able to send in a month. is there an (free) app for it??

    Doubtful unless your carrier has an app that includes the option.
    My carrier has an app that I can check current usage and past usage with a previous bill and pay the bill.

  • How do I enlarge the font in messages received and sent?  I have it set at "13", but it is very, very small on my screen.  I can't seem to change the appearance of the tool bar even when I try to "customize".

    How do I enlarge the font in messages received and sent?  I have the font set at "13", but the appearance on my screen is very, very small.  When I try to "customize the toolbar" to look like the tool bar above this message, I am unable to do so.  Please advise.  Thank you.

    Thanks MartinR, yes the Toggle bars can be adjusted so that I can see all the tracks - just in the smallest setting - however this also creates a huge area of grey which serves no other purpose than to "use up screen space". If this is deliberate then there is nothing one can do - since presumably the additional profit made on screen sales is more important to Apple, than the combined annoyance to those working on a 13" laptop. Of course a 15" screen or even 17" screen may make this wastage less obvious. Please indicate that this is all incorrect and explain why it is important to have space waiting "for additional tracks", even if I have no intention of making additional tracks. If that is the answer then perhaps additional space to the left and right of the timeline would be useful in case I wish to make a 30 minute film, so that it could be placed there without having to drag anything. It may be that I am expecting software than can be tailor adjusted, each parameter to the desired level as in professional items and since this is a cheap consumer program it is not possible.
    I bought Final Cut Pro for a lot of money (when it first appeared it was thousands and not just hundreds) but never used it since it was too complicated and tedious, but maybe there, this problem of screen wastage does not occurr, perhaps someone can advise! I could go back and reinstall it, but it was made for 10.2.8 and not 10.6.8 so it would not run on this macbook. I recently bought an old 15" TitaniumPowerbook (from 2005) and despite running at 1MHz the response time on it is "instantaneous" - amazing to not have the almost half second delay on many commands - graphics appear nearly immediately (just 5 milliseconds delay) and this makes working so much more enjoyable, not having the (350ms) stutter of 10.6.8 which we all get used to after our initial disappointment.
    Thanks for your help!

  • How can I obtain the primary key of a table for an entity relation?

    hello everybody
    I am doing a consultation to a table in my data base, good this table has alone two fields, the first one is the code or pk and the second one is the description, to be presisos they are names of city and code.
    From the beginning!!: This method this one in another class that is a Dialog that is going to call to the class SelecPlace ();
      SelecPlace sl = new SelecPlace();
    public void capturarLugar(){  //  Simple void method in the mentioned class
            String place = txtProcedencia.getText() ;  //  a JTextField
            sl.executeStatement(place) ;                  
        }ok, now we see part of the code of the class SelectPlace
    public class SelecPlace extends AbstractTableModel{
        Connection con = null;
        Statement sentencia = null ;
        ResultSet rs = null;
        ResultSetMetaData rsmd = null ;
        String[] nameColum = {} ;
        Vector datos = new Vector() ;
        public SelecPlace() { }
        public void executeStatement(String query){
          try{
             con = DBManager.getConnection() ;
             sentencia = con.createStatement(rs.TYPE_SCROLL_INSENSITIVE,
                                                                          rs.CONCUR_UPDATABLE) ;
             String sql = "select * from Place where descripcion like %"+query+"%'";
              rs = sentencia.executeQuery(sql) ;
              rsmd = rs.getMetaData();
              int nroColumnas = rsmd.getColumnCount() ;
              nameColum = new String[nroColumnas] ;
              //obtengo los nombres de columnas en cache
               for(int colum = 0; colum < nroColumnas; columna++){
                    nameColum[colum] = rsmd.getColumnLabel(columna + 1) ;
               datos = new Vector();
                while(rs.next()){
                    Vector newRow = new Vector();
                    for(int i = 0; i < getColumnCount(); i++){
                    newRow.addElement(rs.getObject("place_ID"));
                    newRow.addElement(rs.getObject("description"));
                    datos.addElement(nuevaFila);
                fireTableChanged(null);
            }catch(SQLException e){
                System.err.println(e);
                e.printStackTrace(System.err);
                System.out.println("error in statement");
            }catch(ClassNotFoundException cnfe){
                System.err.println(cnfe);
        }Ok, this code me works and I obtain in this case the field description of the table Place
    Now my question is, how can I obtain the primary field of my table?
    I need this value of this field that in the base of information in a bigint, and to take it to the first class before mentioned, for that I am working with a data base related

    Certain duffymo and everyone!!, good I give you my scheme:
    And generalizing my question, I want to obtain the value of the primary key of a table in the database, I obtain more values of the same row, but I need the primary key, and you see one with the primary key I want to turn a Long and it to insert with code java in foreign clave in another table of the database
    Good of this form I believe that it would not be breaking the integrity relacional of the tables

  • How to switch off the pop-up message in rspcm

    Hi there,
    Does anyone know how to switch off the pop-up message in rspcm?
    The monitoring user shouldn't get the pop-up below anymore:
    „Statusänderung des Requests – Sollen Folge-Events ausgelöst werden?“
    The pop-up in english might be
    “status change of request - trigger subsequent processing?” or similar
    We would like to outsource the process chain monitoring (rspcm) to our operating.
    But operating shouldn't deal with the pop-up above and make decisions especially when delta infopackages are involved.
    Thanks for your help in advance.
    Regards,
    Wolfgang Smetana

    Elena,
    Is the subsequent process defined on success or failure ? if that is not defined - you might come across this message.....
    Arun

  • Trying to install Acrobate 8 Standard on PC with Windows 7, 64 bit. During the installation I was asked to provide "File Adobe PDF.dll for Windows Vista. How can I obtain the required file?

    Trying to install Acrobate 8 Standard on PC with Windows 7, 64 bit. During the installation I was asked to provide "File Adobe PDF.dll for Windows Vista. How can I obtain the required file?

    Nothing in the Acrobat 8.x product family is compatible with Windows 7 (or any contemporary OS).
    The Acrobat 8.x product family passed into End of Support way back -- (November 2011).
    The current release of Acrobat (XI) is compatible in Windows 7.
    Be well...

  • How can I obtain the value of a database column in a JSP variable ?

    How can I obtain the value of a table column in a JSP variable?
    For example the <jbo:ShowValue datasource="cl" dataitem="Cont" ></jbo:ShowValue>
    I need to have it in a variable like this:
    <% String cnt=<jbo:ShowValue datasource="cl" dataitem="Cont" ></jbo:ShowValue>; %>
    But it is not workig this way.
    Please help me to obtain the value.
    I am using JDev RC2.
    Thanks.

    Try something like
    String cnt = c1.getRowSet().getCurrentRow().getAttribute("Cont").toString();
    -A
    How can I obtain the value of a table column in a JSP variable?
    For example the <jbo:ShowValue datasource="cl" dataitem="Cont" ></jbo:ShowValue>
    I need to have it in a variable like this:
    <% String cnt=<jbo:ShowValue datasource="cl" dataitem="Cont" ></jbo:ShowValue>; %>
    But it is not workig this way.
    Please help me to obtain the value.
    I am using JDev RC2.
    Thanks.

  • Hi,  I lost my serial number for PS Elements11 following computer crash. Os is W7. I have the cd installation disc but there is no serial number with it or in the envelope  ..  How can I obtain the serial number please?     Thanks

    I lost my seriel number for PS Elements 11 following computer crash. Os is W7
    Peter Jones Aug 27, 2014 5:36 AM   
    Hi,
    I lost my serial number for PS Elements 11 following computer crash. Os is W7. I have the cd installation disc but there is no serial number with it or in the envelope
    How can I obtain the serial number please?
    Thanks

    If you registered the software you should be able to find the serial number thru your Adobe account online.
    To locate the serial number:
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • HOW DO I CHANGE THE FONT OF "Message to Display" IN THE Prompt User for Input

    Hi,
    HOW DO I CHANGE THE FONT OF "Message to Display" IN THE  Prompt User for Input?
    Thanks for your help 
    XN 

    Right click and select Open front panel >> Convert.
    Change the vi as you need. then you can save it as a normal sub-vi.
    If you have Labview 8.6, maybe (i am not sure) you can edit the express vi. Express vis are supported in 8.6

  • How to fire event to generate insert message for the child objects?

    We are in process to integrate CRM On Demand and existing Microsoft SQL DB.
    We have the following problem:
    For ex., we have CRM Object_1 that already synchronized with the SQL DB. CRM also has independent Object_2 and its child Object_2.1
    We dicided that we want to connect the Object_2 as child to the Object_1.
    The question is how to fire event to generate insert message for the Object_2 and Object_2.1?
    What is the best technique? Is it possible to do it by workflow configuration or it needs to be done programmatically?
    Thanks,
    Dmitry
    Edited by: 955827 on Aug 29, 2012 11:57 AM

    Hi,
    integration events can be generated only via worklow. You will need to create separate workflows for each record type (regardless if it is child or parent) because a workflow for the parent record type will not trigger when a child record is created/ associated. Also, the association workflows will trigger only when the specific event occurs.
    There is not way to generate the integrtaion events programatically. They are generated by workflows and are read/ interpreted by a code extension.

Maybe you are looking for