cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (6)

Answers (6)

gagandeep_batra
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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>

Former Member
0 Kudos
rhviana
Active Contributor
0 Kudos

Hi Uday,

Could you please shared the error into AuditLog of adapter enginne

Kind regards,

Former Member
0 Kudos

Hi Viana,

This is the audit log for the above message.

06.01.2014 17:07:14.696InformationMessage was received by the messaging system. Protocol: XI URL: http://sndpips1:50200/MessagingSystem/receive/AFW/XI Credential (User): PIISPS1
06.01.2014 17:07:14.698InformationUsing connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the request queue
06.01.2014 17:07:14.701InformationMessage successfully put into the queue
06.01.2014 17:07:14.702InformationThe message was successfully retrieved from the request queue
06.01.2014 17:07:14.702InformationMessage status set to DLNG
06.01.2014 17:07:14.703InformationDelivering to channel: CC_WS2WS_REC
06.01.2014 17:07:14.703InformationMP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
06.01.2014 17:07:14.703InformationXI packaging (bulk mode) is not enabled. Switching to normal processing....
06.01.2014 17:07:14.703InformationXISOAP: XI message received for processing
06.01.2014 17:07:14.704InformationSOAP: Request message entering the adapter processing with user J2EE_GUEST
06.01.2014 17:07:14.711ErrorMP: exception caught with cause 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: .
06.01.2014 17:07:14.711ErrorSOAP: Error occurred: 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: .
06.01.2014 17:07:14.711ErrorSOAP: Response message contains an errorXIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: .
06.01.2014 17:07:14.711InformationSOAP: Continuing to response message e3b4647d-76c6-11e3-9bac-000001c8cd9a
06.01.2014 17:07:14.711InformationSOAP: Processing completed
06.01.2014 17:07:14.720ErrorException caught by adapter framework: SOAP: Response message contains an errorXIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: .
06.01.2014 17:07:14.724ErrorDelivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: 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: .. Setting message to status failed
06.01.2014 17:07:14.725ErrorMessage status set to FAIL
markangelo_dihiansan
Active Contributor
0 Kudos

Hi Uday,

It looks like PI is already receiving your request. The problem is in the configuration of the receiver. In your SOAP Receiver CC, make sure there is a value for the SOAP Action.

Regards,

Mark

Former Member
0 Kudos

Hi Mark,

Still i am facing the same problem. Let me explain my complete scenario so that you can provide me helpful inputs.

I am developing a mock (ws-pi-ws) scenario. I have taken target wsdl. I have imported target wsdl under external definitions and created service interface for target. At source side i have manually created DT, MT, SI for source system with the same fields in the target side. Later created 2 MM and a operation mapping. Later configured the end to end scenario with a soap CC at each side.

Request & Response transformations are correct in test tab of message mapping in ESR. Also configuration set up is correct when i test it from tools options in application tool bar in ID.

Ganerated wsdl from sender aggrement. Loaded it in SOAP UI 4.6.1 and selected HTTP end-point;  authentication type preemptive. Provided username and password. When i hit the end point it throws the following error.

<!--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>

---------------------------------------------------------------------------------------------------------------

The audit log in message monitoring of AE is as shown below

06.01.2014 17:07:14.696InformationMessage was received by the messaging system. Protocol: XI URL:http://sndpips1:50200/MessagingSystem/receive/AFW/XI Credential (User): PIISPS1
06.01.2014 17:07:14.698InformationUsing connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the request queue
06.01.2014 17:07:14.701InformationMessage successfully put into the queue
06.01.2014 17:07:14.702InformationThe message was successfully retrieved from the request queue
06.01.2014 17:07:14.702InformationMessage status set to DLNG
06.01.2014 17:07:14.703InformationDelivering to channel: CC_WS2WS_REC
06.01.2014 17:07:14.703InformationMP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
06.01.2014 17:07:14.703InformationXI packaging (bulk mode) is not enabled. Switching to normal processing....
06.01.2014 17:07:14.703InformationXISOAP: XI message received for processing
06.01.2014 17:07:14.704InformationSOAP: Request message entering the adapter processing with user J2EE_GUEST
06.01.2014 17:07:14.711ErrorMP: exception caught with cause 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: .
06.01.2014 17:07:14.711ErrorSOAP: Error occurred: 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: .
06.01.2014 17:07:14.711ErrorSOAP: Response message contains an errorXIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: .
06.01.2014 17:07:14.711InformationSOAP: Continuing to response message e3b4647d-76c6-11e3-9bac-000001c8cd9a
06.01.2014 17:07:14.711InformationSOAP: Processing completed
06.01.2014 17:07:14.720ErrorException caught by adapter framework: SOAP: Response message contains an errorXIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: .
06.01.2014 17:07:14.724ErrorDelivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: 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: .. Setting message to status failed
06.01.2014 17:07:14.725ErrorMessage status set to FAIL

Later rechecked the SAP_XI_APPL_SERV_USER role; target url and soap action but still the issue persists.

Note : Cannot see all the pipeline steps(1 step i can see)

Please share your ideas

Regards

Uday

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Uday,

Can you provide more information:

1. Are you using dynamic configuration?

2. Can you paste here the URL you are trying to connect to?

3. Screenshot of your SOAP Receiver CC

Regards,

Mark

shashi_patan
Active Participant
0 Kudos

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 .

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Srinivas,

Also i have tried with the following url

http://sndpips1:50200/XISOAPAdapter/MessageServlet?senderParty=&senderService=BC_WS2WS_SEN&receiverP...

and also passed the username and password combination in the url.

In both the ways, i am getting the same error.

Regards

Uday

Former Member
0 Kudos

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

Former Member
0 Kudos

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>

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Abhinav,

Thanks for your input.

Please let me know where can i set Authentication Type = Preemptive ?

Regards

Uday

Former Member
0 Kudos

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.