Show odata response message in sapui5

Hello,
I want to show the message text of a oData response in a messageBox?
Kind regards,
Richard

Hello Rauf,
I tried your sollution but by debugging the source I get a syntax error : "Unexpected token<"
This is my source.
            var connection = location.protocol + "//"+ location.hostname + serviceUrl + "AddressSet";
           var addressEntry = {
          Employeenumber : employeeNumber,
          Subtype : Subtype,
                          Addresstype: addressType,
                          Validityend: validityEnd, 
                          Validitybegin: validityBegin,
                          Street:       street,
                          Housenumber: houseNumber,
                          Postalcodecity: postalCode,
                          Country: country,
                          City: city,   
          var requestGet =
            { headers: {      
                            "X-Requested-With": "XMLHttpRequest",
                            "Content-Type": "application/atom+xml",
                            "DataServiceVersion": "2.0",         
                            "X-CSRF-Token":"Fetch"     },
            requestUri: connection,
            method: "GET",
            OData.request
                      requestUri:      connection, 
                      method: "GET", 
                      headers: 
                      "X-Requested-With": "XMLHttpRequest",
                      "Content-Type": "application/atom+xml",
                      "DataServiceVersion": "2.0",         
                      "X-CSRF-Token":"Fetch"                                 }                   
                    }, function (data, response)
//                         sap.m.MessageToast.show("Response Header");
                    header_xcsrf_token = response.headers['x-csrf-token'];
                var requestPost =
            { headers: {"X-Requested-With": "XMLHttpRequest",                       
                      "Content-Type": "application/atom+xml",
                      "DataServiceVersion": "2.0", 
                      "Accept": "application/atom+xml,application/atomsvc+xml,application/xml",
                      "X-CSRF-Token": header_xcsrf_token   
            requestUri: connection,
            method: "POST",
            data: addressEntry
                OData.request( requestPost, function (data){
                var oView = sap.ui.getCore().getElementById("app.master.Navigation"); 
                var oBindingContext = oView.getBindingContext();
                var link = "/InfotypeSet(Subtype='"+window.subtype+"',Infotype='0006',Employeenumber='"+window.employeeNumber+"')";
                oView.bindElement(link);
                var oBindingContextNew = oView.getBindingContext();
                sap.ui.getCore().getEventBus().publish("nav", "to", {
                viewId : "app.details.Infotype0006",
                data : {
                bindingContext : window.oData
                function(error){
                operationResult = "0"; 
//               var test = window.JSON.parse(error.response.body.error.message.value);
                    var errorObj1 = JSON.parse(error.response.body); 
                    sap.m.MessageBox.show( 
                        errorObj1.error.message.value, 
                        sap.m.MessageBox.Icon.ERROR, 
                        "Error In Change Operation"  );
                      function (error) 
                    operationResult = "0"; 
                    var errorObj1 = JSON.parse(error.response.body); 
                    sap.m.MessageBox.show( 
                        errorObj1.error.message.value, 
                        sap.m.MessageBox.Icon.ERROR, 
                        "Error In Change Operation"  );
kind Regards,
Richard

Similar Messages

  • WSRM Adapter replaced with soap in PO7.4. Getting error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error"

    Hello All,
    We have scenario proxy->pi->webservice. In older versions of PI system they used wsrm adapter at receiver side and it's working fine.
    Receiver interface is asynchronous. So no response structute is present and receiver service is business component(since receiver is a third party).
    During migration, we have replaced the receiver adapter with SOAP adapter and used message protocol as SOAP 1.1 but the message is failing and in communication channel it is showing error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error". In this case the receiver interface is stateless xi 3.0 compatible(re using the old), after changing it to just stateless also issue persists.
    In target url field if i prefix the url with "http" then above mentioned error is occurring otherwise if i use the hostname:port/path.. then it is giving error
    "soap: Call failed: com.sap.aii.af.sdk.xi.srt.BubbleException: Unsupported protocol". So maintaing the url as http://hostname:port/pat.....
    As in old channel wsrm channel there is no userid and password, i haven't given any userid/pwd in receiver channel.
    used the bean sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean with  parameters
    Module Key  =  soap
      Parameter Name  =  noSOAPMakeSysErrFromResponseFault
    Parameter Value  =  false
    and
    xmbws.No SOAPIgnoreStatus = true
    but not successful.
    Please help me. I got stcuk here.

    Hello Jannus,
    The connectivity is working fine. Network team has confirmed it. I doubt that any strucutre(header) difference might be present in message when sending with wsrm adapter compared to sending with soap adapter.
    Please let me know the exact difference between soap and wsrm functionality in receiving end.
    By considering the structure issue, i have checked the "do not use soap envelope" check box, then i got error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type"
    Then i used message transform bean, but not successful.
    Regards,
    Ch.Venkat.

  • SOAP Receiver Response Message

    I have setup the following scenario:
    Create PO in EBP --> XI --> Webservice
    In the Repository I have set up both the outbound and inbound message interfaces as Synchronous. The interface mapping has been setup to map both the request and response messages.
    In the Directory I have set up the SOAP receiver adapter and the receiver/interface determination and receiver agreement for EBP as the sender system and the external webservice as the receiver party/service.
    When I create a purchase order in EBP the webservice is called successfully and the PO gets created on the target system. The webservice returns a response message which I am expecting to see via SXMB_MONI but is not currently showing!! Is there some Directory configuration that I am missing?
    Any pointers would be appreciated.
    Regards
    Mark Briggs

    Hi Mark,
    >>>>n the Repository I have set up both the outbound and inbound message interfaces as Synchronous
    is your scenario sync or async?
    do the ID config with ID wizzard if you're not sure
    if will guide you
    if you have a sync scenario you shoudl see and error
    if you have no response withint the timeout
    do you see that in the calling application or in the XI ?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Response Message ID Error

    Scenario:RFC TO JDBC (Syncronous )
    Error: Below error is coming in Response Message ID.
    Added one new field  "EXPIRED"
    in DATA TYPE  and mapped it with EXPIRED field in RFC but when I checked in SXMB_MONI whether this object is working fine or not .
    Acutally it showing "SYSTEM Error" that field doesnot exist in database.
    I clarrified from client that whether this field exist in database or not they told that it exist .EXPIRED is added as the last lineVARCHAR2(1) in database.
    This is the error it showing when I checked it in SXMB_MONI.
    SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAP_IMPORT_STOCK_ORDER' (structure 'Statement'): java.sql.SQLException: FATAL ERROR: Column 'EXPIRED' does not exist in table 'SAP_IMPORT_STOCK_ORDER'</SAP:AdditionalText>
    Now tell me, if the feild exist in database then where is the error. Any error from XI
    Please let me know I am waiting for reply?

    Hi,
    It may be authorization problem or the system is not configured properly....
    check this blog
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Might help you
    vasanth

  • Response message error in queue when using ABAP proxy

    I am using an abap proxy for the first time, and some of the response messages are getting stuck in the sender's (R/3) inbound queue.  To resolve them, I have to either reset the status or execute the LUW.  Sometimes, this doesn't even work. 
    Here is my "asynchronous" scenario:
    R/3 -> <proxy> -> PI -> <file adapter> -> File
    The R/3 system that I'm using has not used PI before, so I'm thinking something is missing from the set-up on the R/3 side.  On the errors I finally do get to process, I get the following error in the SXMB_MONI on the sender (R/3) side (the PI SXMB_MONI shows successful).  Can someone help me understand what a response message is and how it is different from an acknowledgement?  Also, help me to understand what could be causing the response messages to get stuck in the R/3 queue.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Integration Server -->
       - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
        <SAP:Context />
        <SAP:Code p1="MessageId"
                          p2="4962B2EDB60A003BE1008000A2844D1A"
                          p3="00000000000000000000000000000000"     
                          p4="">PROTOCOL.WRONG_HEADER_IN_RESPONSE</SAP:Code>
        <SAP:Text language="EN">Response message header contains the value 00000000000000000000000000000000 in element MessageId instead of the expected value 4962B2EDB60A003BE1008000A2844D1A</SAP:Text>
      </SAP:ErrorHeader>

    Ultimate testing tool for services is soapUI (Freeware)
    http://www.soapui.org/
    If you can invoke your service from soapUI and you receive a response, then PeopleSoft is working fine and the request handling in the calling system is incorrect.
    Try downloading soapUI and try invoking your service (not that a fan of SendMaster).
    Hakan

  • How to show/print waiting message when system is serving pdf to browser

    Hi,
    does anybody know how to print/show "please wait for your request to be completed..." message when they try to click GeneratePdf button for example
    they way i do serving pdf to the browser is as below
    response.reset();
    response.setContentLength(contentLength);
    response.setContentType("application/pdf");
    response.setHeader("Content-disposition", "inline; filename=\""System.currentTimeMillis()+".pdf"+ "\"");
    output = new BufferedOutputStream(response.getOutputStream());
    while (contentLength-- > 0) {
    output.write(input.read());
    output.flush();and this is what was written in my popup jsp ( when user click GeneratePdf , the application will process it and at the end serve pdf file to the user using popup window )
    <body> <h1>Please Wait for your request to be completed...........</h1> </body> </html>
    <%
    boolean redirect=false;
    try{
    PdfDispatcher.dispatchApplication(response,session);
    }catch(Throwable t){
    System.out.println("Application Dispatcher Exception ... "+t.getMessage());
    System.out.println("Continue as per normal....");
    redirect = true; // will redirect to other jsp output
    if(redirect){
    //go to other jsp
    }The problem is my message above never got printed to the page ( i guess because the browser thinks that the response has not been completed )
    by the time the response has been completed the whole page will be cover in pdf document
    The reason i want to do this because my user complaining that they see blank page for long time when the system is slow to generate/server pdf to them.
    and it would be better to show some "waiting message" when the system is processing the application and server pdf at the end of the operations.
    anybody know how to workaround this?
    Thanks

    just_a_kid83 wrote:
    does anybody know how to print/show "please wait for your request to be completed..." message when they try to click GeneratePdf button for exampleUse JavaScript+DOM. Add a <div> somewhere in the page where the message should be displayed and put the message and an animated 'loading' gif in it. Hide the <div> using the CSS 'display' property which is set to 'none'. Then add an onclick event to the button/link which downloads the PDF file which gets the <div> element by its ID and set its 'display' property to 'block'.

  • Response Message Mapping payload is empty

    Hi,
    I have synchronous interface using webservice call from ECC . I get the response with empty payload. I checked in PI 7.4, SXMB_MONI step in the Response Message Mapping is showing empty payload. Any inputs is greatly appreciated.
    Thanks
    Misha.

    Hi ,
    As above said first have a word with your receiver system counterpart .Check with them on whether they received request payload from PI ? and whether they have sent any response to PI? .
    You will get clarity on the issue.More over if you want to check the sync scenario you can do so by using soap ui mock service.
    Regards
    Venkat

  • SOAP: response message contains an error

    Hi,
    I send a message by PI to a service and I get the following message:
    SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: No such operation SETCOMPANYFIELDVALUERequest
    The scenario that I use is a RFC --> PI --> SOAP. The WSDL looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="urn:DefaultNamespace" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:DefaultNamespace" xmlns:intf="urn:DefaultNamespace" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:message name="SETCOMPANYFIELDVALUERequest">
      <wsdl:part name="COMPANYNAME1" type="xsd:string"/>
      <wsdl:part name="COMPANYNAME2" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="SETCOMPANYFIELDVALUEResponse">
      <wsdl:part name="SETCOMPANYFIELDVALUEReturn" type="xsd:anyType"/>
    </wsdl:message>
    <wsdl:portType name="AppLSDataSync">
      <wsdl:operation name="SETCOMPANYFIELDVALUE" parameterOrder="COMPANYNAME1 COMPANYNAME2">
       <wsdl:input message="intf:SETCOMPANYFIELDVALUERequest" name="SETCOMPANYFIELDVALUERequest"/>
       <wsdl:output message="intf:SETCOMPANYFIELDVALUEResponse" name="SETCOMPANYFIELDVALUEResponse"/>
      </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="DominoSoapBinding" type="intf:AppLSDataSync">
      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="SETCOMPANYFIELDVALUE">
       <wsdlsoap:operation soapAction="SETCOMPANYFIELDVALUE"/>
       <wsdl:input name="SETCOMPANYFIELDVALUERequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
       </wsdl:input>
       <wsdl:output name="SETCOMPANYFIELDVALUEResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
       </wsdl:output>
      </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="AppLSDataSyncService">
      <wsdl:port binding="intf:DominoSoapBinding" name="Domino">
       <wsdlsoap:address location="http://localhost"/>
      </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    When I send the same message using the WebServiceNavigator everything is working fine.
    The WSDL that I have imported into PI is the same that is available that I use calling by the WSNavigator.
    Anyone an Idea?
    Thanks Ron

    HI
    WSDL is having some problem
    When you imported this wsdl how many messages does it show. Check weather it is having SETCOMPANYFIELDVALUE request and response. you can check the messages carried in a wsdl using the messages tab in external definition.
    Thanks

  • How to save the Response message from SOAP adapter

    Dear Friends,
       I am sending the FIle details webserver.here sender is FILE adapter and receiver is SOAP adapter.
    FIle to SOAP working successfully, but I need response from SOAP.
    Sender QoS is BE, so the response is coming to XI, but in SXMB_MONI it is showing DO YOU WANT TO SAVE IT or DISPLAY IT.
    my requirement is response message is directly updated in XI system.
    For response Can I use BPM or which method I need to use.
    Please suggest me  how to do the resonse message(SOAP to FILE).
    Regards,
    Shalini Shah.

    Sender QoS is BE,
    File adapter does not support sync communication. Therefore the scenario won't work as it is.
    What are you planning to do with the response? If you want to process is further, then:
    1. One way without BPM would be use of adapter module.
    File - RFC - File without a BPM - Possible from SP 19.
    2. Or you may use BPM with Async Sync bridge
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    Prateek

  • Synchronous Receiver JDBC adapter--response message empty

    My scenario is ABAP Proxt to JDBC synchronous case where I am calling a stored procedure "GetEmployer" to get the relevent data. There is no input data to the stored procedure, just need to call the stored procedure to return the records.
    In the SXMB_MONI I am getting the response message as empty with no records.
    In the communication channel monitoring it is showing successfully processed.
    Request Message :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_IRIS_SELECT_JDBC_REQ xmlns:ns0="XXXX">         <STATEMENT>
    <GetEmployer ACTION="EXECUTE"></GetEmployerList>        </STATEMENT>                      </ns0:MT_IRIS_SELECT_JDBC_REQ>
    Response Message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_IRIS_SEL_PRXY_RES xmlns:ns0="XXXX"> <STATEMENT_response></STATEMENT_response> </ns0:MT_IRIS_SEL_PRXY_RES>

    Hi All,
              If I am trying to test the configuration in the ID I am getting the following error.
    Runtime error      Unable to read the payload from the     message object 
    <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
    <Trace level="2" type="T">......attachment XI_Context not found </Trace>
    <Trace level="3" type="T">Mapping is already determined in the interface determination </Trace>
    <Trace level="3" type="T">Object ID of Interface Mapping 35933EB051F13E60906107DF6862E093 </Trace>
    <Trace level="3" type="T">Version ID of Interface Mapping 640C5B80B54311DCABA9F7BB0A126A22 </Trace>
    <Trace level="1" type="T">Interface Mapping http://XXX/employer_list</Trace>
    <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_EMPLOYERLST_ </Trace>
    I am getting the success flag in SXMB_MONI but getting no records in the JDBC response message. It is not throwing any error and the interface is running successfully.
    Could you please suggest some solution for this.
    Thx in advance
    Ravijeet Das

  • No response message from web cache

    Hi,
    We are facing a strange and serious problem with our Oracle infrastructure. We have running a web application that uploads files to the database server. But we have found out that if we try to upload a ZIP file (in the application, uploading a ZIP file means that it uncompresses the ZIP file and copy the zipped files one by one to the database server, therefore this operation can take a while), it comes an error message of the type:
    No Response from Application Web Server
    We didn't find any especial configuration for a timeout in the application server and http server. We also checked the timeout for the web cache that we also use, and seems to be alright (very much longer that the time to crash). When using the application without going through the Web Cache (calling directly the application server), it works well!!! On the other hand, we thought in a relation between the size of the files and the effort of the application to process them and the "No response", but we have successfully uploaded other documents bigger than the ZIP file. When checking the LOG files of the Web Cache and the Apache and application server, we find the following:
    Webcache
    [06/Dec/2006:13:47:18 +0100] [internal 11396] [ecid: 20482077186490,0] unknown internal error
    [06/Dec/2006:13:47:19 +0100] [req-info] [ecid: 13486197309440,0] [client: 139.191.202.56] [host: odin.jrc.nl] [url:/doma/DocumentUploadFile]
    [06/Dec/2006:13:47:19 +0100] [warning 14013] [ecid: 13486197309440,0] Send request to origin server times out.
    [06/Dec/2006:13:47:19 +0100] [error 11364] [ecid: 13486197309440,0] Network error response is returned.
    [06/Dec/2006:13:47:19 +0100] [error 11385] [ecid: 13486197309440,0] The request fails because the service is unavailable.
    [06/Dec/2006:13:47:33 +0100] [req-info] [ecid: 20464897332666,0] [client: 139.191.207.213] [host: odin.jrc.nl:443] [url: /_oracle_http_server_webcache_static_.html]
    [06/Dec/2006:13:47:33 +0100] [internal 11396] [ecid: 20464897332666,0] unknown internal error
    [06/Dec/2006:13:47:48 +0100] [req-info] [ecid: 20447717478842,0] [client: 139.191.207.213] [host: odin.jrc.nl:443] [url: /_oracle_http_server_webcache_static_.html]
    [06/Dec/2006:13:47:48 +0100] [internal 11396] [ecid: 20447717478842,0] unknown internal error
    Apache
    [Wed Dec 6 13:47:19 2006] [error] [client 139.191.207.213] [ecid: 15272903704576,1] MOD_OC4J_0080: After calling Apache's ap_bwrite(), got an return value: -1 and the client could have aborted in the middle of receiving the chunk data.
    [Wed Dec 6 13:47:19 2006] [error] [client 139.191.207.213] [ecid: 15272903704576,1] MOD_OC4J_0058: Failed to handle response chunk data passed in from oc4j via ajp13.
    [Wed Dec 6 13:47:19 2006] [error] [client 139.191.207.213] [ecid: 15272903704576,1] MOD_OC4J_0035: After handling ajp13 response message, got an invalid value: -2.
    [Wed Dec 6 13:47:19 2006] [error] [client 139.191.207.213] [ecid: 15272903704576,1] MOD_OC4J_0121: Failed to service request with network worker: ODIN_HOME_15 and it is not recoverable.
    [Wed Dec 6 13:47:19 2006] [error] [client 139.191.207.213] [ecid: 15272903704576,1] MOD_OC4J_0013: Failed to call destination: ODIN_HOME's service() to service the request.
    [Wed Dec 6 13:47:20 2006] [error] [client 139.191.207.213] [ecid: 15187004358656,1] MOD_OC4J_0080: After calling Apache's ap_bwrite(), got an return value: -1 and the client could have aborted in the middle of receiving the chunk data.
    [Wed Dec 6 13:47:20 2006] [error] [client 139.191.207.213] [ecid: 15187004358656,1] MOD_OC4J_0058: Failed to handle response chunk data passed in from oc4j via ajp13.
    [Wed Dec 6 13:47:20 2006] [error] [client 139.191.207.213] [ecid: 15187004358656,1] MOD_OC4J_0035: After handling ajp13 response message, got an invalid value: -2.
    [Wed Dec 6 13:47:20 2006] [error] [client 139.191.207.213] [ecid: 15187004358656,1] MOD_OC4J_0121: Failed to service request with network worker: ODIN_HOME_15 and it is not recoverable.
    [Wed Dec 6 13:47:20 2006] [error] [client 139.191.207.213] [ecid: 15187004358656,1] MOD_OC4J_0013: Failed to call destination: ODIN_HOME's service() to service the request.
    ODIN_HOME/log/ODIN_HOME_default_island_1
    139.191.207.211 - - [06/Dec/2006:15:58:57 +0100] "GET /doma/DoMaBlobInterface.jsp HTTP/1.1" 200 3032
    139.191.207.211 - - [06/Dec/2006:15:59:03 +0100] "GET /doma/DoMaBlobInterface.jsp HTTP/1.1" 200 3032
    139.191.207.211 - - [06/Dec/2006:15:59:08 +0100] "GET /doma/DoMaBlobInterface.jsp HTTP/1.1" 200 3032
    139.191.207.211 - - [06/Dec/2006:15:59:13 +0100] "GET /doma/DoMaBlobInterface.jsp HTTP/1.1" 200 3032
    139.191.207.211 - - [06/Dec/2006:15:59:18 +0100] "GET /doma/DoMaBlobInterface.jsp HTTP/1.1" 200 3032
    139.191.207.211 - - [06/Dec/2006:15:59:23 +0100] "GET /doma/DoMaBlobInterface.jsp HTTP/1.1" 200 3032
    139.191.207.211 - - [06/Dec/2006:15:59:28 +0100] "GET /doma/DoMaBlobInterface.jsp HTTP/1.1" 200 3032
    139.191.207.211 - - [06/Dec/2006:15:59:33 +0100] "GET /doma/DoMaBlobInterface.jsp HTTP/1.1" 200 3032
    139.191.207.211 - - [06/Dec/2006:15:59:40 +0100] "GET /UserMgmt/home.jsp HTTP/1.1" 200 789
    Could it be that the Web Cache sent a request to the application server and because of an unknown reason, it received a response that made it to show the "No response" message. Or could it be that the Web Cache is sending request and not receiving any response from the application server, or that there is some timeout configuration that we didn't find??? Please, help!!!!
    Thanks in advance,
    Luis

    We found the core issues was with the number of database connections that were created during load testing. Refactoring the code to reuse the database connections fixed this issue.
    Thanks,
    Dom

  • Discovery response message header encapsulation failed

    Hey All,
    i get this from an AP any ideas why this may be happening?
    Last Error Occurred
    Failed to send Lwapp discovery response
    Last Error Occurred Reason
    Discovery response message header encapsulation failed
    Last Join Error Timestamp
    Sep 19 15:56:36.771
    running WLC version
    7.0.98.0

    This is what it tells me:
    flashfs[0]: 4 files, 2 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 7741440
    flashfs[0]: Bytes used: 1755648
    flashfs[0]: Bytes available: 5985792
    flashfs[0]: flashfs fsck took 9 seconds.
    Reading cookie from flash parameter block...done.
    Base ethernet MAC Address: 00:13:19:c8:f9:b6
    Initializing ethernet port 0...
    Reset ethernet port 0...
    Reset done!
    ethernet link up, 100 mbs, full-duplex
    Ethernet port 0 initialized: link is up
    Loading "flash:/c1200-rcvk9w8-mx/c1200-rcvk9w8-mx"...################################################################################################################################################################################
    File "flash:/c1200-rcvk9w8-mx/c1200-rcvk9w8-mx" uncompressed and installed, entry point: 0x3000
    executing...
                  Restricted Rights Legend
    Use, duplication, or disclosure by the Government is
    subject to restrictions as set forth in subparagraph
    (c) of the Commercial Computer Software - Restricted
    Rights clause at FAR sec. 52.227-19 and subparagraph
    (c) (1) (ii) of the Rights in Technical Data and Computer
    Software clause at DFARS sec. 252.227-7013.
               cisco Systems, Inc.
               170 West Tasman Drive
               San Jose, California 95134-1706
    Cisco IOS Software, C1200 Software (C1200-RCVK9W8-M), Version 12.3(7)JX9, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2007 by Cisco Systems, Inc.
    Compiled Tue 17-Jul-07 00:44 by tinhuang
    Image text-base: 0x00003000, data-base: 0x0033DA20
    Initializing flashfs...
    flashfs[1]: 4 files, 2 directories
    flashfs[1]: 0 orphaned files, 0 orphaned directories
    flashfs[1]: Total bytes: 7741440
    flashfs[1]: Bytes used: 1755648
    flashfs[1]: Bytes available: 5985792
    flashfs[1]: flashfs fsck took 2 seconds.
    flashfs[1]: Initialization complete....done Initializing flashfs.
    cisco AIR-AP1231G-A-K9     (PowerPC405GP) processor (revision B0) with 14838K/1536K bytes of memory.
    Processor board ID FTX0907J0E8
    PowerPC405GP CPU at 196Mhz, revision number 0x0145
    Last reset from power-on
    1 FastEthernet interface
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:13:19:C8:F9:B6
    Part Number                          : 73-8704-08
    PCA Assembly Number                  : 800-23211-09
    PCA Revision Number                  : A0
    PCB Serial Number                    : FOC09024TMB
    Top Assembly Part Number             : 800-23304-08
    Top Assembly Serial Number           : FTX0907J0E8
    Top Revision Number                  : A0
    Product/Model Number                 : AIR-AP1231G-A-K9
    Press RETURN to get started!
    *Mar  1 00:00:04.402: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C1200 Software (C1200-RCVK9W8-M), Version 12.3(7)JX9, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2007 by Cisco Systems, Inc.
    Compiled Tue 17-Jul-07 00:44 by tinhuang
    *Mar  1 00:00:05.380: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to up
    *Mar  1 00:00:06.380: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
    ap>
    ap>en
    ap#debug lwapp console cli
    LWAPP console CLI allow/disallow debugging is on
    ap#debug lwapp client event
    LWAPP Client EVENT display debugging is on
    ap#debug lwapp client error
    LWAPP Client ERROR display debugging is on
    ap#debug capwap client event
               ^
    % Invalid input detected at '^' marker.
    ap#debug capwap client error
               ^
    % Invalid input detected at '^' marker.
    ap#
    ap#
    ap#
    ap#
    *Mar  1 00:00:23.416: LWAPP_CLIENT_EVENT: lwapp_ip_address_change - ADDING IP 10.0.0.1, 255.255.255.0; resolvemethod 1, ip_dhcp_addr 0
    *Mar  1 00:00:23.419: LWAPP_CLIENT_EVENT: lwapp_set_ip_address - Seting Static IP 10.0.0.1        255.255.255.0   on FastEthernet0
    *Mar  1 00:00:23.419: LWAPP_CLIENT_EVENT: lwapp_set_ip_address - Seting Default Gateway IP to 10.0.0.2
    *Mar  1 00:00:23.425: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:00:23.425: %LWAPP-5-CHANGED: LWAPP changed state to DISCOVERY
    *Mar  1 00:00:23.431: LWAPP_CLIENT_EVENT: parse_lwapp_config: hostname AP0013.19c8.f9b6
    end
    *Mar  1 00:00:23.447: LWAPP_CLIENT_EVENT: lwapp_crypto_init_mic_keys_and_certs : MIC not present
    *Mar  1 00:00:23.453: LWAPP_CLIENT_EVENT: lwapp_crypto_init_ssc_keys_and_certs found key(1) label CISCO_IOS_SSC_Keys
    *Mar  1 00:00:23.458: LWAPP_CLIENT_EVENT: lwapp_crypto_init_ssc_keys_and_certs Certs Keylen 294
    *Mar  1 00:00:23.459: LWAPP_CLIENT_EVENT: lwapp_crypto_init_ssc_keys_and_certs Public Key Match Found CISCO_IOS_SSC_Keys
    *Mar  1 00:00:24.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:00:34.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:00:34.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:00:44.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:00:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:00:54.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:00:54.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:01:04.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:01:04.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:01:14.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:01:14.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:01:24.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:01:24.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:01:34.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:01:34.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:01:44.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:01:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:01:54.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:01:54.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:02:04.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:02:04.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:02:04.389: LWAPP_CLIENT_EVENT: lwapp_check_image_good: image is good now
    *Mar  1 00:02:14.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:02:14.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    AP0013.19c8.f9b6#
    *Mar  1 00:02:24.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:02:24.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:02:34.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:02:34.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:02:44.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:02:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:02:54.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:02:54.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:03:04.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:03:04.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:03:14.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:03:14.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:03:24.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:03:24.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:03:34.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:03:34.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:03:44.036: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:03:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:03:44.036: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:03:44.036: LWAPP_CLIENT_EVENT: spamStartDhcp - AP IP FALLBACK TO DHCP
    Translating "CISCO-LWAPP-CONTROLLER.org.org"...domain server (10.1.0.254)
    *Mar  1 00:03:53.074: LWAPP_CLIENT_EVENT: lwapp_ip_address_change - ADDING IP 10.0.1.254, 255.255.255.0; resolvemethod A, ip_dhcp_addr 1
    *Mar  1 00:03:53.181: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0 assigned DHCP address 10.0.1.254, mask 255.255.255.0, hostname AP0013.19c8.f9b6
    [OK]
    *Mar  1 00:03:53.181: LWAPP_CLIENT_EVENT: lwapp_ip_address_change - ADDING IP 10.0.1.254, 255.255.255.0; resolvemethod A, ip_dhcp_addr 1
    *Mar  1 00:03:54.057: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:03:54.057: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway found
    *Mar  1 00:03:54.183: LWAPP_CLIENT_EVENT: lwapp_name_lookup - add (0) 10.0.254.253
    *Mar  1 00:03:54.183: LWAPP_CLIENT_EVENT: lwapp_name_lookup - add (1) 10.0.254.254
    *Mar  1 00:04:04.057: LWAPP_CLIENT_EVENT: spamHandleDiscoveryTimer: Could not discover any MWAR
    *Mar  1 00:04:04.057: LWAPP_CLIENT_EVENT: spamResolveStaticGateway  - gateway NOT found
    *Mar  1 00:04:15.063: %LWAPP-5-CHANGED: LWAPP changed state to JOIN
    *Mar  1 00:04:20.063: LWAPP_CLIENT_ERROR_DEBUG: spamHandleJoinTimer: Did not recieve the Join response
    *Mar  1 00:04:20.063: LWAPP_CLIENT_ERROR_DEBUG: No more AP manager IP addresses remain.
    *Mar  1 00:04:20.063: %SYS-5-RELOAD: Reload requested by LWAPP CLIENT. Reload Reason: DID NOT GET JOIN RESPONSE.
    *Mar  1 00:04:20.064: %LWAPP-5-CHANGED: LWAPP changed state to DOWN
    And this is on the controller:
    (Cisco Controller) >show ap join stats summary 00:13:19:c8:f9:b6
    Is the AP currently connected to controller................ No
    Time at which the AP joined this controller last time...... Not applicable
    Type of error that occurred last........................... Failed to send Lwapp discovery response
    Reason for error that occurred last........................ Discovery response message header encapsulation failed
    Time at which the last join error occurred................. Nov 29 17:23:35.793
    (Cisco Controller) >show ap join stats detailed 00:13:19:c8:f9:b6
    Discovery phase statistics
    - Discovery requests received.............................. 97
    - Successful discovery responses sent...................... 94
    - Unsuccessful discovery request processing................ 100
    - Reason for last unsuccessful discovery attempt........... Discovery response message header encapsulation failed
    - Time at last successful discovery attempt................ Dec 03 20:07:22.259
    - Time at last unsuccessful discovery attempt.............. Nov 29 17:23:35.793
    Join phase statistics
    - Join requests received................................... 0
    - Successful join responses sent........................... 0
    - Unsuccessful join request processing..................... 0
    - Reason for last unsuccessful join attempt................ Not applicable
    - Time at last successful join attempt..................... Not applicable
    - Time at last unsuccessful join attempt................... Not applicable
    Configuration phase statistics
    - Configuration requests received.......................... 0
    - Successful configuration responses sent.................. 0
    - Unsuccessful configuration request processing............ 0
    - Reason for last unsuccessful configuration attempt....... Not applicable
    - Time at last successful configuration attempt............ Not applicable
    --More-- or (q)uit
    - Time at last unsuccessful configuration attempt.......... Not applicable
    Last AP message decryption failure details
    - Reason for last message decryption failure............... Not applicable
    Last AP disconnect details
    - Reason for last AP connection failure.................... Not applicable
    - Last AP disconnect reason................................ Not applicable
    Last join error summary
    - Type of error that occurred last......................... Failed to send Lwapp discovery response
    - Reason for error that occurred last...................... Discovery response message header encapsulation failed
    - Time at which the last join error occurred............... Nov 29 17:23:35.793
    AP disconnect details
    - Reason for last AP connection failure.................... Not applicable
                                                                               Ethernet Mac : 00:00:00:00:00:00  Ip Address : 10.0.1.254
    (Cisco Controller) >

  • HTTP Synchronous Response Message

    hi,
    I am getting the following response message in the SXMB_MONI.
    <?xml version="1.0" ?>
      <!DOCTYPE cXML (View Source for full doctype...)>
    - <cXML version="1.1.009" payloadID="20060517092932992.5555CCLyVQDdasNetXE0B+Yy5OeXUHc=443-71.c0a81cb9f70d2c060000180f@wmqa3" timestamp="2006-05-17T09:29:32-CDT">
    - <Response>
      <Status code="500" text="Error">The document received is not a cXML request or is unknown by the AribaSupplier OnRamp package.</Status>
      </Response>
      </cXML>
    To capture this error message as Response message what message types need to be defined/configured?
    Thanks,
    Kumar

    Dirk -
    I am currently using Integration Process.
    I am capturing system messages through an Exception error handler in the block step of Integration Processes.
    When i execute the scenario, i see an error in the workflow in the Block Step. It shows an Error which says "No Exception Defined for System Errors", though i have a Exception Branch in the Block step.
    Any clues why i am not able to capture the Exception errors and send it through email.
    Its failing at the Block step.
    More details on the scenario:
    1. Start
    2. Receive Step - Asynch - IDOC
    3. Block Step - with Exception name as "TimeOut"
    3.1 Exception Branch with exception handler as "Timeout"
    3.1.1 - Transform Step - to transform a Exception message(with just one field) to "Error" message (with 5 fields)
    3.1.2 - Send Step - send the "Error" message through email
    3.2 Deadline branch set to 1 minute
    3.3 Switch step
    3.3.1 Transformation step - to transform the IDOC to XML
    3.3.2 Send step - Synch - request xml and response xml defined in this step
    4. Switch Step
    4.1 - Transform step - transforms the idoc and xml response to the actual error
    4.2 - Send Step - sends the actual error to the email message using MAIL adapter.
    Any tips would be grateful.
    Thanks,
    Tirumal

  • How to replace server url to proxy url in OData Response

    Hello experts,
    i'm facing a problem with SAP gateway in combination with a proxy . We use a proxy to call SAP gateway from the Internet.
    So we make a http call to the proxy like: http://proxyserver:8000/sap/opu/odata/sap/testservice.
    But in the OData response in every href tag of the xml the url shows the internal server url like
    atom:link rel="self" href="http://internalserver:8000/sap/opu/odata/sap/testservice/$metadata"/>
    Especially in a senario when using a proxy we don't want to give the internet (external) user information about the inner infrastructure.
    Is there a posibillity to change the urls in the OData document to the url of the proxy?
    Many thanks
    Xiang

    Hi Xiang,
    Have you tried this configuration option using table HTTPURLLOC yet?
    URL Generation - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
    Best Regards,
    Andre

  • Firefox does not opens. It shows an alert message -"Your Firefox profile cannot be loaded. It may be missing or inaccessible."

    Firefox window does not opens. It shows an alert message -"Your Firefox profile cannot be loaded. It may be missing or inaccessible." I have deleted the processes in task manager and restarted Mozilla.Even then it does not opens. Pls get me a solution.

    Make a new profile ('[[managing profiles]]'); if the old profile directory is still there, just copy-and-paste its contents into the new profile directory.

Maybe you are looking for