HTTP return code: 500

I'm trying to send SOAP message to MS Provider
(to Analysis Services) but having response code 500.
What am i doing wrong?
Here's the sources:
SOAPConnectionFactory scFactory = SOAPConnectionFactory.newInstance();
SOAPConnection con = scFactory.createConnection();
               MessageFactory factory = MessageFactory.newInstance();
               SOAPMessage message = factory.createMessage();
               SOAPPart soapPart = message.getSOAPPart();
               SOAPEnvelope envelope = soapPart.getEnvelope();
               SOAPHeader header = envelope.getHeader();
               SOAPBody body = envelope.getBody();
               header.detachNode();
               envelope.addNamespaceDeclaration( "xsi", "http://www.w3.org/2001/XMLSchema-instance" );
               envelope.addNamespaceDeclaration( "xsd", "http://www.w3.org/2001/XMLSchema" );
               Name actionName = envelope.createName("Execute", "", "urn:schemas-microsoft-com:xml-analysis");
               SOAPBodyElement action = body.addBodyElement( actionName );
               action.setEncodingStyle( "http://schemas.xmlsoap.org/soap/encoding/" );
                    Name commandName = envelope.createName( "Command" );
                    SOAPElement command = action.addChildElement( commandName );
                         Name statementName = envelope.createName( "Statement" );
                         SOAPElement statement = command.addChildElement( statementName );
                              statement.addTextNode( "SELECT {[Measures].members * [1997].children} ON COLUMNS, {[Store].[usa].children * [Position].[All Position].children} DIMENSION PROPERTIES [Store].[Store SQFT] ON ROWS FROM [Hr]" );
                    Name propName = envelope.createName( "Properties" );
                    SOAPElement prop = action.addChildElement( propName );
                         Name propListName = envelope.createName( "PropertyList" );
                         SOAPElement propList = prop.addChildElement( propListName );
                              Name dataSourceInfoName = envelope.createName( "DataSourceInfo" );
                              SOAPElement dataSourceInfo = propList.addChildElement( dataSourceInfoName );
                                   dataSourceInfo.addTextNode( "Provider=MSOLAP;Data Source=local;" );
                              Name catalogName = envelope.createName( "Catalog" );
                              SOAPElement catalog = propList.addChildElement( catalogName );
                                   catalog.addTextNode( "Foodmart 2000" );
                              Name formatName = envelope.createName( "Format" );
                              SOAPElement format = propList.addChildElement( formatName );
                                   format.addTextNode( "Multidimensional" );
                              Name axisFormatName = envelope.createName( "AxisFormat" );
                              SOAPElement axisFormat = propList.addChildElement( axisFormatName );
                                   axisFormat.addTextNode( "ClusterFormat" );
                              Name contentName = envelope.createName( "Content" );
                              SOAPElement content = propList.addChildElement( contentName );
                                   content.addTextNode( "Data" );
               message.writeTo( System.out );
               URLEndpoint endpoint = new URLEndpoint( "http://epmw012/xmla/msxisapi.dll");
               SOAPMessage response = con.call( message, endpoint);
               response.writeTo( System.out );
As far as I know this forms a valid XML for analysis.

I am too working on the JSP SOAP and XMLA Technology. can u send me the details or links where i can find the details.
Thanks in advance
Sundar M S

Similar Messages

  • Received return code 500 ( Error during conversion of XI message )

    Hello Experts,
    I am configuring the WSRM for SD in SAP. I have only configured services CreditWorthinessQuery_Out and CreditWorthinessQuery_In on soamanager to carry out credit checks.
    while i am creating sales order i am getting below error.
    Received return code 500 ( Error during conversion of XI message )
    In debug i checked the string of error it showed me below string :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">#<SOAP:Hea
    der>#</SOAP:Header>#<SOAP:Body>#<SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.o
    rg/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Error during c
    onversion of XI message</faultstring><faultactor>http://sap.com/xi/XI/Message/30
    </faultactor><detail><SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.co
    m/xi/XI/Message/30"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="PARSE
    R">UNEXPECTED_VALUE</SAP:Code><SAP:P1>Main/@versionMajor</SAP:P1><SAP:P2>000</SA
    P:P2><SAP:P3>003</SAP:P3><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMess
    age namespace=""/><SAP:Stack>XML tag Main/@versionMajor has incorrect value 000;
    expected value is 003##</SAP:Stack></SAP:Error></detail></SOAP:Fault>#</SOAP:Bo
    dy>#</SOAP:Envelope>#
    Does anyone have any idea about this? I am not integrating with PI/XI system.

    Hi
    Can you check this out?
    Transaction SXMB_ADM  Integration Engine Configuration
    For an application system you have to maintain the role of the business system as an application system. Set the corresponding Integration Server as an HTTP destination (for example, dest://INTEGRATION_SERVER). Create the destination in transaction SM59 and set the type to HTTP Connections to R/3 System. Test the connection by using the Connection Test button; you should get HTTP 500 u2013 Empty HTTP Request received, because no u201Ereal‟ XML document is sent during this test.
    A HTTP return code 500 (Internal Server Error) is OK.
    Regards
    Pothana

  • Is there a way to direct requests based on HTTP return-code checking?

    I'd like to implement a policy based on return-code. The algorithm is as below,
    If HTTP return-code == 500 to 600
    serverfarm1
    else
    serverfarm2
    We have a CSM V3.2. Can someone tell me if this is doable? If yes, would you please tell me how.
    Appreciation, Q.Xie

    The solution I suggested is still what I recommend.
    What you have to do is split your serverfarm in multiples instances. One for HTTP and another one for the rest of your applications. Or you could do one for each application.
    The serverfarm for HTTP will have the HTTP probe and will go down when the response is 500-600.
    The other serverfarm(s) will not use the same HTTP probe and should not go down based on the response code.
    ie:
    serverfarm WEB
    real 10.10.10.10
    ins
    real 20.20.20.20
    ins
    probe http
    serverm ALL
    real 10.10.10.10
    ins
    real 20.20.20.20
    ins
    no probe
    vserver web
    vip 1.1.1.1 tcp 80
    serverfarm WEB backup WEB_B
    vserver all
    vip 1.1.1.1 any
    serverfarm ALL
    Hope this helps.
    Gilles.
    Thanks for rating this answer.

  • Windows Azure Pack - Server returned HTTP response code: 500 error while accessing the public tenant API

    Hi,
    We are facing the following error while trying to access the given Windows Azure Pack Public tenant API to query the virtual machines list along with network adaper details - 
    java.io.IOException: Server returned HTTP response code: 500 for URL: https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$expand=VirtualNetworkAdapters&$top=10000&$skip=0
    The response is proper when we access the following URL - 
    https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines
    Only on adding the $expand=VirtualNetworkAdapters, url parameter we are getting the above error.
    Where can we check for the error logs on the Azure Pack server ? We checked for the logs using Windows Event Viewer but did not find any for the public tenant API.
    What should be the cause for such an error and how can we fix this to get the proper data?
    Thanks in advance.

    Yes, we tried this, $top=10&$skip=0 works for the following url
    https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$top=10&$skip=0
    It is only when we add $expand=VirtualNetworkAdapters,
    the server returns the mentioned error response - 
    URL for which the server returns the 500 error -
    https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$expand=VirtualNetworkAdapters&$top=10&$skip=0
    Can
    you point to the error logs for Windows Azure Pack and SPF ?

  • .and suddenly java.io.IOException: Server returned HTTP response code: 500

    I have this code for a long time and it always works:
         URL url = new URL("http://www.infoamistades.net/load.do");          
              URLConnection urlConnection = null;
              urlConnection = url.openConnection();
              urlConnection.setRequestProperty("Content-Type","text/html; charset=utf-8");
    urlConnection.setRequestProperty("Accept-Charset","utf-8");
    BufferedReader bin = new BufferedReader(new InputStreamReader(urlConnection.getInputStream(),"utf-8"));
    but....suddenly I always have the java.io.IOException: Server returned HTTP response code: 500 (?!?!?)
    using this URL works properly
    URL url = new URL("http://www.infoamistades.net/");     
    but now it doesn't works with URL url = new URL("http://www.infoamistades.net/load.do");     
    and putting thia addrees to the browser it works, of course..
    no changes at the server, not firewalls.. (?!?!)
    thanks,

    Hi,
    Actually I am also having exactly same problem that you mentioned, I am new to the world of servlets. I could not get what you mean by "put variable in the request" Please tell me exactly what to do to solve this problem.
    Someone please help.........

  • Test web service published returns Error code: InternalError, Http status code: 500

    Further invastigating ther error mentioned here: 
    https://social.msdn.microsoft.com/Forums/azure/en-US/14afa50f-287d-4158-852a-c9532f9f30eb/test-published-web-service-experiment-error-with-status-code-400?forum=MachineLearning
    I have made an even simpler experiment with two python scirpt modules. The experiment again runs fine in Azure ML Studio but fails in the web service test with the error
    Error code: InternalError, Http status code: 500, Request id: 53eef674-190a-4f63-bdc6-a072a45a9c72, Timestamp: Fri, 24 Apr 2015 09:30:37 GMT
    The experiment consists only of two python script modules. The code of the first module:
    import numpy as np
    import pandas as pd
    def azureml_main(dataframe1 = None, dataframe2 = None):
        dataframe1.loc[1] = ["U5000","resB",np.nan]
        dataframe1.loc[2] = ["U5000","resC",2]
        dataframe1.loc[3] = ["U5000","resD",2]
        dataframe1.loc[4] = ["U5000","resE",np.nan]
        dataframe1.loc[5] = ["U6000","resA",np.nan]
        dataframe1.loc[6] = ["U6000","resB",1]
        dataframe1.loc[7] = ["U6000","resC",2]
        dataframe1.loc[8] = ["U6000","resD",np.nan]
        dataframe1.loc[9] = ["U6000","resE",1]
        dataframe1['hasRated'] = pd.Series(1, index=dataframe1.index).astype(bool)
        df_new = pd.DataFrame()
        df_new = pd.DataFrame(dataframe1[["restaurant","rating","hasRated"]])
        return df_new,
    The code of the second module that takes as input the result of the first module:
    def azureml_main(dataframe1 = None, dataframe2 = None):
    return dataframe1,
    A url of a screenshot taken from the experiment.
    http://i.imgur.com/4nrbneA.png
    Please respond. Again I am using a free workspace of Azure ML Studio.
    Thank you very much

    Thank you for your quick reply.
    I hope you will be able to resolve this issue soon.
    asavvopoulos

  • Segmentation Error : Server returned HTTP response code: 500 for URL

    Hi,
    when we do customer segmentation in Applet Java Builder, we create a target group using 2 or more criterion, then it prompts us an error "Communication Error" - Server returned HTTP response code: 500 for URL: http//xxxxxxxxxxx/bc/bsp/sap/CRM_MKTTG_SEGAP/communication.do
    we're in CRM 7.0 SP 6.
    What we have done
    - activated the service CRM_MKTTG_SEGAP
    - implement sap note 1481289, 1359890, 1161753
    any info is really appreciated.
    Thanks
    JD

    HI ,
    Communication error occurs because of two active versions of segment builder jar files are appearing , deletion of older version resolves this issue .
    Go to SE80 u2013 Select the BSP Application - CRM_MKTTG_SEGAP and check segmentbuilder.jar Segment Builder Applet under MIME folder and check the size and delete the older version .
    Regards,
    Satish Bondu

  • Server returned HTTP response code: 500

    Hi,
    First time in here, so please be patient...
    This is the error message I get on the Java Console.
    I suspect that the problem is related to the DB. (MYSQL)
    Can someone elaborate more on this error message? It is the first time I encounter such an error.
    Any help will be appreciated.
    2008-06-11 11:55:21,312  Chart - createLowerChart(int) - end
    2008-06-11 11:55:21,312  Chart - createLowerCharts() - end
    2008-06-11 11:55:21,328  Chart - populateToolBar(JToolBar) - start
    2008-06-11 11:55:21,359  AxisZoomHistory - addHistoryListener(HistoryListener) - start
    2008-06-11 11:55:21,359  AxisZoomHistory - addHistoryListener(HistoryListener) - end
    2008-06-11 11:55:21,359  BackwardAction - computeEnabled() - start
    2008-06-11 11:55:21,359  BackwardAction - computeEnabled() - end
    2008-06-11 11:55:21,375  AxisZoomHistory - addHistoryListener(HistoryListener) - start
    2008-06-11 11:55:21,375  AxisZoomHistory - addHistoryListener(HistoryListener) - end
    2008-06-11 11:55:21,437  Chart - populateToolBar(JToolBar) - end
    2008-06-11 11:55:21,609  Chart - installDefaultInteractors() - start
    2008-06-11 11:55:21,609  Chart - installDefaultInteractors() - end
    2008-06-11 11:55:21,609  Chart - loadPatient(JFrame) - start
    2008-06-11 11:55:21,625  Chart - startLoading() - start
    2008-06-11 11:55:21,625  Chart - startLoading() - end
    network: Connecting https://xxx.xxx.xxx.xxx/patientfile/PatientFile with proxy=DIRECT
    start : calling patient servlet 16
    end : called patient servlet 16
    network: Connecting https://xxx.xxx.xxx.xxx/patientfile/PatientFile with cookie "__utma=212142292.1094118687.1212604421.1213197694.1213199701.38; __utmz=212142292.1212604421.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmb=212142292; appname=e4095ce3ceadc7b3d8900bd7ba07113c; __utmc=212142292"
    java.io.IOException: Server returned HTTP response code: 500 for URL: https://xxx.xxx.xxx.xxx/patientfile/PatientFile
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at utility.ServletConnection.GetPatientFile(ServletConnection.java:128)
         at graphModule.Chart.loadPatient(Chart.java:1849)
         at graphModule.Chart.init(Chart.java:481)
         at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
         at java.util.Vector.get(Unknown Source)
         at graphModule.Chart.loadPatient(Chart.java:1856)
         at graphModule.Chart.init(Chart.java:481)
         at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
         at java.util.Vector.get(Unknown Source)
         at graphModule.Chart.loadPatient(Chart.java:1856)
         at graphModule.Chart.init(Chart.java:481)
         at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    ...

    Why do you think this an appropriate forum to discuss a PHP and/or Apache configuration error?

  • Server returned HTTP response code: 500.. i need help

    i have this applet that communicates with a servlet.. when the applet connects to the servlet, i get the Server returned HTTP response code: 500 error.. when i am testing in my own pc, everything is fine.. when i tried deploying it in a server, the error occurs.. i do not have any idea what is wrong.. please help

    sir, what do you mean by trace?
    here is what i got from the java console..
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://mental_boi.s46.eatj.com/myServlet/loadMap?action=load&fileName=http://mental_boi.s46.eatj.com/CityNavigator/mapSpain.svg
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at edu.citynavigator.map.editor.MapEditor.loadMap(MapEditor.java:685)
         at edu.citynavigator.map.editor.MapEditor.init(MapEditor.java:130)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at java.io.StringReader.<init>(Unknown Source)
         at edu.citynavigator.map.editor.MapEditor.stringToSVG(MapEditor.java:703)
         at edu.citynavigator.map.editor.MapEditor.init(MapEditor.java:131)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    and does the applet have to be signed?
    Message was edited by:
    hardcoder

  • Error:unknown error has occured;server returned http response code :500

    Hi,
       I deployed one custom action block on 12.0 server.
       It creates a pdf doc and saves it under c:\sample on MII server.
       But when I run the action block in  a trax, an error was logged: unknown error has occurred; server returned http response code :500 <server URL>
    Need immediate help on this.
    Thanks

    Does the failure occur within the action, and if so can you identify where? It is always a good idea to put some logging at the debug level in your actions to help identify exactly where a failure is occuring.

  • Java.io.IOException: Server returned HTTP response code: 500

    Hi,
    I am connecting to a servlet from an applet to send and receive data using the following code.
    try
    URL servletURL = new URL("http://www.progressivecoding.com/servlet/gatesqlang");
                   URLConnection servletConnection = null;
                   URLConnection servletConnection = servletURL.openConnection();
                   servletConnection.setDoOutput(true);
                   servletConnection.setUseCaches(false);
                   PrintStream out = new PrintStream(servletConnection.getOutputStream());
                   out.println("hhd8836gh828dhhskjdhn38847gosf747");
                   out.close();
                   InputStream in = servletConnection.getInputStream();
                   StringBuffer response = new StringBuffer();
                   int chr;
                   while ((chr=in.read())!=-1)
                        response.append((char) chr);
                   in.close();
                   return response.toString();
              catch (IOException e)
              e.printStackTrace();
              tfTxtFile.setText(e.toString());
              return "An error occurred: " + e.toString();
    Everything was working well and fine. All of a sudden without any change of code. It began to return this error to applet
    An error occurred: java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.progressivecoding.com/servlet/gatesqlang
    But I am able to access the same URL from a browser.
    Someone please tell me what could be the problem

    hi, that error got solved, the SessID i was receiving in that code had some leading or trailing white spaces. so SessID = SessID.trim() did the job.
    But i have a question. This program workd fine when i compile and run from my local system. But when i port this on to the oracle server (JAVA_TOP) and access this from a JSP, then the program performs very un-reliably.
    The first data transfer works fine, i get the SessID, when i pass that SessID along with the DTSSessionID to the server, the server says that i doesn't recognise my SessID, and throws a client.Authentication Error.
    So there goes the parsing out of the window for the data in the second iteration.

  • Java.io.IOException: Server returned HTTP response code: 500 for URL:

    Hi,
    I am using java.net.URLConnection to invoke servlet which uses oracle.xml.sql.dml.OracleXMLSave for dml operations.
    I am facing below exception.
    09/05/26 17:47:50 java.io.IOException: Server returned HTTP response code: 500 for URL: http://xxx.com/servlets/com.xxx.qu.XMLDocPostOracleInsert
    09/05/26 17:47:50 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpConnection.java:)
    09/05/26 17:47:50 at com.xxx.util.http.HTTPRequester.makePostRequest(HTTPRequester.java:)
    09/05/26 17:47:50 at com.xxx.qu.PostReceiver.doPost(PostReceiver.java:145)
    09/05/26 17:47:50 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    09/05/26 17:47:50 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    09/05/26 17:47:50 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
    09/05/26 17:47:50 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    09/05/26 17:47:50 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    09/05/26 17:47:50 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    09/05/26 17:47:50 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    09/05/26 17:47:50 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    09/05/26 17:47:50 at java.lang.Thread.run(Thread.java:534)
    The oraclexmlsave operations are with in try-catch block as shown below, but its not getting caught there(Donnno Whyy????).Instead its giving
    exception at HttpURLConnection.getInputStream
    try{
    System.out.println("entered try :1");
    String Query="SELECT * from global_name";
    Statement CntStmt=con.createStatement();
    ResultSet rsEmailAlertQuery=CntStmt.executeQuery(Query);
    while(rsEmailAlertQuery.next()){
    System.out.println(rsEmailAlertQuery.getString(1));
    OracleXMLSave oxs = new OracleXMLSave(con,insertObject);
    System.out.println("MI B: ");
    oxs.setRowTag("row");
    oxs.setIgnoreCase(true);
    int rowsInserted = oxs.insertXML(xd);
    System.out.println("MI C: ");
    out.println("<success>TRUE</success>");
    con.commit();
    System.out.println("MI D: ");
    catch(OracleXMLSQLException e){
    System.out.println("OracleXMLSQLException");
    e.printStackTrace();
    catch(SQLException e){
    System.out.println("SQLException");
    e.printStackTrace();
    catch(Exception e){
    System.out.println("Exception");
    e.printStackTrace();
    Normal jdbc queries(rsEmailAlertQuery) are working properly.The problem is only with OracleXMLSave.
    Any help would be greatfull.
    Edited by: suryaraj on 29-May-2009 06:45

    Hi,
    May be you can get the description of the error on the server log of the server running on ip:url
    -Priyanka

  • HTTP Response code 500 : Delivery Exception

    Hello ,
    i have following scenario WS(Client) <--> RFC. I am getting the following error :
    Response code 500: File couldnot be posted.
    Here are RWB data entries :
    2006-03-13 09:45:52       Success       SOAP: request message leaving the adapter (call)
    2006-03-13 09:45:52      Success      Application attempting to send an XI message synchronously using connection AFW.
    2006-03-13 09:45:52      Success      Trying to put the message into the call queue.
    2006-03-13 09:45:52      Success      Message successfully put into the queue.
    2006-03-13 09:45:52      Success      The message was successfully retrieved from the call queue.
    2006-03-13 09:45:52      Success      The message status set to DLNG.
    2006-03-13 09:46:11      Error      Returning synchronous error notification to calling application: Received HTTP response code 500..
    2006-03-13 09:46:11      Error      Transmitting the message using connection http://<XiServer>:8000/sap/xi/engine?type=entry failed, due to: Received HTTP response code 500..
    //i changed here server name for internal reasons//
    2006-03-13 09:46:11      Error      The message status set to FAIL.
    2006-03-13 09:46:11      Error      Returning to application. Exception: Received HTTP response code 500.
    2006-03-13 09:46:11      Error      SOAP: call failed: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500.
    I did all the things i could do , tested soap service working fine, changed settings in sxmb_adm as well
    Please suggest,
    Vara

    thanks sam,
    Well i have the following error message in soap envelope:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>failed to call the adapter engine</faultstring>
                   <detail>
                        <s:SystemError
    xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>DeliveryException</code>
                             <text><![CDATA[
    Please suggest :

  • Connection AFW failed, due to: Received HTTP response code 500

    Hi,
    I have tried to develop a file to file scenario in XI 3.0. The Sendor File adapter is reading the file but the message is not getting transfered to Integration engine.
    The audit log for the message is as follows:
    2005-05-07 04:10:24 Success Channel FileSendor: Send binary file "/tmp/xi_input.dat". Size 324 with QoS EO
    2005-05-07 04:10:24 Success Application attempting to send an XI message asynchronously using connection AFW.
    2005-05-07 04:10:24 Success Trying to put the message into the send queue.
    2005-05-07 04:10:24 Success Message successfully put into the queue.
    2005-05-07 04:10:24 Success The application sent the message asynchronously using connection AFW. Returning to application.
    2005-05-07 04:10:24 Success Confirmation mode test found. File will be resent next time
    2005-05-07 04:10:24 Success The message was successfully retrieved from the send queue.
    2005-05-07 04:10:24 Success The message status set to DLNG.
    2005-05-07 04:10:24 Error Transmitting the message to endpoint http://nadcp517:8020/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 500..
    Any suggestion...

    hi
    This problem comes due to the post installation steps might be at the time of post installation some wrong might be done.
    step1 : In sxmb_adm configure the integration server by giving the path as http://<host>:<abapport>/sap/xi/engine?type=entry
    step 2 : Check ur business system created at the time of post installation there u need to main the path as it as above.
    Reward points if useful,
    Regards,
    Srinivas.D

  • File- XI- RFC (Error: Received HTTP response code 500..)

    Hi,
    I am working on File->XI->RFC  scenario, getting Processed Successfully status in "SXI_MONITOR".
    But Data is not posted in SAP R/3. I check   <b>Runtime Workbench  </b> Getting following Error in one step.
    Can any one help me in analyzing the error.....??????
    2006-06-09 14:36:32 Success output 1149888992513 Channel WEBMETHOD_SENDER_SOAPFMTEST: Send binary file "/usr/sap/transx42/data/xi_input.xml". Size 175 with QoS EO
    2006-06-09 14:36:38 Success output 1149888998592 Application attempting to send an XI message asynchronously using connection AFW.
    2006-06-09 14:36:39 Success output 1149888999757 Trying to put the message into the send queue.
    2006-06-09 14:36:40 Success output 1149889000823 Message successfully put into the queue.
    2006-06-09 14:36:40 Success output 1149889000824 The application sent the message asynchronously using connection AFW. Returning to application.
    2006-06-09 14:36:41 Success SAPEngine_System_Thread[impl:5]_12 1149889001577 The message was successfully retrieved from the send queue.
    2006-06-09 14:36:41 Success output 1149889001591 File "/usr/sap/transx42/data/xi_input.xml" deleted after processing
    2006-06-09 14:36:41 Success SAPEngine_System_Thread[impl:5]_12 1149889001745 The message status set to DLNG.
    <b>2006-06-09 14:37:47 Error SAPEngine_System_Thread[impl:5]_12 1149889067522 Transmitting the message to endpoint http://SAPR3001.bently.com:8042/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 500..</b>
    2006-06-09 14:37:47 Success SAPEngine_System_Thread[impl:5]_12 1149889067585 The asynchronous message was successfully scheduled to be delivered at Fri Jun 09 14:42:47 PDT 2006.
    2006-06-09 14:37:47 Success SAPEngine_System_Thread[impl:5]_12 1149889067695 The message status set to WAIT.
    2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367587 Retrying to send message. Retry: 1
    2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367587 The message was successfully retrieved from the send queue.
    2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367643 The message status set to DLNG.
    2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368435 The message was successfully transmitted to endpoint http://SAPR3001.bently.com:8042/sap/xi/engine?type=entry using connection AFW.
    2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368471 The message status set to DLVD.
    2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368472 The message was successfully delivered.
    Thanks & Regards

    Hi Umesh,
    I think, the reason is because of huge number messages ..
    Also just go to RFC adapter, activate the adapter,refresh the cache and try it..
    following guide will help you to solve problem~
    https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
    Just refresh the cache-The following guide will help you on that~
    https://websmp101.sap-ag.de/~sapidb/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Refer these SAP notes- 807000,803145
    (some hints)
    Regards,
    Moorthy

Maybe you are looking for

  • What cables do I need to connect my MBA to a TV?

    I would like to connect my Macbook Air to a new 47" Vizio TV.  It is a 1080p, and has several open HDMI ports.  Will a Mini Display to HDMI adapter  send video and audio?

  • Can I still trade my iPhone 4 for $150 if it's been opened?

    Ok, so a couple weeks back I took my iPhone 4 to the the Apple store because my power button wasn't working right. They told me my phone no longer was under warranty which I guess was fine and I would have to pay $150 along with my phone for another

  • Compile Stored Procedure using JDBC ?

    I am using JDBC thin driver and able to create stored procedure without any problem. But if the stored procedure is invalid, it won't throw SQLException during creation. Is there any way that I can compile the stored procedure and catch the semantic

  • Drag and Drop and java.io.NotSerializableException

    I have been implementing some code to essentially allow me to drag and drop from one JTree to another. The requirement was to be able to drag multiple nodes at one time and drop them on the other JTree in the order selected. I was getting a java.io.N

  • Bottom Line: Does iWeb '08 Work?

    Like many others, I bought and immediately installed 08 the day it came out. I quickly converted my earlier site to 08, and then everything went downhill. It got to the point where everything I wanted to do needed some sort of workaround. I grew frus