on 08-13-2008 6:19 AM
Hi all,
I am working on a synchronous SOAP -> SOAP scenario.
I have generated the wsdl using the link mentioned below:
http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>
also I have created the sender and recievr communication channels as specified.
Still when I send a SOAP request using ALTOVA XMLSpy, I get the following error:
<?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.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xi/NW04S_14_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:421)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
]]>
Kindly suggest solution for the problem.
Many thanks,
Neha
hi,
In the SMICM t.code choose the menu
goto->services
check there
"keep alive " time make it in between 15-19 secs
regards
kummari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is showing Connection timed out. I would suggest just try the execution steps again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi neha
check the channel name specified in the URL of the soap adapter.ensure that the channel is active
regards
kummari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Thanks for your inputs,
I am getting following error now, How do i fix it?
<?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.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Connection timed out: connect
at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)
at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:917)
at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
]]>
Hi Neha,
1. This is because of TimeOut. The default timeout value for synchronous calls is 5
minutes. You can increase this value by setting parameter XI.Timeout in the module parameter table of
the SOAP adapter. The value must be given in milliseconds. For example, value 600000
represents the timeout value of 10 minutes. This parameter is not recognized in systems prior to SP13.
2.The Other Options is send the queue id with your request message.
http://host:port/XISOAPAdapter/MessageServlet?channel=p:s:c
&version=3.0&...&QueueId=xxxxxxxxxxxxxxxx
where xxxxxxxxxxxxxxxx is an ABAP queue ID.
3.Check your RWB message monitoring.
Is there any system failure message and holding message be there.
If then clear the messages.
4. Increase the time out parameter for HTTP in your altova xml spy.Defaultly it will be very low.
Regards,
Prakasu
hi neha
in the below PDF document check page 40,41...
regards
kummari
Hi All,
Thanks for your replies. i tried all the suggested solutions but its still not working.
If it can help, I have created my scenario in the following manner.
1) I created two DATA TYPES one containing two arguments 'int1' and 'int2' and the other containig just one argument 'result'.
2) I used these data types in my outbound synchronous interface. I imported the WSDL of the calculator webservice and used the message types in the inbound synchronous interface.
3) i completed the required steps in Design.
4) in config for the sender SOAP Communication Channel; i gave the"Default Interface Namespace" as that of my Outbound Synchronous interface. and the "Default Interface Name" as my Outbound Synchronous interface.
5) i completed all steps in Config and then used the "Define a WEB SERVICE" option to create WSDL corresponding to my outbound Interface.I used the following URl for that:
http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>
6) i imported the WSDL in ALTOVA XMLSpy and when I send a SOAP request, I get following message:
<?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.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Connection timed out: connect
at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)
at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:917)
at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
]]>
Please suggest solution.
Edited by: Neha Nagrani on Aug 14, 2008 7:45 AM
Hi,
Can you once again check the End Point URL you have used,.....it needs to service name as Channel name same as you had configured---> Case Sensitive.
Make sure if the all the development is active...
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Neha,
This might be because of wrong XML name spaces in your WSDL. XMl SPY doesnt create proper name spaces for XSLT Mapping or WSDL creation.
Try to change the Name spaces & schema declaration according to the sender and receiver services.
Best Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
if you are not using Service in u r scenario, please dont use <service> in u r URL
http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>;
remove service and create one more WSDL file run the scenario.
Thanks,
Madhav
Note:points if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
if you have configured the channel properly then check:
1.Whether that channel is active or not in ID.
2.Whether that channel is started in communication channel monitoring in RuntimeWorkbench.
3.Whether that adapter is active or not in adapter monitoring in RWB
regards,
ujjwal kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.