Skip to Content

how to test webservice (wsdl)....?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

9 Answers

  • Best Answer
    Dec 19, 2007 at 11:01 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 -->

    http://schemas.xmlsoap.org/soap/envelope/">

    <SOAP:Body>

    <SOAP:Fault>

    <faultcode>SOAP:Server</faultcode>

    <faultstring>Server Error</faultstring>

    <detail>

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • it looks like your configuration steps are not fine, recheck the configuration steps, when you delopy your WSDL fine thenonly the messages enter the XI, you should find the piplpeline steps where it is breaking and check....

  • avatar image
    Former Member
    Dec 19, 2007 at 09:05 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 19, 2007 at 07:50 AM

    Refer this blog section Testing, it will tell you how to send the SOAP message to XI using XML spy:-)

    Thanks

    Farooq.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 19, 2007 at 08:02 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 19, 2007 at 09:04 AM

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

    http://schemas.xmlsoap.org/soap/envelope/">

    <SOAP:Body>

    <SOAP:Fault>

    <faultcode>SOAP:Server</faultcode>

    <faultstring>System Error</faultstring>

    <detail>

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Dec 19, 2007 at 09:07 AM

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

    http://schemas.xmlsoap.org/soap/envelope/">

    <SOAP:Body>

    <SOAP:Fault>

    <faultcode>SOAP:Server</faultcode>

    <faultstring>System Error</faultstring>

    <detail>

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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?

  • Dec 19, 2007 at 10:57 AM

    ****

    Edited by: senthilprakash selvaraj on Dec 19, 2007 12:02 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 20, 2007 at 08:56 AM

    Hi,

    There are a very useful tool : http://www.soapui.org for testing Web Services.

    Best Regards

    Ivá

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 14, 2008 at 12:23 PM

    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

    Add comment
    10|10000 characters needed characters exceeded