SOAP Sender (500) Internal Server Error

When calling a WebService defined in XI, I get the folloginw error:
System.net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at WebServiceClient.Send()
at __send(IWebServicesHost* pWebServiceHost)
at send(IWebServicesHost* pWebServiceHost)

Found on SXI_CACHE:
Unable to refresh cache contents
com.sap.aii.ib.server.abapcache.CacheRefreshException: Connection to system RUNTIME using application RUNTIME lost. Detailed information: Error accessing "http://IWDFVM1127.wdf.sap.corp:51000/run/hmi_service_id_fresh_swcv/int?container=any" with user "J2EE_ADMIN". Response code is 401, response message is "Unauthorized"
     at com.sap.aii.ibdir.server.abapcache.content.CacheSwc.addContent(CacheSwc.java:63)
     at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:356)
     at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:320)
     at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:145)
     at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
     at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.setXmlDataAndBufferSize(CacheRefreshSession.java:121)
     at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.<init>(CacheRefreshSession.java:40)
     at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.getInstance(CacheRefreshSession.java:54)
     at com.sap.aii.ibdir.web.abapcache.CacheRefreshServlet.doGet(CacheRefreshServlet.java:45)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
Message was edited by: Javier Porras

Similar Messages

  • SAP PI 7.1 SOAP sender 500 internal server error

    Hello!
    We would like to receive messages from our business partner. As the partner sends EDIFACT we have to use the conversion from EDIFACT-text to EDIFACT-xml. That's why we have to use SOAP instead of plain HTTP.
    As the partner already sent messages over X.400 we just added a SOAP communication channel and used this channel in the sender agreement instead of the X.400 communication channel.
    We sent the following link to the customer:
    http://<server>:<j2ee port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<SOAP sender communication channel>
    One question: is the <service> the communication component used for the partner?
    At the moment the partner receives a 500 error message. Due to our network partner the message reaches the PI system.
    Due to the information I found that also a message parsing error can cause a 500 error message I would like to add the processing sequence:
    Does anyone have an idea how to solve this problem?
    Thanks a lot!
    Regards
    Christian

    Hi Christian
    You can refer to the following SAP Library link on how to configure the SOAP sender.
    Configuring the Sender SOAP Adapter - Configuring the SOAP Adapter in the Integration Directory/PCK - SAP Library
    For the URL, the <service> is the Communication Component that the SOAP channel belongs to.
    Using the example below, the value would be P_B2B_:BC_:CC_S_SOAP_
    Actually SAP recommends a new alternative for the URL. If you scroll right to the end of the library link above.
    You have configured the sender SOAP adapter. You can trigger a call to the sender SOAP adapter using either of the following URLs. However, SAP recommends you to use the second option.
    http://hostname:portname/XISOAPAdapter/MessageServlet?channel=partyname:service name:channelnameIf you have not created a party, enter channel=servicename:channelname.
    http://hostname:port name/XISOAPAdapter/MessageServlet?senderParty=name of the sender party<&senderService>=name of the sender service<&interface>=name of the interface<&receiverParty>=name of the receiver party<&receiverService>=name of the receiver service<&interfaceNamespace>=name of the interface namespace
    You can get this by generating the WSDL from the Sender Agreement object (Sender Agreement -> Display WSDL). The generated URL will be at the last section of the WSDL.
    Also, please note that modules cannot be added to the SOAP sender adapter, also mentioned in the link.
    You cannot add your own modules to this adapter.
    An alternative would be to receive the EDIFACT Flat file as it is, and write it to at temporary File/FTP location. Then have a second channel pick it up, you can configure the second channel with module to convert it to EDIFACT XML.
    Lastly, regarding the issue about the partner getting HTTP 500 error. Please check if you are able to see any error logs in the communication channel. It might give you some pointers as to what might be wrong - invalid sender agreement, etc, etc.
    Rgds
    Eng Swee

  • SOAP Receiver- Error While Sending Message: 500 Internal Server Error

    Hello,
    Our scenario: IDoc to SOAP
    I have added a third party system in the SLD and have used the same in my ID configuration.
    An idoc will be triggered from R/3, which will received in PI, PI will transform the IDoc into SOAP message for the third party system.
    I have tested the scenario in ID from Interface Determination and its successful.
    But when i try to try to test it from RWB, using Test Message in Adapter Engine, I get an error,
    "Error while sending message:500 Internal server error"
    If we test it using a testing software like SOAP UI, it works fine but from PI we get the error mentioned above.
    Regards,
    Abhishek

    Hello,
    Since the IDOC adapter resides on the ABAP stack, you can use this URL instead (it will be sent to the integration engine as Venkata suggested)
    http://host:port/sap/xi/engine?type=entry
    Also check your firewall settings from PI to the third-party system.
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Feb 7, 2012 11:48 AM

  • Invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error

    Hi,
    I have this error on a SOAP Receiver Channel: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
    I've found several threads on SDN Forums about similar errors, but I did not find a solution for my problem yet.
    I checked this blog: /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009  Pt.6 applies to my situation, but the proposed solution doesn't solve the problem.
    TRACE Messaging System
    u2026
    2011-06-06 10:59:41.822 Success Delivering to channel: CC_SOAP_RCV_XXX
    2011-06-06 10:59:41.823 Success MP: entering1
    2011-06-06 10:59:41.825 Success MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    2011-06-06 10:59:41.828 Success SOAP: request message entering the adapter with user J2EE_GUEST
    2011-06-06 10:59:42.012 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
    2011-06-06 10:59:42.014 Success SOAP: sending a delivery error ack ...
    2011-06-06 10:59:42.014 Success SOAP: sent a delivery error ack
    u2026
    Message Details
    Address   http://aaa.bbb.be:54000/MessagingSystem/receive/AFW/XI 
    Credential   PasswordCredential(PIISUSER):password=******** 
    Transport Headers   accept-encoding=gzip sap-xi-messageid=4DEA11FE90003094E10000000AE908B4 content-length=7520 http=POST host= aaa.bbb.be:54000 user-agent=SAP NetWeaver Application Server (1.0;711) content-type=multipart/related;boundary=SAP_4DEA47CEAD3A5138E10000000AE908B4_END;type="text/xml";start="" soapaction="http://sap.com/xi/XI/Message/30" 
    Configuration Details SOAP Communication Channel
    SOAP Receiver Channel
    No modules configured
    Do not use SOAP Envelope  -> NOT checked
    If I type the target URL in browser it opens (no login required) and I see the available web services.
    Anyone any idea what's the reason for this error?
    Thanks in advance
    Kind Regards
    Edmond Paulussen

    Hi Edmond,
    We faced similar problem & found alternative.
    Try out, if it works for u as well.
    1) Use HTTP Adapter instead of SOAP.
    Transport Protocol : HTTP 1.0
    Message Protocol : XI Payload in HTTP Body
    Adapter Engine : Integration Server
    Addressing type : URL Address.
    Target Host:
    Service Number :
    Path Prefix:
    Authentication type : we hv used Ananymus login, as our login details in payload header.
    Content Type : application/soap+xml;charset=UTF-8( this is IMP).
    Header Fields.
    Name         value
    Host           target host
    XI Payload Manipulation
    XML Code : UTF-8
    Hope, this helps...
    -santosh.

  • HTTP/1.1 500 Internal Server Error for SAOAP Sender Adapter

    Hi,
    I am veera, i am getting the below error. I doing the SOAP Syn interface, While executeing the soap client i got the below error..
    Please help me .. how to retry the this error. 
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: JSESSIONID=(tam00_PID_70)ID1513783250DB21066821525219634633End; Version=1; Domain= 150.208.226.90; Path=/
    Set-Cookie: saplb_*=(tam00_PID_70)703524750; Version=1; Path=/
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=utf-8
    Content-Encoding: gzip
    Date: Tue, 23 Feb 2010 13:07:00 GMT
    Transfer-Encoding: chunked
    <?xml version='1.0'?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
              <context>XIAdapter</context>
              <code>CPAException</code>
              <text><![CDATA[
    com.sap.aii.af.service.cpa.CPAException: invalid channel (party:service:channel) = <null>
         at com.sap.aii.af.mp.soap.web.MessageServlet.getChannel(MessageServlet.java:481)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>
    Thanks & Regards,
    Veera

    Hi Prateek,
    Thanks for Response.
    Regenerating  the wsdl in IR/ESR or ID  Please tell me .
    am generating wsdl file for ID --> define webservice and follwing parameters like sender interface name, namespace,communication channel,business systemname.
    Regards,
    Veera.

  • SOAP Receiver error - HTTP 500 Internal Server Error

    Hi,
    We have a FILE to SOAP Asynchronous scenario to send data from our PI to customer PI.
    We are sending PGP encrypted file as the payload. So, foll settings have been maintained:
    Do not use SOAP envelope in Sender and Receiver SOAP
    nosoap=true in the URL.
    Message transform bean in the SOAP channels.
    File is successfully sent and received through SOAP protocol.
    But, both the SOAP Receiver and Sender channels are in error:
    SOAP Receiver error:
    SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error.
    As, this is a asynch scenario, we are not expecting the response.
    SOAP sender at customer PI is in error. Error text is not mentioned. It just displays: error occured.
    At both the ends, we do not have Repository objects as there is no mapping.
    Kindly help...
    Thanks,
    Pratibha.

    Hi All,
    For the same scenario, we need to Sign the data using the WebServices Security.
    (We are sending PGP encrypted data as SOAP payload using MTB, i have ticked "Do not use SOAP envelope")
    I have selected WebServicesSecurity as the security profile in the SOAP Receiver and selected "Sign" in the Receiver agreement, have provided our private cert.
    Tried sending a message. Communication channel audit Log shows the message:
    Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    Success SOAP: request message entering the adapter with user J2EE_GUEST
    Success SOAP: Web Services Security processing...
    Success SOAP: Web Services Security processing skiped. Empty body...
    Success SOAP: completed the processing
    Please suggest how I can apply the WSS..
    Thanks,
    Pratibha.

  • ADAPTER.HTTP_EXCEPTION, HTTP 500 Internal Server Error, in Receiver soap A

    Greetings All,
                         In my scenario i am calling external service of SFDC using receiver soap adapter but i am facing below error in the response.
    ADAPTER.HTTP_EXCEPTION, HTTP 500 Internal Server Error
    I am creating the soap structure/envelope using Java mapping since need to add additional parameter in soap header.
    I am setting the URL in java UDF using parameter TServerLocation.
    In comm channel checked "do not use soap envlope" also set the format to text/xml using MessageTransformBean.
    The service was working fine when tested in SoapUI tool.
    Looking forword for your help and will be appreciated.
    Thanks,
    Sandip

    Hello Sandip, I hope you are doing fine!
    I`m not sure if you are using a sync or async scenario...
    The behavior that you describe is the expected behavior for SOAP receiver adapter in nosoap mode, asynchronous case.
    The explanation that lies behind it is that in nosoap mode the bahavior is just similar to pure HTTP communication. An HTTP 4/5 error received from the target server is treated as HTTP internal error and logged into AFW as an error. The message in an asynchronous scenario without acknowledgements is normally seen as successful on IE side as it is successfully sent to the target system. It can be even successfully consumed by the target webservice, but for amo other reason, the HTTP request from SAP PI to the target system returns HTTP 500 error.
    If you ask for system delivery acknowledgements, you should get a non-successful delivery acknowledgement.
    In synchrnous scenarios, when a response is expected, the behavior is different.
    If this is a sync scenario, there is an official patch released on the service marketplace. SAP Note 1533195 is released.
    In addition to deploying the patch, apply the additional configuration steps. As per this note, for the default module
    sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    you will need to set:
    Module Key  = soap
    Parameter Name = noSOAPMakeSysErrFromResponseFault
    Parameter Value = false
    If you need to bypass the HTTP errors in the communication with the target system, you need to apply note 1055678.
    To apply it, just add  for the default module
    sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean in your receiver
    channel, Modules tab the following:
    Module Key  = soap
    Parameter Name = XMBWS.NoSOAPIgnoreStatusCode
    Parameter Value = false
    If you need any SOAP fault related behavior or any other SOAP related feature, you should setup the channel to run normal SOAP mode, since as already mentioned nosoap mode is used now.
    In addition, check note:
      856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter
    section "1. Sender Connection"
    Q: I get a server error "500 Internal Servler Error" from the
    adapter's servlet. What went wrong?
    and get the trace to give you more details of the error.
    One more thing, VERY IMPORTANT.
    I STRONLGY recommend you to update all XI-PI components to latest patch available in the Service Marketplace. Thery are:
    XITOOLS, XIESR, XIAF, XIAFC, MESSAGING, XIGUI. Some of them might not be present depending on the release of you system. e.g: 3.0, 7.0, 7.1
    I hope this helps you.
    Cheers
    Jorge Eidelwein

  • SOAP Envelope - HTTP_EXCEPTION - HTTP 500 Internal Server Error

    Pessoal, o cliente em que estou utiliza uma solução para NFe que não é o GRC.
    Para tentar solucionar o problema do SOAP 1.2 e do message header, estou tentando criar o SOAP Envelope utilizando um XSLT, e no Communication Channel eu estou flegando Do not use soap envelope e colocando os modules para os charset, assim como na nota da SAP.
    O que está ocorrendo é que estou tendo o seguinte erro:
    com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    Conversei com um rapaz na SEFAZ e ele diz que não está chegando nada pra ele.
    O SOAP Envelope que estou mandando é:
       está dentro de tags CDATA.
    Alguém saberia o que está ocorrendo?
    Muito obrigao,
    Leandro Rocha

    Olá Henrique, muito obrigado pela rápida resposta.
    O erro que dá no audit log é:
    SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error. Setting message to status failed.
    A mensagem que aparece no adapter é a padrão do SOAP Document:
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    - <SOAP:Header xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:wsse="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    - <SAP:Main versionMajor="3" versionMinor="0" SOAP:mustUnderstand="1" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
      <SAP:ProcessingMode>synchronous</SAP:ProcessingMode>
      <SAP:MessageId>dfe81887-3f6a-55f1-b933-0050568169b4</SAP:MessageId>
      <SAP:TimeSent>2010-11-04T13:36:35Z</SAP:TimeSent>
    - <SAP:Sender>
      <SAP:Party agency="" scheme="" />
      <SAP:Service>NFe_recepcao</SAP:Service>
      </SAP:Sender>
    - <SAP:Receiver>
      <SAP:Party agency="" scheme="" />
      <SAP:Service>SEFAZ_RS</SAP:Service>
      </SAP:Receiver>
      <SAP:Interface namespace="http://www.gerdau.com.br/nfe">NFe_recepcao_inbound_sync</SAP:Interface>
      </SAP:Main>
    - <SAP:ReliableMessaging SOAP:mustUnderstand="1">
      <SAP:QualityOfService>BestEffort</SAP:QualityOfService>
      </SAP:ReliableMessaging>
    - <SAP:Diagnostic SOAP:mustUnderstand="1">
      <SAP:TraceLevel>Information</SAP:TraceLevel>
      <SAP:Logging>Off</SAP:Logging>
      </SAP:Diagnostic>
    - <SAP:HopList SOAP:mustUnderstand="1">
    - <SAP:Hop timeStamp="2010-11-04T13:36:39Z" wasRead="false">
      <SAP:Engine type="PE" />
      <SAP:Adapter namespace="http://sap.com/xi/XI/System">PE</SAP:Adapter>
      <SAP:MessageId>dfe81887-3f6a-55f1-b933-0050568169b4</SAP:MessageId>
      <SAP:Info />
      </SAP:Hop>
    - <SAP:Hop timeStamp="2010-11-04T13:36:39Z" wasRead="false">
      <SAP:Engine type="IS">is.00.ebsgerd26</SAP:Engine>
      <SAP:Adapter namespace="http://sap.com/xi/XI/System">XI</SAP:Adapter>
      <SAP:MessageId>dfe81887-3f6a-55f1-b933-0050568169b4</SAP:MessageId>
      <SAP:Info>3.0</SAP:Info>
      </SAP:Hop>
    - <SAP:Hop timeStamp="2010-11-04T13:36:41Z" wasRead="false">
      <SAP:Engine type="AE">af.p7d.ebsgerd26</SAP:Engine>
      <SAP:Adapter namespace="http://sap.com/xi/XI/System">XIRA</SAP:Adapter>
      <SAP:MessageId>dfe81887-3f6a-55f1-b933-0050568169b4</SAP:MessageId>
      </SAP:Hop>
      </SAP:HopList>
      </SOAP:Header>
    - <SOAP:Body>
    - <sap:Manifest xmlns:sap="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <sap:Payload xlink:type="simple" xlink:href="cid:payload-DFE818873F6A21F1B9330050568169B4">
      <sap:Name>MainDocument</sap:Name>
      <sap:Description />
      <sap:Type>Application</sap:Type>
      </sap:Payload>
      </sap:Manifest>
      </SOAP:Body>
      </SOAP:Envelope>
    Mais uma vez, muito obrigado,
    Leandro

  • SOAP Sync: HTTP/1.1 500 Internal Server Error

    Hi,
                      My scenario is SOAP to SOAP Synchronous. I created WSDL from Id by using (http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>.  And Sender interface details.
    I am testing SOAP Synchronous scenario through SOAPUI tool. When sending the requrest from SOAP UI i am getting "HTTP/1.1 500 Internal Server Error" error.
    Log:
    <?xml version='1.0'?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
              <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve binding for the given channelId: Binding:CID=null;
    When i test the URL in explorer its giving "OK". What will be the probelm? Pls let me know.
    Regards,
    Dev

    Hi,
       This might be the problem with url...
    It should be in the below format...
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:sender component:sender Communicaton Channel
    Regards,
    Naveen

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

  • HTTP 500 Internal Server Error with Large Attachment in SOAP Scenario

    Hi,
    we have implemented SOAP - XI - SOAP Scenario in our landscape (Sap Neatweaver Process Integration 7.1) .
    One of the functionality of this scenario is the Upload of Documents to External Web Service through standard SOAP Attachment.
    If we try to upload a small file (smaller than 20MB), task works fine and the document is correctly uploaded.
    If we try to upload a larger file, we encountered in this generic error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
         at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1161)
    We tried to increase timeout parameters (in communication channel and in ICM Value) but the response is the same.
    We verify also if icm/HTTP/max_request_size_KB parameter was set to a value smaller than our file size limit (20MB) but is set to default value (100MB).
    The problem isn't on External Web Service Layer because if we try to upload the same documents directly to that web service upload works fine, and in External Web Service's Log there aren''t any indications of this error.
    So I ask you: are there any System Parameters to verify to solve this issue?
    For additional, in ICM Monitor LOG we can read this WARNING when we call our service:
    WARNING => IcmReadFromConn(id=53/454390): temporarily out of MPI buffers -> roll out [icxxthrio_mt 2646]
    This warning may be related to the problem? If yes, how can we solve it?
    Thanks a lot,
    Marcello Ricci

    Hi ,
      Please answer my following questiosn.
    1)  which PI version are you using?
    2) How many J2EE nodes you have.
    please be reminded that SOAP is not for the heavy messages. Then you need to increase your timeout parameters from BASIS.
    Rgds
    Veeru
    Edited by: viru srivastava on Dec 14, 2010 10:18 PM

  • " Error while sending message: 500 Internal Server Error" RNIF Adapter

    Hi,
    I have configured B2B integration as   Sender : RNIF adapter &  Receiver: XI Adapter.
    I am  able to test the configuration successfully in ESR and ID. But, whille testing with RWB using same test data, i am getting the following error:
    Error while sending message: 500 Internal Server Errot.
         Could you anybody help me, what could be the reason? Even i am not getting any error messages in SXMB_MONI.
    Thanks
    Laxman

    Hope this helps..
    -Is the 500 internal SErver Error in RWB is only for this issue and the message is successfully processed in SXMB_MONI?
       Could be the PI Service User :PIAFUSER(Adapter framework user) login crendential issue or run out time error.
    Try taking the payload from sxmb_moni and enter  it in RWB > Adater engine> Test Message Tab > give proper sender interface information , enter payload and try sending message.   check what is behaviour

  • Imp: Error while sending message: 500 Internal Server Error

    Hi all
    while testing my scenarios- by sending the message through component monitoring in RWB I get the following error in Integration Server
    <b>"Error while sending message: 500 Internal Server Error "</b>
    It seems that integration server is not picking up the messages.
    Can anyone help me on this?
    thanks
    Abhishek

    Hi Abhishek,
      Check whether the integration url is pointing to correct one something like http://host url:http port/sap/xi/engine?type=entry.
    Please do refer the below blog:
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Regards,
    Prasanthi.

  • Error when sending message: 500 Internal Server Error

    Hi
    IE is not accepting any messages,
    when I try to send the messgae to the IE ( using RWB) i am getting the below error " Error when sending message: 500 Internal Server Error".
    following things what i have noticed.
    1. Pipleline URL is fine, both in the BS of XI and in the RFC destnation which i am maintaing on the  IE admin) URL is  "http://<host>:8000/sap/xi/engine?type=entry"
    2. SICF all the XI serivess are up and running, i am able to test these service.
    3. The http port is active ( SMICM )
    Pls note the error is  500 Internal Server Error  
    regards
    Nisar

    I think in a simple term 500 can be said as "the request cannot be processed curretnly", these options mentieoned by you are not applicable in my case.
    This generally occurs due to load problem or if you are on an SP less than 12 or even if there is an administration problem---I am on PI7.0 , what are the administration problem you are talking about?
    1 Check Table Space is enough. ---i had installed server recently & very few interface running.
    2 Server licence Date or Time. In this case change system date and restart server.---i have recently installed server.
    3 Check the service pack levels on your XI. If it is obsolete upgrade it with latest versio----Can u explain more on this?
    Try restart the java stack(XI Server) and follwing services.
    com.sapii.af.app ---I am not passing trough Adater framework, so i dont think this service will matters....
    com.sapii.cpa.af.app.---CPA cahe is done sucessfully, as i said i am not passsing through adapter framework.
    basically for a simple HTTP post what might cause 500 error if all necessary services are up and running?
    regards
    Nisar

  • SOAP Invoke error: Status (500): Internal Server Error

    I have a BLS with a WebService action.  I am testing the WebService call with each operation within the wsdl address.  I used the wsdl address to make the call.  I selected the only port available.  There are several operations available.  This WebService call is successful for all operations except for one.  The operation that fails, I get the following errors in the "ServletExec.log" for this one operation.  Can you tell me where the issue may be?
    "SOAP Invoke error: Status (500): Internal Server Error"
    "java.lang.Exception: Status (500): Internal Server Error"
    "at com.lighthammer.webservice.SoapClient.invoke(Unknown Source)"
    "at com.lighthammer.xacute.actions.webservice.WebServiceAction.RawInvoke(Unknown Source)"
    "at com.lighthammer.xacute.actions.webservice.WebServiceAction.Invoke(Unknown Source)"
    Thanks,
    Chris

    The Web Service had been "Reversed Engineered".  In doing this, the parameters had been changed in the Web Service.  This created a "break" on MII's side (i.e. MII was still trying to pass the authentication token to the parameter named "authenticationToken", instead of passing it to the parameter named "paramString1".).
    Thanks,
    Chris

Maybe you are looking for

  • How to make sql to use index/make to query to perform better

    Hi, I have 2 sql query which results the same. But both has difference in SQL trace. create table test_table (u_id number(10), u_no number(4), s_id number(10), s_no number(4), o_id number(10), o_no number(4), constraint pk_test primary key(u_id, u_no

  • Show graph that is created in a subVI in the main vi

    Hi Everyone I can not, show graph that is created in a subVI in the main vi. help! Thank you Solved! Go to Solution. Attachments: Sub VI.jpg ‏58 KB

  • Turn off sort in JTable?

    Hi How can I turn off auto sort when I click on a column header in JTable obj in JClient/Swing and how to disable edeiting JTable contents. Thanks

  • Creative instant cam + xp 64 + model numbers.....

    Hi everybody! I'm really really glad Creative Instant Cam have XP64bit drivers! I would like to buy a brand new one, but in online stores I found "Creative Instant Cam" identified with two different "part numbers": 73VF00400008 and 73VF004000004.....

  • [ACS 5.4] Add Internal hosts using API

    Hi, I tried Machine authentication after importing MAC Address in internal hosts. Is it possible to use ACS API to import those MAC Address? I want to develop a specific web interface for support to do this action.     Thanks for your help, Patrick