TO PARSE XML RESPONSE AFTER SENDING XML DOCUMENT AS URL PARAMETER PROBLEM

Hi
I sent the xml document (varchar variable)to the other site (to use URL).
When I take the xml response from the other site, how can I parse this using pl/sql code? (db version oracle 8.1.7)
What are the methods?
Try the following URL by pasting it in browser location box:
http://testspos.isbank.com.tr/sanalpos/spos.asp?prmstr='<?xml version="1.0" encoding="UTF-8"?><ePaymentMsgVersionInfo="2.0" TT="Request" RM="Direct" CT="Money"><OperationActionType="LiveTest"><OpData><MerchantInfo MerchantId="200000845966"MerchantPassword="kangurum"/><ActionInfo><TrnxCommon TrnxID="'||v_sipno||'"Protocol="156"></TrnxCommon></ActionInfo><PANInfo></PANInfo><OrgTrnxInfo></OrgTrnxInfo><CustomData></CustoData></OpData></Operation></ePaymentMsg>'
You will get the response:
<html><head><title>Error</title></head><body>The parameter is incorrect. </body></html>

Hi
I sent the xml document (varchar variable)to the other site (to use URL).
When I take the xml response from the other site, how can I parse this using pl/sql code? (db version oracle 8.1.7)
What are the methods?
Try the following URL by pasting it in browser location box:
http://testspos.isbank.com.tr/sanalpos/spos.asp?prmstr='<?xml version="1.0" encoding="UTF-8"?><ePaymentMsgVersionInfo="2.0" TT="Request" RM="Direct" CT="Money"><OperationActionType="LiveTest"><OpData><MerchantInfo MerchantId="200000845966"MerchantPassword="kangurum"/><ActionInfo><TrnxCommon TrnxID="'||v_sipno||'"Protocol="156"></TrnxCommon></ActionInfo><PANInfo></PANInfo><OrgTrnxInfo></OrgTrnxInfo><CustomData></CustoData></OpData></Operation></ePaymentMsg>'
You will get the response:
<html><head><title>Error</title></head><body>The parameter is incorrect. </body></html>

Similar Messages

  • Error:  Failed to get a response after sending the message

    This is another one of those errors I only get some of the time with a specific script. I can't figure a rhyme or reason for it. The full error is:
    Failed to get a response after sending the message: <Message name="PageComplete"><Parameter WindowIndex="0"></Parameter><Parameter PassIfPageAlreadyComplete="false"></Parameter></Message>.
    It's triggering at a WaitForPage() method in the script. The script is executing from the OTM server which is Windows Server 2008 R2 and only runs for OTM. No roles or features (other than SMTP). IE-ESC is off for all users. The script runs with -delayPercentage 1.
    The script runs fine from within OpenScript workbench every time. The script does work when executed from OTM, however it will sometimes fail. When I run the scripts back to back the failure rate is about 50%. Same error every time....
    Any help, insight, and ideas would be greatly appreciated.
    Edited by: Colyn1337 on Mar 14, 2013 11:20 AM

    Also, some time it throw slightly different error like:
    "/web:window[@index='0']/web:document[@index='2']/web:form[@index='1']/web:inp
    ut_text[@id='saw_*' or @index='1']" failed to respond to action: <Message
    name="Click"><Parameter WindowIndex="0"></Parameter><Parameter
    DocumentIndex="2"></Parameter><Parameter index="1"></Parameter><Parameter
    tag="INPUT"></Parameter><Parameter type="text"></Parameter></Message>.
    Please help to triage.

  • Response after sending mail

    Hi ,
    How i can get the response after sending a mail to an address?
    Means what is the reponse of the server to that mail sending?
    ThanKx

    If you're looking for the detailed SMTP protocol level response codes,
    see the smtpsend.java demo program included with JavaMail, and see
    the javadocs for the com.sun.mail.smtp package.

  • HTTP Sender - how to read URL Parameter USER id into Mapping

    Hi,
    My scenario is HTTP - XI - ABAP Proxy.
    I wanted to capture USER id of the person who posted(HTTP) into XI(Mapping). How to read/evaluate the value of sap-user from querystring of URL ?
    http://HOST:8008/sap/xi/adapter_plain?namespace=http%3A//abc.com/sales_oa&interface=MI_sales_OA&service=DEV_D&party=&agency=&scheme=&QOS=EO&<b>sap-user=SM9999</b>&sap-password=xxxxx&sap-client=001&sap-language=EN
    please help.

    Mallik,
    Try  URL Parameters in HTTP sender communication channel.
    In the sender communication channel set Adapter Specific Message Attributes. Click on Apply URL Parameters. In Parameter1 put sap-user (U can query any URL parameter by giving its name as in the HTTP URL).
    Now in SXMB_MONI, in inbound payload SOAP Header, under Dynamic configuration u can see the value of the user. Query the same in Mapping using Dynamic Configuration using keyName as UrlParamOne.
    Regards,
    Sudharshan N A
    Message was edited by:
            Sudharshan Aravamudan

  • After sending XML back to FCP, not all clips make it to the timeline :(

    The clips I sent from FCP were on 3 video tracks (most of them on the 1st). Mostly DVCProHD 720, with some SD DV and a little 2K (which didn't translate to Color). All clips after the 2K didn't come back to FCP, and none of the clips on the video 2 and video 3 tracks came back, either. I wonder...

    There's a question in here somewhere, I'm sure of it...
    If your 2K clips were on Layer 1, and COLOR lost the plot there, then nothing on layer 2 or 3 would have been seen either, since clips are numbered consecutively along the Layers, with the first clip on Layer 2 being (last clip # on Layer 1 +1) , and the first clip on Layer 2 being (last clip # on Layer 2 +1) and so on.
    Mixed formats are usually a recipe for disaster.
    jPo

  • Read  an XML file and send it to client

    Hi,
    I'm introducing to servlet development and I'm trying to do some AJAX calls. The client side is implemented, but I have some troubles on the server side. I want to open an XML file and send it to the client. How can I do that? Any special header?
    I have implemented this test in PHP, so you can imagine what I would like to do:
    if ($type == "xml"){
         $xml = "";
         $file = fopen ("file.xml", "r");
         while (!feof ($file)){
              $xml .= fgets ($file, 4096);
         fclose ($file);
         header ("Content-type: text/xml; charset=ISO-8859-1");
         echo $xml;
    }The XML file is:
    <?xml version='1.0' encoding='ISO-8859-1'?>
    <users>
         <user>
              <name>Pepe</name>
              <age>18</age>
         </user>
         <user>
              <name>María</name>
              <age>21</age>
         </user>
    </users>Thanks.

    Not very useful:(.
    This is my code:
    PrintWriter out = null;
            try{
                   String type = request.getParameter ("type");
                   if (type.equals ("xml")){
                        response.setContentType ("text/xml; charset=ISO-8859-1");
                        out = response.getWriter ();
                        String xml =
                             "<?xml version='1.0' encoding='ISO-8859-1'?>" +
                             "<users>" +
                                  "<user>" +
                                       "<name>Pepe</name>" +
                                       "<age>18</age>" +
                                  "</user>" +
                                  "<user>" +
                                       "<name>María</name>" +
                                       "<age>21</age>" +
                                  "</user>" +
                             "</users>";
                        out.println (xml);
            }finally{
                out.close ();
            }This code works. The servlet send back the xml and the client shows the content but, as you can see, i'm not reading the xml file. So my problem is on reading the xml file as a plain text. My code is this:
    response.setContentType ("text/xml; charset=ISO-8859-1");
                        out = response.getWriter ();
                        String xml = "";
                        FileReader fr = null;
                        BufferedReader br = null;
                        try{
                             fr = new FileReader (new File ("file.xml"));
                             br = new BufferedReader (fr);
                             String linea;
                             while ((linea = br.readLine ()) != null){
                                  xml += linea;
                                  //System.out.println (linea);
                             fr.close ();
                        }catch (Exception e){
                             e.printStackTrace ();
                        }But now I get an Exception File not found. The xml file is in the web directory (I'm using net beans 6.8). Where I have to put the file?
    Thanks.
    Edited by: GagleKas on Mar 15, 2010 6:39 AM

  • XML gate way send document erroring out

    Hi,
    We are using the "CLN_SHOW_SHIPMENT_OAG72_OUT.xgm" to map the ASN 856 XML gateway map.
    But this is getting error out in the Show shipment workflow (send document process).
    Error Name ECX_SENDDIRECT_ERROR_EMBD
    Error Message 6013: Error while processing XML document in SENDDIRECT mode : 'ORA-20100: Error occurred while parsing: Element SHOW_SHIPMENT_005 not complete, expected elements '[DATAAREA]'.'. For further details, see the log corresponding to FND-Logging AFLOG MODULE Name: 'ecx.plsql.trig.CLN.SHOWSHIPO.65899.3.35793.log'.
    Error Stack ECX_STANDARD.sendDirectCover(CLN, SHOWSHIPO) ECX_STANDARD.Send(SHOWSHIP, 65899.3, 538854, RUN) Wf_Engine_Util.Function_Call(ECX_STANDARD.SEND, SHOWSHIP, 65899.3, 538854, RUN)
    I have done the transaction setup , trading partner setup and reuired ECX profile options.
    Below are the steps i am following.
    To generate an ASN for one shipment of goods:
    1. Log on to the Oracle Order Management application.
    2. Create a sales order in Order Management either manually or electronically
    through Order Process.
    3. Book the sales order.
    4. Navigate to Release Sales Order window.
    5. Enter the sales order number in Order Number.
    6. Click Execute Now to release this sales order.
    7. Navigate to the Shipping Transaction window.
    8. Click Search Delivery.
    9. Enter the delivery name in From Delivery Name.
    10. Click Find.
    11. Ship confirm the delivery.
    ◗◗ To extract ASN for a delivery number in case of first ASN failure:
    1. Navigate to the Supply Chain Trading Connector responsibility in Oracle
    E-Business Suite.
    2. Navigate to Requests and select Run.
    3. Verify if Single Request is selected. Click Ok.
    4. Select CLN:Send XML Show Shipment Document for Request Name.
    5. Enter Delivery Number.
    6. Click Submit to submit the request.
    7. Search for Ship Notice collaboration in the Collaboration History by entering
    Delivery Number for Document Number.
    The go to workflow administrator > transaction monitor > item type %SHIP% then > go.
    After this I could see that the workflow is erroring out at send document process.
    Please let me know the what is issue , this could help me a lot.
    Regards,
    Yudhistar

    Hi,
    any tips, hints, sample code or other pointersWell, maybe some java, here's your question:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:38012348052
    will refer you to
    http://asktom.oracle.com/pls/asktom/f?p=100:11:478714880659465::::P11_QUESTION_ID:952229840241
    in the end.

  • How to remove empty lines from xml files after removing nodes from document

    <pre>
    Hi
    <b>i have xml document, which is shown below
    after removing some nodes from the document ,i am getting empty lines in place of removed nodes,how to resolve this and get the proper xml document without any errors</b>
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE Message SYSTEM "TRD01.dtd">
    <Message>
    <Header>
    <CounterPartyType>CLIENT</CounterPartyType>
    <CreationTime>20134455</CreationTime>
    <ErrorCode>363 </ErrorCode>
    <ErrorEnterPriseId>N</ErrorEnterPriseId>
    <ErrorStatus>1</ErrorStatus>
    <ErrorSystemId>STL</ErrorSystemId>
    <ErrorTimes>31</ErrorTimes>
    <MessageType>T</MessageType>
    <RecipientEnterpriseId>N</RecipientEnterpriseId>
    <RecipentSystemId>EXM</RecipentSystemId>
    <Remarks>REMARSK</Remarks>
    <SenderEnterpriseId>N</SenderEnterpriseId>
    <SenderSystemId>TR</SenderSystemId>
    </Header>
    </Message>
    <ErrorCode>363 </ErrorCode>
    <ErrorEnterPriseId>NIHK</ErrorEnterPriseId>
    <ErrorStatus>1</ErrorStatus>
    <ErrorSystemId>STL</ErrorSystemId>
    <ErrorTimes>31</ErrorTimes>
    XPathExpression expression5 = xpath.compile(xmlpath5);
    Object result5 = expression5.evaluate(doc, XPathConstants.NODE);
    Node node5 = (Node) result5;
    node5.getParentNode().removeChild(node5);
    XPathExpression expression6 = xpath.compile(xmlpath6);
    Object result6 = expression6.evaluate(doc, XPathConstants.NODE);
    Node node6=(Node) result6;
    node6.getParentNode().removeChild(node6);
    XPathExpression expression7 = xpath.compile(xmlpath7);
    Object result7 = expression7.evaluate(doc, XPathConstants.NODE);
    Node node7=(Node) result7;
    node7.getParentNode().removeChild(node7);
    doc.normalize();
    doc.normalizeDocument();
    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer t = tf.newTransformer();
    t.setOutputProperty(OutputKeys.INDENT, "yes");
    t.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
    t.setOutputProperty(OutputKeys.METHOD,"xml");
    t.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
    the xml output i am getting is
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <Message>
    <Header>
    <CounterPartyType>CLIENT</CounterPartyType>
    <CreationTime>20134455</CreationTime>
    <MessageType>TRD01</MessageType>
    <RecipientEnterpriseId>N</RecipientEnterpriseId>
    <RecipentSystemId>STL</RecipentSystemId>
    <Remarks>REMARSK</Remarks>
    <SenderEnterpriseId>N</SenderEnterpriseId>
    <SenderSystemId>T</SenderSystemId>
    </Header>
    </Message>
    <b>could you please let me know how to avoid empty lines in the xml doucment output</b>
    this is the method i am using to get the result
    public void ValidateRecord(String xml){
    try{
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = factory.newDocumentBuilder();
    //parse file into DOM
    /*DOMParser parser = new DOMParser();
    parser.setErrorStream(System.err);
    parser.setValidationMode(DTD_validation);
    parser.showWarnings(true);*/
    System.out.println ("HI THIS xml is validation "+xml);
    Resolver res = new Resolver();
    db.setEntityResolver(res);
    Document doc = db.parse(new InputSource(new StringReader(xml)));
    XPathFactory xpf = XPathFactory.newInstance();
    XPath xpath = xpf.newXPath();
    // XPathExpression expression = xpath.compile("//A/B[C/E/text()=13]");
    String xmlpath="/Message/Header/CounterPartyType/text()";
    String xmlpath1="/Message/Header/RecipentSystemId/text()";
    String xmlpath2="/Message/Header/ErrorSystemId/text()";
    XPathExpression expression = xpath.compile(xmlpath);
    XPathExpression expression1 = xpath.compile(xmlpath2);
    Object result = expression.evaluate(doc, XPathConstants.NODE);
    Object result1 = expression1.evaluate(doc, XPathConstants.NODE);
    Node node = (Node) result;
    Node node1 = (Node) result1;
    System.out.println("the values of the string is " +node.getNodeValue());
    System.out.println("the values of the string is " +node1.getNodeValue());
    // for (int i = 0; i < nodes.getLength(); i++) {
    //System.out.println(nodes.item(i).getNodeValue());
    // CAHNGING THE RECEIPENT NODE
    XPathExpression expression2 = xpath.compile(xmlpath1);
    Object result2 = expression2.evaluate(doc, XPathConstants.NODE);
    Node node2 = (Node) result2;
    System.out.println(node2);
    node2.setNodeValue(node1.getNodeValue());
    System.out.println(node2);
    //removing the nodes from document
    String xmlpath3="/Message/Header/ErrorCode";
    String xmlpath4="/Message/Header/ErrorEnterPriseId";
    String xmlpath5="/Message/Header/ErrorStatus";
    String xmlpath6="/Message/Header/ErrorSystemId";
    String xmlpath7="/Message/Header/ErrorTimes";
    XPathExpression expression3 = xpath.compile(xmlpath3);
    Object result3 = expression3.evaluate(doc, XPathConstants.NODE);
    Node node3 = (Node) result3;
    node3.getParentNode().removeChild(node3);
    XPathExpression expression4 = xpath.compile(xmlpath4);
    Object result4 = expression4.evaluate(doc, XPathConstants.NODE);
    Node node4 = (Node) result4;
    System.out.println("node value");
    System.out.println(node4.getParentNode().getNodeName());
    node4.getParentNode().removeChild(node4);
    XPathExpression expression5 = xpath.compile(xmlpath5);
    Object result5 = expression5.evaluate(doc, XPathConstants.NODE);
    Node node5 = (Node) result5;
    node5.getParentNode().removeChild(node5);
    XPathExpression expression6 = xpath.compile(xmlpath6);
    Object result6 = expression6.evaluate(doc, XPathConstants.NODE);
    Node node6=(Node) result6;
    node6.getParentNode().removeChild(node6);
    XPathExpression expression7 = xpath.compile(xmlpath7);
    Object result7 = expression7.evaluate(doc, XPathConstants.NODE);
    Node node7=(Node) result7;
    node7.getParentNode().removeChild(node7);
    // Node b13Node = (Node) expression.evaluate(doc, XPathConstants.NODE);
    //b13Node.getParentNode().removeChild(b13Node);
    doc.normalize();
    doc.normalizeDocument();
    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer t = tf.newTransformer();
    t.setOutputProperty(OutputKeys.INDENT, "yes");
    t.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
    t.setOutputProperty(OutputKeys.METHOD,"xml");
    t.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
    t.transform(new DOMSource(doc), new StreamResult(System.out));
    catch (Exception e) {
         e.printStackTrace();
    System.out.println(e.getMessage());
    </pre>
    Edited by: user12185243 on Apr 6, 2013 6:38 AM
    Edited by: user12185243 on Apr 6, 2013 6:41 AM
    Edited by: user12185243 on Apr 6, 2013 6:43 AM
    Edited by: user12185243 on Apr 6, 2013 6:45 AM
    Edited by: user12185243 on Apr 6, 2013 9:00 AM

    either this way we can do this
    1)
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    <b> factory.setIgnoringElementContentWhitespace(true); </b>
    DocumentBuilder db = factory.newDocumentBuilder();
    or
    2)
    java.io.StringWriter sw = new java.io.StringWriter();
    StreamResult sr = new StreamResult(sw);
    t.transform(new DOMSource(doc), sr);
    String xml1 = sw.toString().trim();
    <b> xml1=xml1.replaceAll("\\s",""); </b>
    System.out.println(xml1.trim());

  • 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

  • XML file conversion after sender file content conversion

    Hi,
    I have issue refarding file content conversion.
    My input structure is
    <MT_RCICrecords>
    <TRNH>
      <RCIC>
        <RECH>
        <RECL>
      <RCIC>
    <TRNH>
    Afetr sender File content conversion (csv to xml) it produces xml file as below (since file conversion does not support 3rd level of hierarchy)
    <TRNH>
    <RECH>
    </RECH>
    <RECL>
    </RECL>
    </TRNH>
    It does not recognize RCIC.
    Now i am trying to map this to IDOC and getting error as
    'MT_RCICRecords tag found instead of IDOC BEGIN ='.
    CAn anyone suggest me how to chaage this xml output after File content conversion to add RCIC tag in xml file?
    I am new to XI so please give me some sample code to.
    Thanks.
    Yashpal
    Its urgent!

    My problem is xml generated from content conversion is like below
    <MT_RCICrecords>
    <TRNH></TRNH>
    <RECH></RECH>
    <RECL></RECL>
    <TRLR></TRLR>
    </MT_RCICrecords>
    and i want it to be
    <MT_RCICrecords>
    <TRNH></TRNH>
    <RCIC>
    <RECH></RECH>
    <RECL></RECL>
    </RCIC>
    <TRLR></TRLR>
    </MT_RCICrecords>
    which is not happening
    My input message structure is
    MT_RCICrecords
    TRNH
    RCIC
    RECH
    RECL
    i hope it is clear now
    TRLR

  • Interesting Reqrmnt - How to avoid sending namespace in the xml response

    Hi,
    Below is the XML response we generate and send it to HTTP Receiver.
    - <ns1:CATSIMPORT xmlns:ns1="urn:pweh.com:erp:hr" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Version>1.0</Version>
      <TrackID>{5A3C87A5-48FD-4BCD-9178-A200F10F118D}</TrackID>
    - <ReturnCode>
      <value>Success</value>
      </ReturnCode>
      </ns1:CATSIMPORT>
    Can we remove the first and last line of the xml content and send it.
    Please send in your suggestions or answers.
    Regards,
    Amar Nemalikanti

    Hi Amareshwar,
    Check my replies in this link.
    just like java code to add a tag, you can use to remove a tag, before it goes to http adapter.
    Re: How to change the incoming xml to a different namespace
    Hope that helps you to fix your issue
    Regards
    Vishnu

  • Edge Animate - Sending To Then Getting Response From Server (XML)

    Hi,
    I’m very new to Edge animate, and I’m trying to send some things to a server, which would send a response back. XML.
    I’m trying:
    jQuery.ajax({
        type: "POST",
        datatype: "xml",
        url: "http://www.pandorabots.com/pandora/talk-xml",
        data: {botid: 'cb1f78b4fe36bf6d', input: 'test'},
        success: function(xml) {
             //jQuery(xml).find('result').each(function(){
                      //var tts = jQuery(this).find('that').text();
                      sym.$("xmlOutput").html('Pandorabot success.');    
        error: function() {
            sym.$("xmlOutput").html('Pandorabot error.');
    But can’t seem to get it working.
    The logs indicate that it does send, but I don’t receive an answer.
    What am I doing wrong, and where should I start?
    Thanks for any help, or links.

    Did you put  some trace or alert in your success function and check if its hit?

  • OSB: Send XML as response

    Hi,
    I have created a proxy service which will publish messages into the Queue. Once i publish the message in the response pipeline i need to send response as an xml as shown below:
    For Success:
    <?xml version="1.0" encoding="UTF-8"?>
    <response>
    </response>
    For Failure:
    <?xml version="1.0" encoding="UTF-8"?>
    <response>
    <exception> Error reason 1 </exception>
    <exception> Error reason 2 </exception>
    </response>
    How to do this? Kindly advise.
    Thanks in advance.

    For success scenario in response pipeline use replace action and modify the contents of the $body with the success response.
    For the fault scenarion you will need to have a fault handler in the fault handler use repalce to modify the contents of $body and then use reply node and choose reply with success.

  • Send xml file and recieve xml in response from servlet

    hi
    i want to send a xml file to http address and in response recieives an xml file from which i want to fetch value in java
    can everybody help me out by giving me some help code
    thanks
    haryy

    I think you can do this with the DOM API .
    Go through this: http://www.javaworld.com/javaworld/jw-07-2000/jw-0728-jdom2.html

  • BC 4.8 sending a HTTP Code or an own XML Response

    Hi Guys,
    I receive an ORDRSP (ORDERS05) about http and the supplier needs a status code, that the request was successfully. HTTP Code 200 or an own XML Response are great.
    Is it possible to do this with the BC 4.8?
    Any Ideas?
    Greetings,
    Michael
    Edited by: Michael Nett on Jul 30, 2010 12:04 PM

    Hi ,
    Refer these links,
    http://w3.miraclesoft.com/msws/msoft/products/oracle/pdf/SAP-IDOC_Article.pdf
    http://www.sap.com/korea/partners/icc/scenarios/pdf/ICC_INTEGRATION_GUIDE_22.pdf
    http://www.soberit.hut.fi/T-86/T-86.161/2004/Final%20report%20SAP_RN%20.pdf
    regards,
    Suryanarayana.M

Maybe you are looking for