cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL generated through display WSDL option -ISSUES

Former Member
0 Kudos

I've built a "SOAP -to -SOAP" scenario, now from the sender agreement first I published then generated wsdl. Then from "Display WSDL option"

Now I am trying to access the URL through the SOAP UI. It is returning me the following error...

NOTE:

My PI Virtual machine is on a different server, I am accessing SAP PI locally and all are on the same network.

<!--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: Application:EXCEPTION_DURING_EXECUTE:

  at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1214)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:592)

  at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:74)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)

  at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)

  at com.sun.proxy.$Proxy2678.process(Unknown Source)

  at com.sap.aii.af.app.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:290)

  at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:592)

  at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:74)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)

  at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

  at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)

  at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)

  at com.sun.proxy.$Proxy73.process(Unknown Source)

  at com.sap.aii.adapter.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:187)

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

  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:162)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  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.MemoryStatisticFilter.process(MemoryStatisticFilter.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.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)

  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:428)

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

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

  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:327)</text>

            </s:SystemError>

         </detail>

      </SOAP:Fault>

   </SOAP:Body>

</SOAP:Envelope>

Accepted Solutions (0)

Answers (2)

Answers (2)

manoj_khavatkopp
Active Contributor
0 Kudos

Naveed,

Where are you triggering data from soap UI is it pi server or local desktop?  If local then I guess you are being restricted to send message to PI server.

Former Member
0 Kudos

How I am able to solve this issue? Why there is a restriction as I mentioned earlier as well...

NOTE:

My PI Virtual machine is on a different server, I am accessing SAP PI locally and all are on the same network.

former_member186851
Active Contributor
0 Kudos

Hello Naveed,

check the below points

1.Username/password in the SOAP UI

2.Also check whether HTTP URL is selected, Sometime by mistake HTTPS URL gets selected as endpoint.

3.Proxy settings-In some cases even if your in same network we need to enable to access HTTP request.

Former Member
0 Kudos

1- Already passed username and password

2- http://host:50100/XISOAPAdapter/MessageServlet?senderParty=&senderService=OracleBSystemHandshake&rec...

3- not sure about this, will checkout and get back to you.

former_member186851
Active Contributor
0 Kudos

If the 3rd point is also fine check the Communication channel monitoring.

whether the channel is up and running.

Former Member
0 Kudos

Please see the snapshots below of both the channels.

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Naveed,

First check in your PI system whether did you receive message from SOAP UI , then you need to check whether in the receiver soap channel is the end point url mentioned i is correct or not ? Is the receiver web service is internal or external to your client network ? if external you need to enable proxy in your receiver channel.Put the end point url in web browser and check , or you can try telnet or ping command for receiver host from OS level.

Br,

Manoj

former_member186851
Active Contributor
0 Kudos

Naveed,

What is your scenario?

Please post the entire flow.

I guess there is something wrong in URL or some setting.

Former Member
0 Kudos

The Inbound interface uses the following service

I access the following service directly through the .NET code just for double checking.

http://host.ke.com.pk:50100/sap/bc/srt/wsdl/bndg_00155DC8DA1B1EE5A1FB5618A2866746/wsdl11/allinone/ws...

former_member186851
Active Contributor
0 Kudos

Naveed,

Did you maintain soap action in the receiver channel? I guess you missed it.

Former Member
0 Kudos

Synchronous to Synchronous/ SOAP to SOAP scenario.

The inbound interface behind the scene uses another client (a client copy of the SAP PI 001 client).

the Outbound soap envelop is...

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rfc="http://RFC_Using_BPM">

   <soapenv:Header/>

   <soapenv:Body>

      <rfc:FileRequest_MT>

         <!--Optional:-->

         <FlightID>

            <!--Optional:-->

            <AirlineID>UA</AirlineID>

            <!--Optional:-->

            <ConnectionID>0942</ConnectionID>

            <!--Optional:-->

            <FlightDate></FlightDate>

         </FlightID>

      </rfc:FileRequest_MT>

   </soapenv:Body>

</soapenv:Envelope>

Former Member
0 Kudos

What exactly I've missed can you please elaborate?

Former Member
0 Kudos

How can I maintain soap action in receiver channel? I don't know what are you talking about.

manoj_khavatkopp
Active Contributor
0 Kudos

Naveed,

Instead of testing the whole flow completely i.e instead of sending the message to PI from SOAP UI , try to hit the receiver webserviece first by taking the third party URL in SOAP UI and send some data and check if you are getting the same error if the problem persists then you need to check with third party.

Br,

Manoj

Former Member
0 Kudos

I already mentioned that I tried to call the receiver service successfully through the .NET environment.

Please notice that soap action is missing, what needed to be provided in it?

Former Member
0 Kudos

What should I pass the value for the soap action?

former_member182412
Active Contributor
0 Kudos

Hi Naveed,

Are you creating SOAP envelop in the mapping? if not please uncheck 'Do Not Use SOAP Envelop' and test the scenario. (If you tick this box SOAP adapter will not add soap envelop for your payload and the web service call will fail)

Regards,

Praveen.

Former Member
0 Kudos

<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: java.io.IOException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK

  at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1214)

Former Member
0 Kudos

I made the changes but still getting the error.

former_member182412
Active Contributor
0 Kudos

Hi Naveed,

I am making sure did you uncheck the 'Do Not Use SOAP Envelop' option as i mentioned above? after you made this change are you getting above error??

If you still receive the error enable TraceHTTP parameter as per below blog and check the request and response.

Regards,

Praveen.

former_member186851
Active Contributor
0 Kudos


Naveed,

Instead of testing Via PI ,directly send message to webservice through PI and check.

And also check for proxy settings as I mentioned earlier.

former_member182412
Active Contributor
0 Kudos

Hi Naveed,

I think you are calling service residing in SAP system via web service runtime and the URL you got is WSDL url for that service not the end point URL.

You need to open the URL(http://host.ke.com.pk:50100/sap/bc/srt/wsdl/bndg_00155DC8DA1B1EE5A1FB5618A2866746/wsdl11/allinone/ws...) which you currently have in the browser and take the endpoint url from location attribute.

Regards,

Praveen.

Former Member
0 Kudos

I am new to SAP PI, can you please guide me how I am able to directly send the message to the webservice through the PI.

former_member186851
Active Contributor
0 Kudos

Naveed.

Directly from SOAP UI,Just give the endpoint of webservice and send request.

Check if your getting the response required.

Former Member
0 Kudos

no actually I am asking from SAP PI how to directly send message?

former_member186851
Active Contributor
0 Kudos

you can send using Runtime workbench or WS Navigator.

iaki_vila
Active Contributor
0 Kudos

Hi Naveed,

Check this link

Regards.

Former Member
0 Kudos

I am able to send the message through ws navigator

former_member186851
Active Contributor
0 Kudos

Then ur doing something wrong in the SOAP UI Naveed.Please import the WSDL and try once again.

former_member182412
Active Contributor
0 Kudos

Hi Naveed,

Did you read my reply ?? you were using WSDL url as endpoint, did you change it to correct url (as per my previous reply) in the channel and did you test??

Regards,

Praveen.

former_member186851
Active Contributor
0 Kudos

Hello Naveed,

Did you maintain Username/password in the SOAP UI.

Also check whether HTTP URL is selected,Sometime by mistake HTTPS URL gets selected as endpoint.