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

Similar Messages

  • Received HTTP response code 500 : Error during conversion of XI message

    hi
    Facing the error , "Received HTTP response code 500 : Error during conversion of XI message"
    This is the fist time i am configuring the sender soap ( Axis Framework in the SOAP Adapter) (Quality of service Best effort) communication channel and i am getting the above error did any body face this error.
    01.09.2011 12:02:32     Information     The message status was set to DLNG.
    01.09.2011 12:02:32     Error     SOAPFault received from Integration Server. ErrorCode/Category: XIServer/ATTRIBUTE_INITIAL; Params: Manifest cid:6D90482BF678436D75928FC8B9930519; AdditionalText: null; ApplicationFaultMessage: null; ErrorStack: Attribute Manifest cid:6D90482BF678436D75928FC8B9930519 is initial
    01.09.2011 12:02:32     Error     Transmitting the message using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Error during conversion of XI message.
    regards
    sandeep
    Edited by: pendyalas on Sep 1, 2011 12:20 PM

    I found a link with respect to similar error , sap note 1522630 has been used to resolve this error.
    i will try and see if it works.
    AXIS Sender Adapter Failure after upgrade to PI 7.11 SP06
    regards
    sandeep

  • Http-Status:  500 Error during conversion of XI message

    i am getting this error, Could you please help us in resolving this
    http-Status:  500 Error during conversion of XI message
    Payload:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Error during conversion of XI message</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="PARSER">UNEXPECTED_VALUE</SAP:Code><SAP:P1>Main/@versionMajor</SAP:P1><SAP:P2>000</SAP:P2><SAP:P3>003</SAP:P3><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>XML tag Main/@versionMajor has incorrect value 000; expected value is 003
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
    Thnaks, ajay

    XML tag Main/@versionMajor has incorrect value 000; expected value is 003
    as mentioned above @versionMajor is expecting 003 as the input....if it a DataType in XI then check if there is some restriction imposed on the above attribute.....if you are importing some XSD/wsdl then check if it has some restriction.......if the restriction is not needed then try removing it....so that versionMajor will accept all the values
    Regards,
    Abhishek.

  • HTTP response code 500 : Error during Sender Agreement Determination

    I am trying a simple file to file scenario and messages are not being received in Integration Server.
    Through communication channel monitoring, i have received the below error message.
    Error Transmitting the message to
    endpoint http://<hostname>:50000/sap/xi/engine?type=entry using
    connection File_http://sap.com/xi/XI/System failed, due
    to:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    Received HTTP response code 500 : Error during Sender
    Agreement Determination.
    Can you please help
    Regards
    Harish

    Hi Harish,
    http://<hostname>:50000/sap/xi/engine?type=entry
    it should be http://<hostname>:8000/sap/xi/engine?type=entry not 50000 as port It should be your HTTP port...please .make the changes !!
    In SXMB_ADM transaction under Integration engine configuration please change the settings to http://<hostname>:8000/sap/xi/engine?type=entry
    make sure with your basis team that ur http port is 8000 or 8001 ..as per that make the necessary changes..
    Regards,

  • HTTP response code 500 : Error during parsing of SOAP header

    Hi Experts,
    I have a MAIL to IDOC scenario.  An external third party emails invoices to our inbox - which we pick up and process the attachment.  All is well when I test the scenario internally, but when the third party emails it fails with (see ERROR MESSAGE below).
    When I look at the SOAP header of the failed message I see the values from the dump in this field:
      <sap:Record namespace="http://sap.com/xi/XI/System/Mail" name="SHeaderTHREAD-INDEX">AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQAAV4L06ABZuwsAAK/f9vgAAF/GSAAAYmRYARIKwtQAV5R9SABMo5bsAGQQyvAAVqsjyABOh9uMAFXTa2QAWEjsfABaEvp4AFaL1NQAV5MnUABXiVbIAGc7LsQAYVN9SABLfYQIAEwF3nQAWSL2lABn5ZgIAEf/k8gAWeVgrAAJaSZIAAElM4gATZR0GA=</sap:Record>
    Can anyone tell me what SHeaderTHREAD-INDEX does?  Or what my problem is  (Our email is Outlook)
    ERROR MESSAGE.........
    SOAPFault received from Integration Server. ErrorCode/Category: XIProtocol/WRONG_VALUE; Params: SOAP:Envelope(1)SOAP:Header(1)sap:DynamicConfiguration(3)sap:Record(14), AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQAAV4L06ABZuwsAAK/f9vgAAF/GSAAAYmRYARIKwtQAV5R9SABMo5bsAGQQyvAAVqsjyABOh9uMAFXTa2QAWEjsfABaEvp4AFaL1NQAV5MnUABXiVbIAGc7LsQAYVN9SABLfYQIAEwF3nQAWSL2lABn5ZgIAEf/k8gAWeVgrAAJaSZIAAElM4gATZR0GA=協彎䅍䔾ਉ़䥎噏䥃䕟乏㸸㌱ㄵㄹ㰯䥎噏䥃䕟乏㸊उ㱁䵏啎呟䕘䍌彖䅔㸷⸵〼⽁䵏啎呟䕘䍌彖䅔㸊उ㱃啒剅乃失㹅啒㰯䍕剒䕎䍙ㄾਉ़䅍何乔彖䅔㸱⸴㜼⽁ꯃ䅢坡汫, ST: ST_XM; AdditionalText: An error occurred when deserializing in the simple transformation program ST_XMS_MSGHDR30_DYNAMIC; ApplicationFaultMessage:  ; ErrorStack: XML tag SOAP:Envelope(1)SOAP:Header(1)sap:DynamicConfiguration(3)sap:Record(14) (or one of the attributes) has the incorrect value AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQ An error occurred when deserializing in the simple transformation program ST_XMS_MSGHDR30_DYNAMIC Data loss occurred when converting AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1p
    Transmitting the message to endpoint http://sdcxp1-ci.na.fmo.com:8000/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Error during parsing of SOAP header.

    We work with Microsoft Outlook, but I'm sure this could work with any email system.
    This error only came from external emails - what we did in the end is to get the third party to email a particular email (email1) in our company.  This is set up as a regular email account.  On this email put a forward rule to email2 for a particular sender/subject.  email2 is set up as POP3 so that XD1 can poll it - we also block any emails except from email1.
    Doing this accomplishes a couple of things:
    1)  We get around the error because XI polls email2 (which has adapter settings of IMAP4 so we can see MAIL adapter attributes ie. sender, subject etc...When we originally had as POP3 we were not able to see these - but setting as IMAP4 causes the error for external emailers)
    2) We have a SPAM filter - the XI email is clean from SPAM and the adapter will not have errors, as it only receives valid emails to process
    3) We have a central email (email1) which is used to archive all XI emails - we use this for all email scenarios (as we also save to folder and forward in the rule)
    Hope this helps your situation.

  • The char '0x0' in 'return code:  500

    Hi All,
    I am trying to expose a EJB as webservice using AXIS 1.2 Final. When deployed my ear/ejb on WSAD - WAS 5.0 and trying to consume the web service using AXIS 1.2 generated stubs I am getting below error on the server side.
    Exception in thread "main" java.lang.IllegalArgumentException: The char '0x0' in 'return code:  500
    Error 500: The char &#39;0x0&#39; in &#39;java.rmi.RemoteException: CORBA BAD_OPERATION 0 No&#59; nested exception is:
        org.omg.CORBA.BAD_OPERATION:
    org.omg.CORBA.BAD_OPERATION:   minor code: 0  completed: No at com.amla.as.card.ejb._EJSRemoteStatelessCS_146c46e9_Tie._invoke&#40;_EJSRemoteStatelessCS_146c46e9_Tie.java:340&#41;
        at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch&#40;ExtendedServerDelegate.java:532&#41;
        at com.ibm.CORBA.iiop.ORB.process&#40;ORB.java:2450&#41;
        at com.ibm.CORBA.iiop.OrbWorker.run&#40;OrbWorker.java:186&#41;
        at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run&#40;ThreadPool.java:104&#41;
        at com.ibm.ws.util.CachedThread.run&#40;ThreadPool.java:144&#41;
      minor code: 0  completed: No&#39; is not a valid XML character.
    ' is not a valid XML character.
        at org.apache.axis.components.encoding.AbstractXMLEncoder.encode(AbstractXMLEncoder.java:110)
        at org.apache.axis.utils.XMLUtils.xmlEncodeString(XMLUtils.java:117)
        at org.apache.axis.utils.DOM2Writer.normalize(DOM2Writer.java:344)
        at org.apache.axis.utils.DOM2Writer.print(DOM2Writer.java:246)
        at org.apache.axis.utils.DOM2Writer.print(DOM2Writer.java:208)
        at org.apache.axis.utils.DOM2Writer.serializeAsXML(DOM2Writer.java:77)
        at org.apache.axis.utils.DOM2Writer.serializeAsXML(DOM2Writer.java:60)
        at org.apache.axis.utils.DOM2Writer.nodeToString(DOM2Writer.java:49)
        at org.apache.axis.utils.XMLUtils.privateElementToString(XMLUtils.java:396)
        at org.apache.axis.utils.XMLUtils.ElementToString(XMLUtils.java:405)
        at org.apache.axis.utils.XMLUtils.getInnerXMLString(XMLUtils.java:505)
        at org.apache.axis.AxisFault.dumpToString(AxisFault.java:384)
        at org.apache.axis.AxisFault.printStackTrace(AxisFault.java:785)
        at java.rmi.RemoteException.printStackTrace(RemoteException.java:101)
        at card.Client.query(Client.java:149)
        at card.Client.main(Client.java:177)    When I monitor the request soap message using AXIS handlers, the soap message seems to be valid and well-formed. Can anyone please suggest under what cases we get this error:
    Thanks & Regards,
    Kr.

    Hi All,
    I am trying to expose a EJB as webservice using AXIS 1.2 Final. When deployed my ear/ejb on WSAD - WAS 5.0 and trying to consume the web service using AXIS 1.2 generated stubs I am getting below error on the server side.
    Exception in thread "main" java.lang.IllegalArgumentException: The char '0x0' in 'return code:  500
    Error 500: The char &#39;0x0&#39; in &#39;java.rmi.RemoteException: CORBA BAD_OPERATION 0 No&#59; nested exception is:
        org.omg.CORBA.BAD_OPERATION:
    org.omg.CORBA.BAD_OPERATION:   minor code: 0  completed: No at com.amla.as.card.ejb._EJSRemoteStatelessCS_146c46e9_Tie._invoke&#40;_EJSRemoteStatelessCS_146c46e9_Tie.java:340&#41;
        at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch&#40;ExtendedServerDelegate.java:532&#41;
        at com.ibm.CORBA.iiop.ORB.process&#40;ORB.java:2450&#41;
        at com.ibm.CORBA.iiop.OrbWorker.run&#40;OrbWorker.java:186&#41;
        at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run&#40;ThreadPool.java:104&#41;
        at com.ibm.ws.util.CachedThread.run&#40;ThreadPool.java:144&#41;
      minor code: 0  completed: No&#39; is not a valid XML character.
    ' is not a valid XML character.
        at org.apache.axis.components.encoding.AbstractXMLEncoder.encode(AbstractXMLEncoder.java:110)
        at org.apache.axis.utils.XMLUtils.xmlEncodeString(XMLUtils.java:117)
        at org.apache.axis.utils.DOM2Writer.normalize(DOM2Writer.java:344)
        at org.apache.axis.utils.DOM2Writer.print(DOM2Writer.java:246)
        at org.apache.axis.utils.DOM2Writer.print(DOM2Writer.java:208)
        at org.apache.axis.utils.DOM2Writer.serializeAsXML(DOM2Writer.java:77)
        at org.apache.axis.utils.DOM2Writer.serializeAsXML(DOM2Writer.java:60)
        at org.apache.axis.utils.DOM2Writer.nodeToString(DOM2Writer.java:49)
        at org.apache.axis.utils.XMLUtils.privateElementToString(XMLUtils.java:396)
        at org.apache.axis.utils.XMLUtils.ElementToString(XMLUtils.java:405)
        at org.apache.axis.utils.XMLUtils.getInnerXMLString(XMLUtils.java:505)
        at org.apache.axis.AxisFault.dumpToString(AxisFault.java:384)
        at org.apache.axis.AxisFault.printStackTrace(AxisFault.java:785)
        at java.rmi.RemoteException.printStackTrace(RemoteException.java:101)
        at card.Client.query(Client.java:149)
        at card.Client.main(Client.java:177)    When I monitor the request soap message using AXIS handlers, the soap message seems to be valid and well-formed. Can anyone please suggest under what cases we get this error:
    Thanks & Regards,
    Kr.

  • Error during saving a multipart message

    Hi All,
                 We are currently integrating third party system with SAP ECC as a part of our FICA implementation.
    We have configured soap adapter initially at the sender side and IDoc adapter at the reciever intially. After looking at the performnace of the soap adapter, we thought of using HTTP sender instead of a soap sender, so that the webservice makes a direct call to PI integration engine instead of Adapter engine.
    Now my scenario looks like.
    Java/J2EE client -> webservice call > XI pipeline>SAP.
    So here , i havent used http adapter at the source side.
    My problem is when i call the XI pipleine url as suggested by the below blog
    <a href="/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine Soap Inbound channel of the Integration engine</a>
    I am getting the follwoing error as seen below
    <b>May 31, 2007 6:05:50 PM com.sun.xml.messaging.saaj.soap.MessageImpl saveChanges
    </b>
    <b>SEVERE: SAAJ0540: Error during saving a multipart message</b>
    But for my scenario, i havent used any soap with attachments to pass through PI.
    My soap message is a simple soap envelope with soap part-message.(body).
    Please do help me out in resolving this issue.
    Thanks & Regards,
    Dhana
    null

    Hi Steve,
                   My Soap Action is already applied and I traced out few options after googling it up and added few jars (xalan.jar and saxon8.jar). Even now I am getting the same error.
    Please do tell me what to do in this regard.
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Error during conversion of XI message</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="PARSER">UNEXPECTED_VALUE</SAP:Code><SAP:P1>Main/@versionMajor</SAP:P1><SAP:P2>000</SAP:P2><SAP:P3>003</SAP:P3><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>XML tag Main/@versionMajor has incorrect value 000; expected value is 003
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
    Soap Error message:Error during conversion of XI message
    Thanks,
    Dhana

  • 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 ?

  • Server returned code (500) with message Internal Server Error and content

    Hi cracks,
    I am trying to run the web service
    InternalRequestSRMUpdateRequestConfirmation_In
    an get following error :
    Server returned code (500) with message <Internal Server Error> and content type <text/html; charset=utf-8>.
    any idea?
    rgds
    Vincent

    yes,
    you got crash aka shortdump in your system.
    - webserver: didn't crash, because it issued an error 500, so it works
    - remains either the soap runtime, which usually doesn't dump but throw errors and the application itself.
    I'd look into the tracefiles (ST11) or tie the debugger to the service in question (SICF) and try to find out hat happens/d.
    anton

  • HTTP Response code 500 ERROR

    Dear All,
    I am using Tomcat 4 and J2SE 1.4.2 and winXp. I am try to write a simple server/client program using servlet to connect them.
    I am using URLConnection in client side to connect server. However, when i try to get the input/output stream from URLCOnnection object, Error Occur
    java.IO.Exception: server response return code: 500 for URL http://localhost:8080/examples/servlet/CPServlet
    I dunno why it happens, Can you tell the reason or simply tell me the solution.
    Below is my code
    // Client
    import java.net.URL;
    import java.net.URLConnection;
    import java.io.*;
    public class Customer
         ObjectInputStream oin = null;
         ObjectOutputStream oout = null;
         URLConnection conn = null;
         public Customer()
              try
                   URL url = new URL("http://localhost:8080/examples/servlet/CPServlet");
                   conn = url.openConnection();
                   conn.setDoOutput(true);
                   conn.setDoInput(true);
                   conn.setUseCaches(false);
                   conn.setRequestProperty("Content-type","application/x-java-serialized-object");
                   conn.connect();
                   oin = new ObjectInputStream(conn.getInputStream());
                   //oout = new ObjectOutputStream(conn.getOutputStream());
                   System.out.println("Connected");
              catch (Exception e)
                   e.printStackTrace();
                   System.exit(1);
         public static void main(String[] args)
              Customer cust = new Customer();
              try
                   //Message msg = cust.receiveContent();
                   //System.out.println("Received " + msg.getInt());
              catch (Exception e)
                   e.printStackTrace();
                   System.exit(1);
         public Message receiveContent()
              Message msg = (Message)MyUtil.getObjectThrSocket(oin);
              System.out.println("Successfully receive content from Server");
              return msg;
    // Server
    import java.io.*;
    import javax.servlet.http.*;
    import javax.servlet.*;
    public class CPServlet extends HttpServlet {
         // field
         ObjectOutputStream oout = null;
         ObjectInputStream oin = null;
         public void doGet (HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
              System.out.println(request.getMethod());
              response.setContentType("application/x-java-serialized-object");
              oout = new ObjectOutputStream(response.getOutputStream());
              oin = new ObjectInputStream(request.getInputStream());
    Thanks

    I'm new to Servlet development, but I'll try to help.
    The error code 500 usually means the servlet is confused, so you will want to focus server side. And in your case, you have created an output stream on your response object before you have created an input stream on your request object. I don't think that is correct. I think the order of those two processes needs to be reversed. Read the request headers first, then construct the response.

  • Receiving the internal 500 error while testing java web service

    HI,
    Problem Summary:
    Receiving the internal 500 error while testing java web service in integrated weblogic server.
    my scenario is like,
    retrieve the Payload from Dehydration tables.
    We are connected to SOA_INFRA schema and we are retrieving the payload from the dehyadration tables based on InstanceId and ECID using Java Classes.After that i make it as a web service and i deployed in to intergrated weblogic Server.It is generating the Target End Point URI.When am i hitting this it is showing structure of the service.I am testing this service from soapUi it is returning the Server internal error with 500.Here i am passing inputs as InstanceId and ECID.
    I had verified in my Jdeveloper,Proxy settings are available.
    Error Payload:
    I am receiving the Internal 500 error because of JDeveloper HTTP Analyzer encountered an error retrieving: CONNECT https://192.168.0.41:9102 HTTP/1.0.
    An exception occurred while retrieving the response for https://192.168.0.41:9102.
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1293)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:65)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:50)
         at oracle.jdevimpl.webservices.tcpmonitor.model.HttpMessageBase.readLine(HttpMessageBase.java:658)
         at oracle.jdevimpl.webservices.tcpmonitor.model.HttpRequest.read(HttpRequest.java:327)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.getResponse(ConnectionHandler.java:405)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:331)
    Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:1916)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateSSL(ConnectionHandler.java:707)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateForwardedSSLConnection(ConnectionHandler.java:672)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:311

    An exception occurred while retrieving the response for https://192.168.0.41:9102.
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?This error says that port 9102 is a plain HTTP port so either use the correct port (which is listening for HTTPS connections) or use HTTP instead of HTTPS in the URL.
    Regards,
    Anuj

  • CLIENT_SEND_FAILED error code: 500, error text: Internal Server Error

    Hi,
    Developed Proxy <-->PI<-->JDBC SELECT scenario and getting the following error.
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3>(See attachment HTMLError for details)</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error while sending by HTTP (error code: 500, error text: Internal Server Error) (See attachment HTMLError for details)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    When I cross checked the JDBC Receiver communication channel in Runtime Work Bench
    request and response were successfull. RWB shows the following message.
    2009-06-12 09:34:50 Information The message was successfully received by the messaging system.
    2009-06-12 09:34:50 Information Message successfully put into the queue.
    2009-06-12 09:34:50 Information The message was successfully retrieved from the request queue.
    2009-06-12 09:34:50 Information The message status was set to DLNG.
    2009-06-12 09:34:50 Information Delivering to channel: DB2ReceiverTableSPT
    2009-06-12 09:34:50 Information JDBC Adapter Receiver processing started, required QoS BestEffort
    2009-06-12 09:34:50 Information JDBC Adapter Receiver Channel DB2ReceiverTableSPT:
    2009-06-12 09:36:35 Information Database request processed successfully.
    2009-06-12 09:36:35 Information The message was successfully delivered to the application using connection JDBC_http://sap.com/xi/XI/System.
    2009-06-12 09:36:35 Information The message status was set to DLVD.
    I had gone thru all the previous threads related to 'CLIENT_SEND_FAILED' but
    those did not solve my problem.
    Can some one help me to solve this issue.
    Thanks,
    Vijay.

    I made necessary changes as per the blog. Appended '_response' for JDBC response structure.
    Still I am facing same problem.
    Strange....delibarately gave the link so that you can cross-check the JDBC config on receiver side...I assume that the proxy is configured properly with the Sync communication....also mapping is done accordingly...
    Regards,
    Abhishek.

  • DB13 return code = job error

    Dear All,
    WE are getting followin error while scheduling job in db13 tcode.
    Function DB6_PLAN_ADD_BATCH failed with return code = Job error
    ECC 6.0
    Oracle 10g

    You indicated that your database is Oracle 10G. This forum is for SAP on DB2 LUW as the database server. Please post your question on the appropriate forum.
    Regards,
    Adam Wilson
    SAP Development Support
    IBM Toronto Lab.

  • Server return code 0x80020004 : Error reading fileu201D from ABAP MDM API

    Hello,
    I am trying use ABAP APIs to create records in a qulifier table in SRM MDM catalog . The tabel i am trying to update is Contract price. it has 4 non qualifier fields and 5 qualifier fields. I am using below code to create it.
    CALL METHOD lr_api->mo_core_service->create_simple
              EXPORTING
                iv_object_type_code = 'MDMSRM_CONTRACT_PRICE'
                is_ddic_structure   = ls_retrive
              IMPORTING
                ev_new_internal_id  = lv_key.
    But it retuns an exception cx_mdm_server_rc_code : Server return code 0x80020004 : Error reading file . My ID has admin auth in MDM data manger and able to create recrds direclty in data manager. But API retuns an error.
    Requst you to help me ith this . Please advice if i have posted it in wrong section.
    Thanks,
    DIvya.

    done. This API is working from MDM7 version, not available in MDM5

  • Function DB6_PLAN_STOP_BATCH_JOB failed with return code = Job error

    Hi team,
    I have issue with "SAP_COLLECTOR_FOR_PERFMONITOR" Job .it has been Finished but in Job Log I get error as below:
    Job started
    Step 001 started (program RSCOLL00, variant , user ID DDIC)
    Clean_Plan:Cleanup of DB13 Plannings
    Clean_Plan:started by RSDBPREV                       on server sapqas01
    Clean_Plan:Cleaning up jobs of system QAS
    Function DB6_PLAN_STOP_BATCH_JOB failed with return code = Job error
    Clean_Plan:terminated with error
    REASON=Job error
    Database system not supported
    Reorganization of the database started
    Reorganization of the database ended
    Job finished
    I have alredy reschedule this Job in 000 with DDIC User.
    Please help me ,
    Thanks
    Vijay

    Hello Vijay,
    The "Database system not supported" error you see, suggests that your TCOLL table is not setup correctly. You probably have a report scheduled in your TCOLL which is for a different DB then the one you run.
    If the collector canels all the time, then this is probably a report which is scheduled to run every hour in your TCOLL. If it only cancels sometimes, then it should be easier to identify which report is causing it in your TCOLL.
    The bottom line is to ensure your TCOLL is setup correctly and that you are not running DB reports there that are for a different DB than the one you use. The SAP note you follow to setup your TCOLL table depends on your SAP system version:
    12103 - Contents of the TCOLL table
    970449 - Contents of TCOLL table in SAP_BASIS 640
    966309 - Contents of table TCOLL in SAP_BASIS 700
    966631 - Contents of TCOLL table in SAP_BASIS 710
    Regards,
    Brendan

Maybe you are looking for

  • Noob transition to AS3 question

    Slowly learning my way into AS3, here is the original code that i am trying to move into AS3 from AS2. The function is to allow the mouse over state to stay selected until the mouse moves off of the selected area. Here is the AS2 code: mc.onRollOver

  • Facebook profile pictures not showing up in my Contacts

    For some reason only two or three of my contacts show their facebook profile pictures, even though probably 75% of my contacts have facebook photos... why would the pics only show for a few contacts?  And how do I fix it?  I've checked FB settings an

  • Full Online + REDO Log backup failing

    Hi Experts, We have a failing backup when running a 'Full Online + REDO Logs' scheduled via DB13 (ERP6/Windows 2008/Oracle 10.2.0.4) Whilst it is successful in backing up the datafiles and the REDO logs to the remote destination, it fails to catalog

  • RE:  Volume shortage when transferring to itunes

    Howdy, I've been recording things and now when I transfer to itunes my maximum volume is a bit less than I would prefer. When I play the composition in Garageband I get all the volume I need but once its tranferred to itunes it is somewhat less - I c

  • Bidirectional One-To-One relationship without Indirection possible?

    Is it possible to create a One-to-One Bi-directional relationship without using Indirection? When I have tried this, Toplink returns the same related rows from the two tables over and over again until it throws an error. I need to use this relationsh