on 12-19-2007 7:37 AM
Dear all,
I have Created Webservice to RFC scenario. and i have a webservice(wsdl file). also i have installed XMLSPY .
question: Need Assistance in testing my webservice in XMLSPY.
Please help me by explaining the procedure for testing the webservice in XMLSPY.
I am very New to XMLSPY.
Thank's in advance.
Edited by: senthilprakash selvaraj on Dec 19, 2007 8:37 AM
Dear all,
i am getting a new error in XMLSPY
its comming as " *HTTP ERROR:Could Not POST FILE*" "*ERROR SENDING HOST DATA*"is comming
******start**********
<?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>ModuleUnknownException</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/NW04_15_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#2 $)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:380)
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: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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
]]></text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
********end********
please help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all,
The same error is still comming. I have checked my Comm channel and services they r fine.
NOTE: I tried to deploy another WSDL file of my friend. it is also showing the same problem in XMLSPY.
This WSDL file is working fine and is also implemented in the PRD server. so i guess some problem in XMLSPY. Please Advice.
Question: do we need to have any extra credentials(autherisation) for deploying webservices?
I had the same problem. I solved it just changing soap request parameters. I changed & amp ; to just &. Hope this help
Regards
Edited by: fede groso on Jan 14, 2008 1:24 PM
Edited by: fede groso on Jan 14, 2008 1:24 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
****
Edited by: senthilprakash selvaraj on Dec 19, 2007 12:02 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Nikhil,
when i run wsdl file i get following error in XMLSPY. But my scenario is complete i am sure of it....! do i have to manually configure XMLSPY ports. for makeing it work properly?
****************************start********************************
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>System Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context/>
<code>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>
<text>Message is incomplete. No Sender found</text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
***********************stop*****************
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi check your adapter engine in the runtime work bench that both the adapters are running fine( at receiver and sender end).
You have to check your receiver determination and make sure that the Interface mapping is listed there.
test your Interface mapping in the IR.
there is no configuration/problem with XML Spy. Tell me what error number you are getting in the Error Dialog in the XMLSpy.
Did you Define Web Service for Sender channel?
hi..
U hv download the correct version of the ALtova XML Spy tool..
chk this link,
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Thanks
MANas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All / Nikhil,
when i run wsdl file i get following error in XMLSPY. But my scenario is complete i am sure of it....! do i have to manually configure XMLSPY ports. for makeing it work properly? why Output is not comming in XML spy?
****************************start********************************
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>System Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context/>
<code>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>
<text>Message is incomplete. No Sender found</text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
***********************stop*****************
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is a problem with your receiver determination.check the address you are posting to and all values which determine the receiver. Check out the receiver determination once again if u are using the conditional receiver. Also check if u are using the synchronous messagin , no need for receiver determination.
you need to send to URL http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel .Inside the Adapter you ve to give the Interface and the Namespace.
other possibility is check out for the proper data in XML spy. and you need to put all the values for all fields. Test it using Runtime workbench.
Also check out if xml spy able to replace the & to just &. or special character.
Hope this will help you.
regards
Aashish Sinha
PS : reward points if helpful
Edited by: Aashish Sinha on Dec 19, 2007 10:13 AM
hi..
when u define web service in the configuration part check whether u give the correct ULR for the integration server SOAP inbound channel.
E G:
for PARTY config:
http://host:port/XISOAPAdapter/MessageServlet?channel=<party17>:<BS_soap_send>:<channel>;
if there is no party config:
http://host:port/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>;
give ur service name and channel name
THAnks
MANas
go to soap menu ->> create/new soap message
browse your wsdl file
the wsdl opens with the request. put the parameter values correctly(valid values) and choose send message to server from SOAP menu. if all things are correct, it shows result. else shows message dialog box and error reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer this blog section Testing, it will tell you how to send the SOAP message to XI using XML spy:-)
Thanks
Farooq.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.