Test SOAP

How to test webservice thru Receiver SOAP Adapter.I am having the path of WSDL file .Would it help

Hi,
>>How to test webservice thru Receiver SOAP Adapter.I am having the path of WSDL file
For this you need the Traget Webservice URL path and proper Access rights to get the response.
If u want to test a sample scenario with free webservice means . check here in this BLOG's
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
Regards
Seshagiri

Similar Messages

  • Error while testing Soap to JDBC

    Hi All,
    While testing Soap to jdbc i got this 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[
    java.lang.NullPointerException; nested exception caused by:
    java.lang.NullPointerException; nested exception caused by:
    org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPIData(XMLScanner.java:689)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanPIData(XMLDocumentFragmentScannerImpl.java:750)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPI(XMLScanner.java:664)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:845)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
         at com.sap.aii.af.sdk.xi.util.StreamXMLScannerImpl$EventProducer.run(StreamXMLScannerImpl.java:599)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>
    Regards,
    Nutan

    Below threads will help u
    Re: Error: ADAPTER.JAVA_EXCEPTION - EXCEPTION_DURING_EXECUTE
    Re: 401 unauthorized error in webservice scenario
    Regards,
    Jayasimha Jangam

  • Webservices to test SOAP Adaptor?

    Hi @,
    I need to test soap adaptor for which I need any free webservice for which i can get the WSDL and also can use in my scenario.
    Regards

    Hey Amit,
    In case if you have EP server available then you can access some Webservices from that. ex: Quickcarrentalservice
    Http:://<host>:<port>/wsnavigator
    Select the Folder.
    next screeen select wsdls
    Download the default - >wsdl.
    <b>Cheers,
    RAJ*</b>

  • Error while Testing SOAP Adapter In XI

    <b>Hi Frndz
    I am trying to test my SOAP adapter which i have exposed as a webservice. I testing this from the WSNavigator which throws the following error:</b>
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Set-Cookie: <value is hidden>
    Set-Cookie: <value is hidden>
    Server: SAP J2EE Engine/6.40
    Content-Type: text/xml; charset=utf-8
    Date: Thu, 15 Dec 2005 12:24:19 GMT
    <?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>DeliveryException</code>
              <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 404 : Not Found
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:144)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:512)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>
    <b>I have used this url for the Webservice:</b>
    <u>http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=:CVXSABSR_TEST_SENDER:CVXSACC_TEST_SENDER</u>
    <b>I am unable to figure out where the problem is.
    Any ideas to solve this?
    Thanks in Advance
    DhanyaR Nair</b>

    <b>Hi Andrews and Ravi
    Thanks for the quick response.
    <u>Andrews</u> the Message Servlet is in OK status, as it reponded from checking the url given by you.
    What should i try next?
    <u>Ravi</u> i checked the url for checking the Comm Channel. There are two IDs associated with the Channel
    1>Object ID
    2> ObjectVersion ID
    with the ObjectVersionID , we are getting the following error and with ObjectID we got the proper response  </b>
    <b>with ObjectVersion ID</b>
    <u>http://<host>:<port>//XISOAPAdapter/HelperServlet?action=GetChannelInfo&channelID=<Object version ID></u>
    <b>response:</b>
    <?xml version="1.0" ?>
    - <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <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.SOAP_EXCEPTION</code>
    - <text>
    - <![CDATA[
    com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Channel object with Id Channel:a9f7f390671e11daa2300012799e22c2 not available in CPA Cache.
         at com.sap.aii.af.service.cpa.LookupManager.getCPAObject(LookupManager.java:202)
         at com.sap.aii.af.mp.soap.web.HelperServlet.processGetChannelInfo(HelperServlet.java:455)
         at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:131)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         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:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
                ]]>
      </text>
      </s:SystemError>
      </detail>
      </SOAP:Fault>
    <b>with the object id</b>
    <u>http://<host>:<port>/XISOAPAdapter/HelperServlet?action=GetChannelInfo&channelID=<Object  ID></u>
    <b>Response</b>
    <?xml version="1.0" ?>
    - <s:ChannelInfo xmlns:s="http://sap.com/xi/WebService/xi30">
      <channelID>ea30ed2ccc243fe49b7c2c5646ed3b2d</channelID>
      <name>CVXSACC_TEST_SENDER</name>
      <type xmlns:st="http://sap.com/xi/XI/System">st:SOAP</type>
      <direction>INBOUND</direction>
      <party />
      <service>CVXSABSR_TEST_SENDER</service>
      </s:ChannelInfo>
    <b>with the url</b>
    <u>http://<host>:<port>/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:CVXSABSR_TEST_SENDER:CVXSACC_TEST_SENDER</u>
    <b>Response</b>
    <?xml version="1.0" ?>
    - <s:ChannelInfo xmlns:s="http://sap.com/xi/WebService/xi30">
      <channelID>ea30ed2ccc243fe49b7c2c5646ed3b2d</channelID>
      <name>CVXSACC_TEST_SENDER</name>
      <type xmlns:st="http://sap.com/xi/XI/System">st:SOAP</type>
      <direction>INBOUND</direction>
      <party />
      <service>CVXSABSR_TEST_SENDER</service>
      </s:ChannelInfo>
    <b>How should i proceed ? Any idea frndz
    Thanks in Advance
    DhanyaR Nair</b>

  • Error while Testing Soap To RFC

    Hi All,
    While doing Soap To RFC I got the following error in testing part :
    The SOAP response indicates that an error occurred:
    Server Error
    <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.lib.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xpi.adapters/NW07_04_REL/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#1 $)
         at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:428)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         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:71)
         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:71)
         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:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
         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:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
              ]]></text>
            </s:SystemError>
          </detail>
    Please help me out to solve this.
    Regards,
    Nutan

    1 Check your seder soap url.
    2 check your host in RFC destination
    use these links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79 - how to use soap adapter
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1) - rfc to xi to webservice(soap)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2) part-2
    Invoke Webservices using SAPXI - invoke the web service
    The specified item was not found. - sender rfc adapter steps
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131- [original link is broken] [original link is broken] [original link is broken] Looking for replacing SAP.NET connectors with SAP XI

  • Error while testing SOAP scenario

    I have done SOAP(Sender)--SAP-PI- SOAP(RECEIVER) Scenario. It is in synchorous mode..
    It works fine in Altove XML Spy.. and getting the response fron webservice..
    but when i;m testing it PI (RWB->Comp Monit>Integration engine-->Test Messge ) it gives me error
    " Error While Testing: Method Not implemented "
    Can anyone please help me on this.. What acould be the reason.. for this..
    Regards,
    deep

    Sunil, Thanks For your Reply...
    Payload is correct.. and mapping is also fine. I'm getting reponse from Webservices using XML SPY..
    But i have seen one warning about Integation Engine : Is Websecurity Available : Communication error Proxy calls are not permitted on sender or receiver side on the IS (client)  in Component monitoring..
    Does this warning cause this error  anyway.. ?  Because i'm getting error even in XML SPY when i defined business system as Sender and Receiver as Business Service. But if i define both are as Business Serivces.. it works fine.. (in XML SPY)
    But in both cases i'm failing in RWB(INtegration engine-:>Test message)
    Is there any relation to above mentioned warning " Is Websecurity Available : Communication error Proxy calls are not permitted on sender or receiver side on the IS (client)  in Component monitoring.. "
    Regards,
    Deep

  • How to test SOAP request using XML SPY

    Hi,
    1. I am new to WebServices concept, I have downloaded the wsdl file and now I need to test the SOAP requests using XML Spy. However, when I try to test the SOAP request generated by XML Spy I receive an error "Internal Error: Session is not available. Aborting" , How do I go ahead to generate the session, Is there a way I can provide the Username and password in the XML Spy to generate something like session.
    2. The second problem that I am facing is when I import the WSDL in XML Spy and generate the SOAP request, for all the fields xml tags gets populated with "aaaaaaaaaaaa" kind of data through out. Am i doing something wrong ? Is there some step while creating a SOAP request that I am missing becasue of which the gibbrish data is being populated as default ?
    Please Help !
    Thanks .

    I got my SOAP Requests tested using SOAP UI .. However I am still looking for ways to test it using XML SPY.
    In the SOAP UI Tool just do right click and select Add WS Security Token ..
    Thanks :)

  • Problem in testing SOAP receiver adapter using SOAP UI

    Dear Experts,
    I'm trying to test my SOAP receiver adapter as mentioned in the blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/21844. [original link is broken] [original link is broken] [original link is broken] But, my request from ECC proxy keeps failing in XI communcation channel monitor.  I've configured my receiver adapter http://ip:8080/mockSoapHTTPBinding and kept the authentication as NONE.  Can any of you suggest?
    ip - is my system ip shown in ipconfig.
    mockSoapHTTPBinding - is the path.
    Thanks.

    What is the error of the messages? Are the messages leaving the SOAP adapter?
    Please try both:
    1. Go to Runtime Workbench -> Component Monitoring -> Adapter Engine -> Test message. Then, execute the message directly without the intermediate of the Proxy sender. This will allow you to check only the receiver SOAP.
    2. Please use the TCPGateway tool attached from the note below. It will be a "man-in-the-middle" between the target WS and the Receiver SOAP channel, tracking the whole HTTP/SOAP message. Check if the message is well-formed.
    [Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856597]
    under question "Q: How can I trace the whole message?"

  • Doubt regarding testing Soap scenario (HTTPS)

    Hello Experts,
    I have a scenario where a Bapi functionality(server proxy) is exposed as a webservice .
    So scenario will be SOAP -> XI -> Proxy (calls a BAPI).
    I need to use https for this scenario. I have read most of the blogs and threads regarding this and will proceed accordingly.
    I have a simple doubt :
    After configuring a scenario to *only* accept a Soap message with appropriate valid certificate -
    If I have to test my scenario using XML spy, how can I  attach a certificate to Soap request in XML spy?
    Or is their any feature available in XMl spy or in Xi itself to do these kind of test?
    or please suggest me a work around to test the scenario configuration with certificates.
    Thanks in Advance!
    Regards,
    Xi Queries.

    Hi Swarup,
      I would like to know :
    What happens when a check for certificate validation fails in XI? It may be due to invalid certificate, expired certificate or a request from unauthorised user-
    - Will it be raised as a exception and we need to do some configuration to inform it back to Sender?
    - Will the message fail in Moni with red flag ?
    - Alerts will be created ?
    Please share your experiences and expert sugestions.
    Thanks in Advance!!
    Regards,
    XI Queries.

  • HOW TO TEST SOAP SENDER TO FILE SCENARIO

    Hi gurus,
    I have designed and configured SOAP to file scenario.
    I have used http://xyz namespace in design time.
    I have created two business systems for this sceanrio.
    I have downloaded and installed soap client on my system.
    When I open this soap client it is asking
    1)URL
    2)load request from
    3)In the editor request tab what should i give.
    4)wht is the response tab here
    I want to send data to XI from SOAP and then to file.
    Please help how to give data and how to get the data format to give in the requst editor?
    Points will B rewarded
    Regards
    Sreeni

    Hi,
    You can use a SOAP client like Altova XML spy for posting a message to XI.
    The best way to do this is to use the generated wsdl for creating a soap request.
    once the wsdl file is picked up by the soap client, it automatically generates the url.
    now the response which comes back to the soap client is usually a http status code of successful post. (since u r performing an async scenario)
    also ensure u use the j2ee port while genrating the wsdl using the "Create Webservice" option in Int Directory.
    Also chk the link for the weblog on sender soap scenario.
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    Hope this helps.
    Award points if found helpful
    Cheers!!
    Sidharth

  • SICF - HTTP 500 Error when testing SOAP RFC Service for XML load into BW

    I am trying to load a XML file into BW w/o XI.  So there is no source system as such.  I followed the 'How to guide on loading XML to BW.  I am on BW 3.5.  I went to
    transaction SICF>default_host/sap/bc/soap/rfc
    I did a RMC and selected Test Service.  A browser window open like it is trying to connect to the BW system, but I see the HTTP 500 - Internal Server Error.
    What is causing this?  All services are appearing as Active (grayed out).  I am basically trying to put the XML file into the BW delta queue.  The BW data source have been created and ther is a green entry in RSA7.
    Thanks in advance.

    Dinesh,
    My question was more reagrding one of the steps that is not working i.e. testing for webservice.  I am aware of the datasource etc.
    Hence, still looking for help on what could be the causes of my error as described in the original message above.
    Thanks!

  • Testing SOAP/ XML in ABAP  Proxy!

    Hi Experts,
                In an interview I was asked a question on abap proxy.
    In a scenerio where data from file gets into R/3 ztable through abap proxy, when data has already left XI and about to enter r/3, there is some SOAP XML format , and data can be tested/ debugged at this point. I was not sure about the exact point, but surely not the payload in SXMB_MONI.
    Can any1 tell me more about this part of Abap proxy testing.The interviewer said, this is popular testing of abap proxy scenerio .  I am also sure, I am not asking for how to debug Abap coding in the method endmethod part in SPROXY .
    Can any1 help!
    Regards,
    Arnab.

    Hi Arnab,
    In sproxy choose your interface and
    go with menu proxy---> Test interface
    follow the link which gives u step by step procedure
    XI: Debug your inbound ABAP Proxy implementation
    Regds,
    Shiva

  • Mapping error when trying to test SOAP message from RWB

    Hi all,
    I am very new to XI and I will like to get some advise for testing an asynchronous interface:
    SOAP -> XI -> File
    To test the interface:
    I logged into RWB - Component Monitoring - Adapter Engine - Test Message:
    URL: http://ootspdbs02:50100/XISOAPAdapter/MessageServlet?channel=:BS_RON_TEST:SOAP_Sender_Test
    Service: BS_RON_TEST
    Interface: MI_TestWebServiceServer_UpdatePatAdmissInfo
    Interface Namespace: urn:test:ron:fapl:TestWebServiceServer
    QOS: EO
    Payload (I generated this from XMLSpy with the WSDL generated in Integration Directory):
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns0="urn:OOTSUpdatePatientAdmissionInfoWsd">
         <SOAP-ENV:Body>
              <m:MI_TestWebServiceServer_UpdatePatAdmissInfo xmlns:m="urn:test:ron:fapl:TestWebServiceServer">
              <ns0:Header>
                   <ns0:encoding>String</ns0:encoding>
                   <ns0:sendingApp>String</ns0:sendingApp>
                   <ns0:sendingFac>String</ns0:sendingFac>
                   <ns0:receivingApp>String</ns0:receivingApp>
                   <ns0:receivingFac>String</ns0:receivingFac>
                        <ns0:timeStamp>2001-12-17T09:30:47.0Z</ns0:timeStamp>
                   <ns0:messageType>String</ns0:messageType>
                   <ns0:messageId>String</ns0:messageId>                    <ns0:messageDesc>String</ns0:messageDesc>
                   </ns0:Header>
                   <ns0:patientID>String</ns0:patientID>
                   <ns0:institutionID>String</ns0:institutionID>
                   <ns0:caseNumber>String</ns0:caseNumber>
                   <ns0:admissionDateTime>2001-12-17T09:30:47.0Z</ns0:admissionDateTime>
                   <ns0:ward>String</ns0:ward>
                   <ns0:bed>String</ns0:bed>
                   <ns0:room>String</ns0:room>
              <ns0:movementCategory>String</ns0:movementCategory>
              <ns0:movementType>String</ns0:movementType>
              </m:MI_TestWebServiceServer_UpdatePatAdmissInfo>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The error I got in SXMB_MONI is:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_TestWebServerService_UpdatePatA~</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack><b>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_TestWebServerService_UpdatePatA: RuntimeException in Message-Mapping transformatio</b></SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    <Trace level="1" type="T"><b>com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:MT_TestMsg/CaseNumber. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:303) at .....</b>
    The message mapping consists of direct maps from each field in the source to the target (MT_TestMsg).
    CaseNumber is the first field to be mapped.
    In IR, I tested the interface and it works fine - no error in mapping.
    I assume I cannot use the message generated in IR, because the SOAP envelope is required. (I tried anyway, and encountered the same error.)
    Please advise how I can resolve this error.
    Many thanks in advance.
    Ron

    Hi all,
    I notice the tag and namespaces are changed when I generate the XML from the WSDL.
    I am expecting something this format in IR:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:updatePatientAdmissionInfo xmlns:ns0="urn:OOTSUpdatePatientAdmissionInfoWsd">
       <ns0:Header>
          <ns0:encoding/>
          <ns0:sendingApp/>
          <ns0:sendingFac/>
          <ns0:receivingApp/>
          <ns0:receivingFac/>
          <ns0:timeStamp/>
          <ns0:messageType/>
          <ns0:messageId/>
          <ns0:messageDesc/>
       </ns0:Header>
       <ns0:patientID/>
       <ns0:institutionID/>
       <ns0:caseNumber/>
       <ns0:admissionDateTime/>
       <ns0:ward/>
       <ns0:bed/>
       <ns0:room/>
       <ns0:movementCategory/>
       <ns0:movementType/>
    </ns0:updatePatientAdmissionInfo>
    However, the message generated is :
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" <b>xmlns:ns0="urn:OOTSUpdatePatientAdmissionInfoWsd"></b>
    <SOAP-ENV:Body>
    <b><m:MI_TestWebServiceServer_UpdatePatAdmissInfo  xmlns:m="urn:test:ron:fapl:TestWebServiceServer" ></b>
    <ns0:Header>
    <ns0:encoding>String</ns0:encoding>
    <ns0:sendingApp>String</ns0:sendingApp>
    <ns0:sendingFac>String</ns0:sendingFac>
    <ns0:receivingApp>String</ns0:receivingApp>
    <ns0:receivingFac>String</ns0:receivingFac>
    <ns0:timeStamp>2001-12-17T09:30:47.0Z</ns0:timeStamp>
    <ns0:messageType>String</ns0:messageType>
    <ns0:messageId>String</ns0:messageId> <ns0:messageDesc>String</ns0:messageDesc>
    </ns0:Header>
    <ns0:patientID>String</ns0:patientID>
    <ns0:institutionID>String</ns0:institutionID>
    <ns0:caseNumber>String</ns0:caseNumber>
    <ns0:admissionDateTime>2001-12-17T09:30:47.0Z</ns0:admissionDateTime>
    <ns0:ward>String</ns0:ward>
    <ns0:bed>String</ns0:bed>
    <ns0:room>String</ns0:room>
    <ns0:movementCategory>String</ns0:movementCategory>
    <ns0:movementType>String</ns0:movementType>
    <b></m:MI_TestWebServiceServer_UpdatePatAdmissInfo></b>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The namespace and the root tag is changed!
    I think this might be causing the problem.
    But how do I resolve it?

  • Testing SOAP scenario

    hey guys
    i m doing a very simple SOAP scenario,can anyone help me out with how should i test my scenario,i came across XMLspy in some of the blogs,do i need to download that and how will i test my scenario.
    thanx
    ahmad

    hi,
    you need to be more specific:
    1. are you trying to create w web service exposed by XI?
    (then you need a SOAP test tool - like stylus studio etc)
    2. or maybe you want to call a web service from XI
    then you can do an HTTP - SOAP scenario
    and you don't need any toos except the http adapter test tool
    which can be found on XI FAQ page (link below)
    basicall these are your two options  
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to test HTTP request for Sender SOAP Channel

    Hi all,
    We are testing Soap requests from SOAP UI tool.
    We are able to call HTTPS calls from SOAPUI tool, but unable to call HTTP request.
    we eanbles ssl and able to post https requests.
    please advice .
    Thanks
    RGDASARI

    Hi Stefan, I configured the way you have put it, but I get the error "no receiver could be determined"
    Here are my settings:
    Sender service - HTTP_SEND
    sender o/b interface - PROD_MSG_INT_OB_ASYNC
    receiver service - FILE_RECEIVE
    receiver i/b interface - PROD_MSG_INT_IB_ASYNC
    receiver communication channel - FILE adapter
    JAVA script:
    String Party       = "MFC";
    String Service     = "HTTP_SEND";
    String XINameSpace = "mfc%3Anamespace1";
    String Interface   = "PROD_MSG_INT_OB_ASYNC";
    String Url   = "http://nemo:8000/sap/xi/adapter_plain?";
    XML DATA File:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:PRODUCT xmlns:ns0="mfc:namespace1">
    <ID>E</ID>
    <NAME>thank god</NAME>
    <BRAND>SOME BRAND</BRAND>
    </ns0:PRODUCT>
    Stefan Am I missing anything?
    XML error message:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    It would be great if you have solution for this.
    Regards
    felix

Maybe you are looking for