Basic XML Messaging?

All-
I am new to XML, so pardon this basic question. I understand
that I can transfer xml files via http between two web servers,
but I have a question in regards to this:
Build XML document on Server A
The XML document is validated against its DTD
Server A posts the XML to Server B
Server B receives the XML document *****HERE******
Server B parses the document
Server B updates a database
Server B returns success code to Server A
How is the *****Here****** event handled within Oracle 8i?
Thanks,
Megan
null

Sorry.
The document's contents will be parsed and stored across a
schema. So, the messaging is between two web servers, but the
data received by Server B will be parsed and inserted into the
database.
I am basically confused about how Server B handles the posting
of the XML document by Server A. Is there any documentation
that I could read on this topic? Or perhaps I need to review
XML 101.
Thanks again,
Megan
The bottom line is, as I trigger requests/responses from
Oracle XML Team wrote:
: Can you clarify your question a bit as you prefaced it with
: exchanging an XML document between two web servers but in your
: example imply that the destination is a database.
: 1. Is the document to be stored in a database?
: 2. If so as a while or parsed and stored acrossed a schema?
: 3. Does Server B hand it off to 8i?
: 4. What application environment are you specifying, Java,
: PL/SQL, C, C++, etc.?
: Oracle XML Team
: http://technet.oracle.com
: Oracle Technology Network
: Megan (guest) wrote:
: : All-
: : I am new to XML, so pardon this basic question. I understand
: : that I can transfer xml files via http between two web
: servers,
: : but I have a question in regards to this:
: : Build XML document on Server A
: : The XML document is validated against its DTD
: : Server A posts the XML to Server B
: : Server B receives the XML document *****HERE******
: : Server B parses the document
: : Server B updates a database
: : Server B returns success code to Server A
: : How is the *****Here****** event handled within Oracle 8i?
: : Thanks,
: : Megan
null

Similar Messages

  • Send XML Message via HTTP and Receive Response

    Hello,
    We have a scenario where we need to update Currency Exchange Rates in R/3 via a 3rd party called Oanda.  I'd like to use XI for this Interface, if possible. 
    Basically, we need to send XML over HTTP.  Here's the URL and the XML we need to use for our POST (I'll need to perform the look-up for about 15 currency codes - I plan on using a BPM process to loop through each currency code specified in a flat file):
    http://www.oanda.com/cgi-bin/fxml/fxml?fxmlrequest=<CONVERT><CLIENT_ID>TestAccount1</CLIENT_ID><EXCH>USD</EXCH><EXPR>CAD</EXPR><DATE>03/25/2008</DATE></CONVERT>
    And the reponse looks like this:
    <RESPONSE>
      <EXPR>CAD</EXPR>
      <EXCH>USD</EXCH>
      <AMOUNT>1</AMOUNT>
      <NPRICES>1</NPRICES>
      <CONVERSION>
        <DATE>Mon, 24 Mar 2008 20:00:00 GMT</DATE>
        <ASK>1.0257</ASK>
        <BID>1.0251</BID>
      </CONVERSION>
    </RESPONSE>
    I plan on mapping each reponse to BAPI_EXCHRATE_CREATEMULTIPLE, using BPM.
    So my question is this:  Should I use the HTTP adapter for the out going POST to Oanda?  If so, would the HTTP adapter be consider the sender or the receiver?  Also, how would the XML message be automatically appended to the end of the URL (i.e., after the fxmlrequest parameter)?  I guess I'm a little confused on how to use the HTTP adapter...  Are there any blogs that discuss this type of scenario?
    Thanks,
    Matt

    Hi guys,
    I have few concerns for setting up this scenario.
    1). I have created a data type for request mapping, and teste the mapping.
    The output looks like below:
      <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:MT_CONVERT xmlns:ns1="http://test.com/ExchngRate">
       <CONVERT>
         <CLIENT_ID>test</CLIENT_ID>
         <EXPR>CAD</EXPR>
         <EXCH>USD</EXCH>
         <DATE>10/21/2009</DATE>
         <AMOUNT>1</AMOUNT>
       </CONVERT>
      </ns1:MT_CONVERT>
    How to pass only
      <CONVERT>
         <CLIENT_ID>test</CLIENT_ID>
         <EXPR>CAD</EXPR>
         <EXCH>USD</EXCH>
         <DATE>10/21/2009</DATE>
         <AMOUNT>1</AMOUNT>
       </CONVERT>
    to the receiver HTTP adapter.
    2) I am using URL address in the receiver HTTP adapter.
    Target Host: www.oanda.com
    Path Prefix: cgi-bin/fxml/fxml?fxmlrequest=
    What is will be Service Number?
    Looking forward for you help. Your help is greatly appreciated.
    Thanks,
    Namadev
    Edited by: Namadev Chillal on Oct 21, 2009 5:35 PM

  • TCP XML messages parsing time with realtime output.

    I am currently coding a project and I have hit a bit of a roadblock. The basic overview is I need to be able to receive around 3,000 lines of XML per second from a JavaScript sending TCP messages. I have to extract the data to two seperate files, output the data to a text pane and also further seperate that data into a table as well. All this data needs to be updated as soon as it is received. I am currently comfortable with receiving around 700 lines per second without data loss but anything over that I start losing data somewhere. As for the basic over view of my code, I have my main program which creates the GUI and starts a listening thread that listens for "clients"(JavaScripts) to connect.
    Main:
    public static void main(String[] args)
         SplashScreen screen = new SplashScreen();
         screen.showSplashWindow();
         SwingUtilities.invokeLater(new Runnable()
             public void run()
              MainMenu mainmenu = new MainMenu();
              mainmenu.setVisible(true);
              mainmenu.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
        }Listener Thread:
    final Runnable listener_runner = new Runnable()
              public void run()
                  try
                   startClientListener();
                  catch (Exception e)
             final Thread listener_thread = new Thread(listener_runner,
                  "ListenerThread");
             listener_thread.start();Called from listening thread to setup client:
    public void startClientListener() throws IOException
         ServerSocket serverSocket = null;
         try
             serverSocket = new ServerSocket(XXXX);
         catch (IOException e)
             System.err.println("Could not listen on port: " + portNumber);
         while (true)
             MultiServerThread new_thread = new MultiServerThread(serverSocket
                  .accept(), outputWindow, resultsWindow, prefAttr, runningCount);
             new_thread.start();
        }In my MultiServerThreads runnable I have a BufferedReader to read the input. This reader loops through the input and adds it to a StringBuilder which then passes that data to the output files and the XML parser as seen here:
    in = new BufferedReader(new InputStreamReader(socket
                  .getInputStream()));
             while ((input_line = in.readLine()) != null)
              build.append(input_line + "\n");
              file_out.append(build);  //Text file
              xml_copy_out.append(build);  //XML file
              loadData(build);  //XML parser
              build = new StringBuilder();
             }My XML parser is configured as follows:
    public void loadData(final StringBuilder bufs)
         bufs.insert(0, "<VTR>");
         bufs.append("</VTR>");
         try
             StructuredDocumentHandler par = new StructuredDocumentHandler(
                  runningCount);
             SAXParserFactory spf = SAXParserFactory.newInstance();
             spf.setValidating(false);
             javax.xml.parsers.SAXParser sp = spf.newSAXParser();
             final String s = bufs.toString();
             final ByteArrayInputStream file_buf = new ByteArrayInputStream(s
                  .getBytes());
             final DataInputStream in_data = new DataInputStream(file_buf);
             org.xml.sax.InputSource input = new InputSource(in_data);
             sp.parse(input, par);
         catch (Exception ex)
             ex.printStackTrace();
        }As the parser goes through each XML message it sends the String to an output window that is straight text in a TextArea. It also stores the data in some arrays which then get built into a row that is added to a JTable. Does anyone have any ideas on how I can get up to 3000 lines per second? I'm not sure if my threading scheme is wrong or what. Is Java not powerful enough to handle 3000 TCP messages per second or can the XML parser not handle that much processing that fast? Any help would be much appreciated because I've kind of run out of ideas. Thanks!

    Thanks for the replies. I've trimmed my code down a little bit which has helped. I'm still around 2000 messages a second. Here's where I'm at for an update. Thanks again for all your help. I'm much happier at 2k vs 700 messages per second.
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileWriter;
    import java.io.InputStreamReader;
    import java.net.Socket;
    import java.util.ArrayList;
    import java.util.Calendar;
    import javax.swing.JOptionPane;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import org.xml.sax.helpers.DefaultHandler;
    public class MultiServerThread extends Thread
        private final StructuredDocumentHandler par = new StructuredDocumentHandler();
        private final SAXParserFactory spf = SAXParserFactory.newInstance();
        private SAXParser sp;
        public MultiServerThread(final Socket socket,
             final OutputWindow output_window,
             final ResultsWindow results_window,
             final PreferencesDialog.Info attr, final int count)
         try
             spf.setValidating(false);
             sp = spf.newSAXParser();
         catch (Exception ex)
        @Override
        public void run()
         try
             xml_copy_out.append("<VTR>\n");
             in = new BufferedReader(new InputStreamReader(socket
                  .getInputStream()));
             while ((input_line = in.readLine()) != null)
              file_out.append(input_line + StaticVariable.NEW_LINE);
              xml_copy_out.append(input_line + StaticVariable.NEW_LINE);
              loadData(input_line);
             xml_copy_out.append("</VTR>");
             xml_copy_out.close();
             file_out.close();
             in.close();
             attributes.parent.setCheckFailed(runningCount, procPassed);
             socket.close();
         catch (FileNotFoundException ex)
         catch (Exception e)
             e.printStackTrace();
       public void killOuts()
        public void loadData(final String xml_str)
         try
             ByteArrayInputStream file_buf = new ByteArrayInputStream(xml_str.getBytes());
             InputSource input = new InputSource(file_buf);
             sp.parse(input, par);
         catch (Exception ex)
             ex.printStackTrace();
        public void addRowData(boolean procedurePassed)
        public void clearArrays()
        public class StructuredDocumentHandler extends DefaultHandler
         boolean procedurePassed = true;
         boolean isTestCase = false;
         boolean isTestCaseInput = false;
         boolean isTestCaseOutput = false;
         boolean isTestStep = false;
         boolean isComment = false;
         boolean isRequirement = false;
         boolean isEnsure = false;
         boolean isVerify = false;
         boolean isResult = false;
         boolean eval = false;
         public StructuredDocumentHandler()
         public void startElement(String uri, String lname, String qname,
              Attributes attributes)
             if (!qname.equals(StaticVariable.XML_COMMAND))
              eval = true;
              if (qname.equals(StaticVariable.XML_TESTCASE))
                  isTestCase = true;
              else if (qname.equals(StaticVariable.XML_TESTCASEINPUT))
                  isTestCaseInput = true;
              else if (qname.equals(StaticVariable.XML_TESTCASEOUTPUT))
                  isTestCaseOutput = true;
              else if (qname.equals(StaticVariable.XML_TESTSTEP))
                  isTestStep = true;
              else if (qname.equals(StaticVariable.XML_COMMENT))
                  isComment = true;
              else if (qname.equals(StaticVariable.XML_REQUIREMENT))
                  isRequirement = true;
              else if (qname.equals(StaticVariable.XML_MEASUREMENT))
                  String xml_val = attributes
                       .getValue(StaticVariable.XML_VALUE);
                  outputWindow.addData(xml_val + StaticVariable.NEW_LINE);
                  measurementArray.add(xml_val);
              else if (qname.equals(StaticVariable.XML_EXPECTED))
                  String xml_val = attributes
                       .getValue(StaticVariable.XML_VALUE);
                  outputWindow.addData(xml_val + StaticVariable.NEW_LINE);
                  expectedArray.add(xml_val);
              else if (qname.equals(StaticVariable.XML_RESULT))
                  isResult = true;
              else if (qname.equals(StaticVariable.XML_VERIFY))
                  isVerify = true;
                  verifyArray.add(new String(attributes
                       .getValue(StaticVariable.XML_RESULT)));
              else if (qname.equals(StaticVariable.XML_ENSURE))
                  isEnsure = true;
         public void characters(char[] chars, int start, int length)
             if (eval)
              if (isTestCase)
                  outputWindow.addData(new String(chars, start, length)
                       + StaticVariable.NEW_LINE);
                  testCaseArray.add(new String(chars, start, length));
              else if (isTestCaseInput)
                  outputWindow.addData(new String(chars, start, length)
                       + StaticVariable.NEW_LINE);
                  testCaseInputArray.add(new String(chars, start, length));
              else if (isTestCaseOutput)
                  outputWindow.addData(new String(chars, start, length)
                       + StaticVariable.NEW_LINE);
                  testCaseOutputArray.add(new String(chars, start, length));
              else if (isTestStep)
                  outputWindow.addData(new String(chars, start, length)
                       + StaticVariable.NEW_LINE);
                  testStepArray.add(new String(chars, start, length));
              else if (isComment)
                  outputWindow.addData(new String(chars, start, length)
                       + StaticVariable.NEW_LINE);
                  commentArray.add(new String(chars, start, length));
              else if (isRequirement)
                  outputWindow.addData(new String(chars, start, length)
                       + StaticVariable.NEW_LINE);
                  requirementArray.add(new String(chars, start, length));
              else if (isResult)
                  outputWindow.addData(new String(chars, start, length)
                       + StaticVariable.NEW_LINE);
                  resultArray.add(new String(chars, start, length));
              else if (isVerify)
                  outputWindow.addData(new String(chars, start, length)
                       + StaticVariable.NEW_LINE);
                  verifyDescriptionArray
                       .add(new String(chars, start, length));
              else if (isEnsure)
                  outputWindow.addData(new String(chars, start, length)
                       + StaticVariable.NEW_LINE);
                  ensureArray.add(new String(chars, start, length));
         public void endElement(String uri, String lname, String qname)
             if (!qname.equals(StaticVariable.XML_COMMAND))
              if (qname.equals(StaticVariable.XML_VERIFY))
                  addRowData(procedurePassed);
                  clearArrays();
              else if (qname.equals(StaticVariable.XML_END))
                  clearArrays();
              isTestCase = false;
              isTestCaseInput = false;
              isTestCaseOutput = false;
              isTestStep = false;
              isComment = false;
              isRequirement = false;
              isResult = false;
              isVerify = false;
              isEnsure = false;
              eval = false;
    }Any other suggestions on trimming down that I'm not seeing would be much appreciated. Thanks again for all your help.

  • Top node of XML message needs value assign to it - how to do it ?

    Hi,
    I have an issue where the top node of my XML message needs to have a value assigned.
    i.e.
    <REPORT>xxxxxxxx
    <ID>xxxxx</ID>
    <CUST>xxxxx</CUST>
    </REPORT>
    Is this possible using standard graphical mapping or will I need to resort to XSLT mapping to achieve this ?
    Cheers
    Colin.

    Hi,
    At the beginning I thought that this is not well-formed XML message, did a test in XMLSpy and it looks like it a well-formed XML message.
    > <REPORT>xxxxxxxx
    > <ID>xxxxx</ID>
    > <CUST>xxxxx</CUST>
    > </REPORT>
    I created XSD that describe this message, imported into IR, did some basic (one-to-one) message mapping (output and input structures are the same).
    Output message:
    <?xml version="1.0" encoding="UTF-8"?>
    <REPORT>
       dfasdf
       <ID>12</ID>
       <CUST>dfff</CUST>
    </REPORT>
    After mapping I got:
    <?xml version="1.0" encoding="UTF-8"?>
    <REPORT>
       <ID>12</ID>
       <CUST>dfff</CUST>
    </REPORT>
    Looks like you should rather forget the graphical mapping
    Jakub

  • XML Messages export to Excel

    Hi,
    In NW2004s PI7, under oracle 10g, windows 2003server...
    I would like to export XML messages in excel automatically everyday... do I need some ABAP program or scripts to do that ...
    I know how to do manualy..
    SXMB_MONI
    Monitor for processed XML messages
    Execute
    spreadsheet
    and export to file...
    The same above procedure i like to do automatically....
    Regards
    Thank in Advance

    Thanks you so much your reply... sound like very easy basically is not
    Very strange, when I go SXMB_MONI all messages are displayed, but when I check SE16 Table: SXMSPMAST2 none of message there... also I treid SE38 to run program... I got ABAP dump error...
    I check in SQL to display that table still no entries...
    (here is that info. I found out)
    Table:XI_AF_MSG has more then 25 fields match with moni records
    Table: SXMSPEMAS has more then 3 fields
    Table: SXMSPMAST has more then 5 fields
    I am not sure I am right track or not
    any ohter idea

  • Sequenced Sending of Inbound XML Messages

    We are using ABAP proxies which communicate through XML messages. The current problem that we are facing is that from one INVRPT EDI message, it has to be transformed to two different messages and be sent to the same receiver. The main obstacle is that the first type of message should be processed first before the second type should be sent. If the second message is received by the receiving SAP system, that message will be invalidated and raise an issue at the receiver side.
    The current solution we are looking at is for the receiving SAP system to send an acknowledgment message however, as I looked through BPM, it is only capable of having one sending step (we need to send two messages from one outbound message however at different time intervals).
    Any idea on how to circumvent the problem? Your help will be greatly appreciated.
    Many Thanks and Best Regards,
    Rommel Mendoza
    SAP XI Consultant
    HP GDAS GDPC

    Hi Udo,
    Basically, a customer sends an EDI ORDERS file via AS2. When XI receives the message, it will transform the message to 2 XML messages, one is for order promotion while the second is the actual order XML. The order promotion XML should be sent first to SAP SNC (Supply Network Collaboration) for it to be processed there. Now, once the promotion is in place in SNC, that is the only time the order XML should be sent. If the order XML comes first before the promotion, the message will be invalidated and SNC will raise an error. We are using XI Adapters and the ABAP proxies are SAP predevelivered content for XI (so that we don't need to configure or recreate the XML structures in XI).

  • How to XML Messages Export to Excel

    Hi,
    In NW2004s PI7, under oracle 10g, windows 2003server...
    TR: SXMB_MONI (Integration Engine XML Messsages) how to export these xml messages to in Microsoft Excel - Automatically ?
    Do I have to writedown any ABAP program... or is that posible from SQL ?
    Is that, XML messages only one table XI_AF_MSG or combine of tables?
    Regards
    Thank in Advance

    Thanks you so much your reply... sound like very easy basically is not
    Very strange, when I go SXMB_MONI all messages are displayed, but when I check SE16 Table: SXMSPMAST2 none of message there... also I treid SE38 to run program... I got ABAP dump error...
    I check in SQL to display that table still no entries...
    (here is that info. I found out)
    Table:XI_AF_MSG has more then 25 fields match with moni records
    Table: SXMSPEMAS has more then 3 fields
    Table: SXMSPMAST has more then 5 fields
    I am not sure I am right track or not
    any ohter idea

  • XML Messages View

    Hi All
    When I treid to view SXMB_MONI it just show only 1 day XML Messages only, how can I see all of old messages which has been archived...
    I would like to see Table view "XI_AF_MSG" in PI 7.0 NW2004s under JAVA-Stack archiving
    When I tried SE16 and give Table Name XI_AF_MSG I got messages:
    "Table XI_AF_MSG is not active in Dictionary"
    I belived I can see these messages under Integration adapter... but how to see these view using SE16, basically my requirenment is show prevouse MXL messages logs
    please help me
    Thanks in Advanced
    Angeline Purnama

    To Search for all processed messages
    Leave the Status Group and Status fields empty.
    also specify
    ●      Start of execution
    Date (Executed From) and time (Start Time) of the start of message processing.
    ●      End of execution
    Date (Executed Until) and time (End Time) of the end of message processing.
    To display the entire history of the message, click the end time.
    refer this link [http://help.sap.com/saphelp_nw70/helpdata/en/dc/c5223d78cb752de10000000a114084/content.htm] to Know more for selecting the messages to be displayed.

  • Sending XML messages from server to client using POST method

    Dear everyone,
    I have a simple client server system - using Socket
    class on the server side and URLConnection class on
    the client side. The client sends requests to the
    server in the form of an XML message using POST method.
    The server processes the request and responds with
    another XML message through the same connection.
    That's the basic idea.
    I have a few questions about headers and formats
    especially with respect to POST.
    1. In what format should the response messages from the
    server be, for the client? Does the server need to
    send the HTTP headers - for the POST type requests?
    Is this correct?:
       out.println("HTTP/1.1 200 My Server\r");
       out.println("Content-type: text/xml\r");
       out.println("Content-length: 1024\r");
       out.println("\r");
       out.println("My XML response goes here...");2. How do I read these headers and the actual message
    in the client side? I figured my actual message was
    immediately after the blank line. So I wrote
    something like this:
       String inMsg;
       // loop until the blank line is through.
       while (!"".equals(inMsg = reader.readLine()))
          System.out.println(inMsg);
       // get the actual message and process it.
       inMsg = reader.readLine();
       processMessage(inMsg);But the above did not work for me. Because I seem to
    be receiving a blank line after each header! (I suppose
    that was because of the "\r".) So what should I do?
    3. What are the different headers I must pass from
    server to the client to safeguard against every
    possible problem?
    4. What are the different exceptions I must be prepared
    for this situation? How could I cope with them? For
    example, time outs, IOExceptions, etc.
    Thanks a lot! I appreciate all your help!
    George

    hello,
    1) if you want to develop a distributed application with XML messages, you can look in SOAP.
    it's a solution to communicate objects distributed java (or COM or other) and it constructs XML flux to communicate between them.
    2) if it can help you, I have developed a chat in TCP/IP and, to my mind, when you send datas it's only text, so the format isn't important, the important is your traitement behind.
    examples :
    a client method to send a message to the server :
    public void send(String message)
    fluxOut.println(message);
    fluxOut.flush();
    whith
    connexionCourante = new Socket(lAdresServeur, noPort);
    fluxOut= new PrintWriter( new OutputStreamWriter(connexionCourante.getOutputStream()) );
    a server method in a thread to receive and print the message :
    while(true)
    if (laThread == null)
    break;
    texte = fluxIn.readLine();
    System.out.println(texte);
    that's all ! :)
    If you want to use it for your XML communication, it could be a good idea to use a special message, for example "@end", to finish the server
    ex :
    while(true)
    if (laThread == null)
    break;
    texte = fluxIn.readLine();
    // to stop
    if (texte.equals("@end"))
    {break;}
    processMessage(texte );
    hope it will help you
    David

  • Send XML messages via Internet

    Hello,
    Just wanted to know if it is possible for SAP R3 Enterprise 470x110 to set this up.  Basically we wanted to send XML messages over the internet to our counterparts in other location.  In return they will be sending us XML messages in return that we need to process.  Is this a limitation of our SAP release?  If this can be configured in our system, does anyone has done it?  Let me know if you have references. 
    Thanks a lot.
    Tony

    Jan,
    if QoS is important to you then JMS may not be overkill. Most appservers like Borland, IONA, HP/Bluestone and BEA provide JMS facilities already. What appserver are you using? Does it support JMS?
    There are many cases of companies doing what you want to do, both internally and externally with their partners over the Net.

  • XML Message Body Selector in Automation

    Hi,
    I'm having some trouble implementing a XML Message Body Selector in an automated task. I'm running OSM 7.2.0.7 in a Unix environment and using Design Studio 7.2.1.
    I'm sendind in my request to an external system a request tthe following string: OSM-TaskName-%{CARTRIDGE_VERSION}
    <Request>
        <Header>
            <dueDate>20131128</dueDate>
            <application>OSM-MSS_Lookup-1.0.0.0.5</application>
        </Header>
    </Request>
    The response of MSS is:
    <Response>
        <Header>
            <dueDate>20131128</dueDate>
            <application>OSM-MSS_Lookup-1.0.0.0.5</application>
        </Header>
    In the selector I've tried different XPath expressions:
    Select:
    /*[local-name() ='Response']/*[local-name()='Header']/*[local-name()='application']/text()
    *[local-name() ='Responset']/*[local-name()='Header']/*[local-name()='application']/text()
    //*[local-name() ='Response']/*[local-name()='Header']/*[local-name()='application']/text()
    /*[local-name() ='Response']/*[local-name()='Header']/*[local-name()='application']
    *[local-name() ='Response']/*[local-name()='Header']/*[local-name()='application']
    //*[local-name() ='Response']/*[local-name()='Header']/*[local-name()='application']
    /Response/Header/application
    /Response/Header/application/text()
    Compare: OSM-MSS_Lookup-%{CARTRIDGE_VERSION}
    I keep getting the following error in the log file for the differente selectors:
    ####<Nov 28, 2013 10:34:31 AM CST> <Info> <oms> <hostname> <SOM_ManagedServer_1> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'
    > <sceadmin> <BEA1-49AB960B7AE5258D5CC8> <0710a255d6bbb54d:-1d6ed94c:142960580fb:-8000-0000000000026363> <1385656471431> <BEA-000000> <api.e:
            namespace/version: SOM_Cartridge/1.0.0.0.5
            automator type: taskAutomator
            plugin JNDI name: MSS_Lookup.automatedtask.somprovisioning.MSS_LookupReceiverBean
            plugin class name: oracle.communications.ordermanagement.automation.plugin.XQueryReceiver
            run plugin as: oms-automation   receiver:
                    type: external
                    JMS source: sky/MSS/Product/WebServiceResponseQueue
                    message [property|body] selector: JMS_BEA_SELECT('xpath', '/*[local-name() ='Response']/*[local-name()='Header']/*[local-name()='application']')='OSM-MSS_Lookup-1.0.0.0.5'
    ####<Nov 28, 2013 10:34:31 AM CST> <Warning> <EJB> <hostname> <SOM_ManagedServer_1> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <oms-automation> <> <0710a255d6bbb54d:-1d6ed94c:142960580fb:-8000-000000000002650a> <1385656471454> <BEA-010061> <The Message-Driven EJB: MSS_Lookup.automatedtask.somprovisioning.MSS_LookupReceiverBeanMDB is unable to connect to the JMS destination: sky/MSS/Product/WebServiceResponseQueue. The Error was:
    javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "JMS_BEA_SELECT('xpath', '/*[local-name() ='Response']/*[local-name()='Header']/*[local-name()='application']')='OSM-MSS_Lookup-1.0.0.0.5'"
    Nested exception: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "JMS_BEA_SELECT('xpath', '/*[local-name() ='Response']/*[local-name()='Header']/*[local-name()='application']')='OSM-MSS_Lookup-1.0.0.0.5'"
    I would appreciate any help or ideas.
    Cheers

    Hi,
    Could you confirm on below:
    1 ) Are you using multiple automation plug-in external event receivers in the same automation task ?
    2 ) And are you having the default Correlation Message property set to 'JSMCorrelationID' in external event receiver?
    If your answer for the first question is No, they i would suggest to use Correlation XML Body as
    *[local-name() ='Response']/*[local-name()='Header']/*[local-name()='application']
    The value of the field(application) in request must match the value of the field in response, in your case it is matching. And you will be reading this correlation id in response processing xquery.
    Regards
    Srinivas

  • Unable to Execute a Report to send PAN XML messages out of SNC

    Hi All,
    We are unable to Execute a Report /SCA/DM_TIMESERIES_OUT to send Product Activity Notifications in the form of XML messages out of SNC. We have manitained some Planned Reciepts data in SNC and would like to transfer it out to ECC.
    Could anyone help in understanding if we have to maintain mandatory settings before executing this report.
    Thanks & Regards,
    Sadiq

    Hi Pravin,
    As per the documentation(http://help.sap.com/saphelp_snc70/helpdata/EN/48/6bdb4767a431cbe10000000a42189d/frameset.htm), we have tried both the manual and automatic features to configure the output from SNC in the form of XML messages.
    The manual method gave a message "Time series data for selection is empty" and the Automated method could trigger the XML messages on every incoming message from ECC but we are unable to see the Planned Receipts in that XML messages.
    Was just wondering if we can see the Planned Receipt info by changing the settings of this report or by using any other simillar report as the PR info is very important for our development.
    Thanks & Regards,
    Sadiq

  • View is not retuning data when creating XML message through workflow

    Hi All,
    This is a very critical problem for me. I am trying to send an XML message (outbound) through XML gateway. This is done from a custom workflow. The message creation is done from the standard procedure ecx_document.sendDirect. The data for the XML file is taken from two views (whcih are created in a custom schema and have synonym in apps). One view for header and another one for line information (I am creating an XML for a purchase order).
    The problem is when the workflow try the first time to create a message, the views are not returning data. So message creation fails. Now, if we restart the workflow after some time, it will work and the message is created. What could be the reason for this sort of a behaviour ?
    I am using business events to trigger the workflow. The data in the table/view will be updated by standard POAPPRV workflow activities. The custom workflow is subscribed to a business event raised from POAPPRV workflow, at a certain point. So this will execute when this event is raised from POAPPRV wf. The subscription has a phase value of 99.
    Any help on this regard will be much appreciated, as this is a critical issue.
    Thanks in advance,
    Arun
    PS : One more thing : this is happening mostly in the production instance where the number of messages is very high (freqency).

    Hello,
    With the BAPI_EQUI_CREATE you can only create PM equipments not IS-U devices that why there is no IS Tab .
    You have to use the dialog transactions IQ01, IQ04 or the MM transaction, where you can create devices through a movement.
    There is objecttype DEVICE (SWO1) with the following methods:
    -> Device.CreateFromData (Create Equipment Master Record)
    -> Device.Create (Create Equipment Master Record)
    -> Device.CreateISU (Create IS-U: Modification for IS-U)
    Please check whether you can use method Device.CreateISU for your requirement.
    Regards
    Olivia

  • Read XML message from a CLOB

    We are currently receiving XML messages from a business partner that goes
    through a transformation/parser first to make sure the xml document was
    in MISMO form (Mortgage Industry Standard Message Organization). Then the
    document is stored in a clob in a table. The document is stored Without
    the tags. We are storing these XML messages into a CLOB datatype for
    later processing. I want to read the CLOB and then parse out the
    individual fields to store into a table. What is the best way to
    accomplish this in PL/SQL? Here is one sample record:
    <MORTGAGEDATA>
    <APPLICATION LoanPurposeType="OTHER">
    <LenderCaseIdentifier>3631681</LenderCaseIdentifier>
    <LendersBranchIdentifier>2966448</LendersBranchIdentifier>
    </APPLICATION>
    <PROPERTY PropertyUsageType="Primary">
    <Address1>1335 test</Address1>
    <City>las cruces</City>
    <State>NM</State>
    <PostalCode>88001</PostalCode>
    </PROPERTY>
    <SUBJECTPROPERTY>
    <SubjectPropertyEstimatedValueAmount>69000</SubjectPropertyEstimatedValueAmount>
    </SUBJECTPROPERTY>
    <BORROWERRECONCILEDLIABILITY LiabilityType="HelocSubjectProperty">
    <LiabilityUnpaidBalanceAmount>0</LiabilityUnpaidBalanceAmount>
    <LiabilityMonthlyPaymentAmount>0</LiabilityMonthlyPaymentAmount>
    </BORROWERRECONCILEDLIABILITY>
    <BORROWERRECONCILEDLIABILITY LiabilityType="MortgageLoanSubjectProperty">
    <LiabilityUnpaidBalanceAmount>0</LiabilityUnpaidBalanceAmount>
    </BORROWERRECONCILEDLIABILITY>
    <BORROWER>
    <FirstName>scooby</FirstName>
    <MiddleName/>
    <LastName>doo</LastName>
    <NameSuffix/>
    <MothersMaidenName>velma</MothersMaidenName>
    </BORROWER>
    </MORTGAGEDATA>
    NOTE: I have tried to use DBMS_XMLQUERY and it comes out like this using a
    stored procedure called printclob: When I do this the data is put into
    one field called xml_app_msg. The problem is how do I reference the
    individual fields like FirstName and so on to store in another table? Can
    I apply a stylesheet and if so, how?
    Or do I create an object type called xml_app_msg with the fields lastname
    and so on?
    -- The table is raw_xml_msg_tbl and the field with the stored infomation is
    xml_app_msg.
    set serveroutput on size 50000
    declare
    queryCtx DBMS_XMLquery.ctxType;
    result CLOB;
    begin
    queryCtx := DBMS_XMLQuery.newContext('select xml_app_msg from raw_xml_msg_tbl where app_id = :APP_ID');
    -- DBMS_XMLQuery.clearBindValue(queryCtx);
    DBMS_XMLQuery.setBindValue(queryCtx,'APP_ID','LT1001');
    -- get the result..!
    result := DBMS_XMLQuery.getXML(queryCtx);
    -- Now you can use the result to put it in tables/send as messages..
    printClobOut(result);
    DBMS_XMLQuery.closeContext(queryCtx); -- you must close the query handle..
    end;
    OUTPUT:
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1">
    <XML_APP_MSG><MORTGAGEDATA>
    <BORROWER>
    <FirstName>Falls</FirstName>
    <MiddleName/>
    <LastName>Water</LastName>
    <NameSuffix/>
    <SSN>123-45-6789</SSN>
    </BORROWER>
    </MORTGAGEDATA>
    </XML_APP_MSG>
    </ROW>
    </ROWSET>
    null

    I parse the XML doc into a domdocument and then loop through using xpath.valueof to pull the individual values from the nodes and then build a generic insert. It works quite well with a small number of columns. I'm not sure how it would work with a lot of columns. You can get code examples from Steve Muench's book "Developing Oracle XML Applications".

  • XML Message Not Generated in SUS SRM 4.0

    Hi !
      In Supplier Self Service(SUS) SRM 4.0 we did a  
      development for ASN creation through file upload .
      It's a <b>BSP</b> Application .
      Vendor uploaded the file for ASN creation .
      Their generated ASN No. which are in Standard tables.
      But for Some of them No XML Messages Genrated which  
      suppose to pass backend SAP R/3 .
      Anybody having any idea where exactly these XML 
      Messages are?   We have searched through SXMB_MONI  
      & checked all qRFCs.
      But unable to find their XML messages.
      Looking forward your ideas.
      Regards
      Sachin S M
    <b></b>
    Message was edited by: Sachin S M

    Hi,
    Can you tell me if the next scenario is possible with EBP 5.0 (WAS 6.40) but without XI.
    We need to develop an application to allow the supplier to upload an Invoice in XML and save it in EBP.
    I was thinking on using a BSP application with an input field to browse local PC and pick up an Invoice XML file. Then post the XML and parse it in the BSP application and save the invoice in EBP.
    Do you have any experience on it or some documentation?
    We have EBP 5.0 but don't want to install an SAP XI.
    Thank you

Maybe you are looking for

  • Which functions and features in Numbers are NOT exported correctly to Excel?

    I wish to know EXACTLY which functions I use in a Numbers sheet WILL FAIL to export correctly to an Excel or Neoffice spreadsheet. For instance, I created a Numbers spreadsheet using prolific use of the IFERROR function. However, when I EXPORT to XLS

  • After IOS 8 update I my wifi toggle is greyed out.

    After some research I learned I should have turned off the where's my iPad on iCloud before I updated to IOS 8.  Now I cannot turn it off or do anything that requires the internet.  Yes I have tried to reset via iTunes and the iPad itself but without

  • Lyrics and artwork widget

    I'm after a lyrics and artwork lyric that embeds into the MP3 files. I'm on ML v10.8.2, and used to use Amazon Art downloader and the lyrics widget Tunestext, but they both now dont work Does anyone know of any that do? I know that iTunes downloads a

  • How do we speed up downloads

    When I use my browser to get on line the blue line starts, then pauses for up to a minute before it opens the location.  Then whem i select a download, it starts then stops, and the loading symbol appears ant it can take 60 to 120 sec for video to pl

  • Duplicate Photos On my iPad

    I noticed recently that I have tons of duplicate photoss on my iPad. How can I easily dlete them?