Skip to Content
avatar image
Former Member

System Error while testing a SAP PI generated wsdl in soap ui tool

Dear all,

I have developed a web service-pi-web service interface(ECC-PI-.NET system integration). I have generated the WSDL file from Tools -> Display WSDL. When i test it from SOAP UI it throws the following error.

Please share your ideas in resolving this issue. Thanks in advance

Regards

Uday Kiran

Capture.jpg (48.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Jan 06, 2014 at 10:56 AM

    Hi Uday, 

    I have also faced the same issue in past.

    Can you just try doing this.

    You can test the soap messages from SOAP UI

    Set Below things

    1. Authentication Type = Preemptive

    2. username

    3 password

    Please try doing this.

    Regards,

    Abhi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      It will be there on your left hand side  of the screen,below User ID and password in SOAP UI request Properties only.You can share i screenshot I will tell you.Just add this it will work.

  • avatar image
    Former Member
    Jan 06, 2014 at 11:12 AM

    Hi Uday,

    Abhinav answer applies to SOAP UI 4.5.1.

    may i know which verison of SOAP UI ur using?

    Message was edited by: mastan vali

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Masthan,

      I am using SOAP 4.5.0 and SOAP 4.6.1. I have set the parameter Authentication Type = Preemptive by selecting Sets global UIpreferences symbol in application toolbar -> select the check bax as shown below

      Again i have reloaded the wsdl. Still i am facing the issue.

      When i use the integration url wsdl, i am getting the above error. But if use use the wsdl generated from sender aggrement , i am getting the following error description.

      <!--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>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 errorXIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: .

        at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:746)

        at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:505)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

        at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

        at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

        at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:126)

        at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)

        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

        at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

        at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

        at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

        at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

        at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

        at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

        at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

        at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)</text>

                  </s:SystemError>

               </detail>

            </SOAP:Fault>

         </SOAP:Body>

      </SOAP:Envelope>

      Capture2.JPG (80.6 kB)
  • avatar image
    Former Member
    Jan 06, 2014 at 12:05 PM

    Hi Uday,

    The scenario is web service -> PI -> web service.

    Hope you have a SOAP Sender channel to accept the request. Having said that the SOAP URL used in the wsdl is wrong. The endpoint URL should be as below:

    http://appserver:port/XISOAPAdapter/MessageServlet?channel=:Sender Business Service: Sender Soap Adapter

    You cannot send a message directly to integration URL from SOAP UI.

    -Anand

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 06, 2014 at 12:10 PM

    Hi Uday,

    Could you please shared the error into AuditLog of adapter enginne

    Kind regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Uday,

      As per the log you do not have issue is sender channel.

      Hence you can test this scenario from RWB .

      Probably issue is receiver channel and more specifically in soap action.

      Do check the soap action from wsdl provided by dot net developer.

      Soap action in nothing but the namespace followed by class name which must be present in dot net application.

      Also this class name must present in wsdl which you are using in MM.

      Do check this two parameter your issue will be resolved .

  • avatar image
    Former Member
    Jan 06, 2014 at 12:25 PM

    Your URL seems ok. In SOAP UI, after importing WSDL, dig it till Request1.

    Check if your request is sent to URL in this format from SOAP UI:

    and check  if your request is sent to URL in this format from SOAP UI:

    http://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=<Sender service>&receiverParty=&receiverService=&interface=<Sender SI>&interfaceNamespace=<name space>

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 06, 2014 at 01:37 PM

    Hi Uday,

    As you said your scenario is "(ECC-PI-.NET system integration)"  but you are trying  to send message to PI system through SOAP UI instead of your .NET system. change the target URLwhich point  to  .Net system

    Regards

    Gagan

    Add comment
    10|10000 characters needed characters exceeded