How to test a webservice scenario...

Hi,
In SAP PI, I need to test a scenario that involves webservice. I can see in Integration directory
that a communication channel has been defined as sender with adapter type as File. So I assume that a file is being picked up
from the FTP server.
Also There is another comm channel of type receiver, adapter type as SOAP with a target URL.
Now I dont know how to test this ? Any pointers how to check
from where this request to webservice is initiated ? I have not worked
on web service scenario before, so need help to understand to test the end to end.
thanks

HI
Your's is a file to  SOAP scenario, to test this follow this steps:
Now I dont know how to test this ? Any pointers how to check
from where this request to webservice is initiated ?
1. Do you have test data? any file that is archived in sender FTP under archive directory.If not then go to your
    mapping progrram->test tab-> fill test data (all mandatory fields)->switch to xml tab- Copy the whole content
    ->save it in a text pad->see the file name maitained in the sender file adapter->rename the file and place in
     the location mentioned in the sender FTP.
2. Check  in RWB if the channels is active and you can see the  file being picked in the log ,you can see SXMB MONI
  also if there is checkerd flag.
3. To see if the soap posing has happened or not you can see the soap channel monitoring in RWB  and read the log
    or you can confirm the posting with the  team which received the data( portal /Webservice).
Regards,
$rinivas

Similar Messages

  • How to test the B2B scenario ?

    How to test the B2B scenario ?
    Because the client may not give permition to test, then i heard  one thing in RWB we can test the data, how and where we can test the data ?

    Venkat,
    Follow the below procedure.
    Go to RWB, choose Component Monitoring , click Click Display
    Expand Integration Server node -Click Integration Engine .
    In the bottom of the page go to TestMessage tab.
    In the Service/Interface/InterfaceNamespace enter the Sender Service & Outbound Interface details
    Enter your username & pwd and choose the qos.
    Paste the payload in the payload area.
    Now click SendMessage .
    Done!
    raj.

  • How to test Siebel webservice in Jdeveloper that uses Authentication?

    Hi..
    I am testing siebel webservice in Jdeveloper 11.1.1.5 by right clicking on WSDL n using "Test webService".But it is giving 500:internal server error..I tried everything..basically i have to pass username password in authentication.I have tried "Authorization-basic" and also tried vis "SOAP Headers > :WS-Security:Header" but of no use.I also tried the above mentioned way.."security-role-assignment" in web.xml and weblogic.xml but that is also not working.The webservice is working fine on SOAPUI but not wroking on Jdeveloper.Is there anything that Iam missing in configuration part...or in HTTP analyzer?? Please help.
    Thanks!

    In transaction SICF  you could enter a (system) user for your webservices so that you won't require authentication. (However, you should check if this is a good and valid option in the context of your application.)
    In addition, you can provide your SAP credentials (username, password) within Adobe Flex itself. Read more about the "URLRequestHeader" function.

  • How to test a webservice as a standalone?

    Hi All,
    I just wanted to know as to how I could test an XI webservice which accepts messages in soap without having to create a web dynpro component for the same.
    Can someone help me with a step by step process to test the service by passing import parameters directly to the service.
    Thanks in advance.
    Best regards,
    Divya

    Hi Divya,
    There are many tools to test webservices.
    1. XMlSpy
    http://www.altova.com/features_soap.html
    2. Parasoft SOATest
    http://www.parasoft.com/jsp/templates/ads/google/googlesoap1.jsp;jsessionid=aaabTTtXGGgHP7?redname=googlesoap1&referred=googlesoap1
    3. WebserviceStudio(my fav, easy and free)
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    4. SAP SOAP Client
    https://www.sdn.sap.com/jws/soapclient.jnlp
    cheers,
    naveen
    Message was edited by: Naveen Pandrangi

  • Testing webservice scenario

    Hi Experts,
    How to test the webservice scenario with more than 10 users at a time?
    Thanks & Regards
    Sara

    Hi Sara,
    As u metioned to calculate the CPU utilization for the scenario which are invoked at the same time for more users.We can create multiple users with different user id's
    and coming to the point of calculating the CPU usage pls consult ur SAP XI BASIS team they would be helping u out and allow n users to access the service parallel
    sara pls chk this link
    Good One *********************
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/07ddd490-0201-0010-698b-e240c0f58bbd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e00ac676-7b92-2910-6b81-dad421126406
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/7dc33a0f374932e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a6c4d505211d189550000e829fbbd/frameset.htm
    /people/sap.user72/blog/2006/03/22/how-to-stop-xi-server-utilizing-99-cpu-cycles
    if found worth pls do the req
    ok
    Regards
    Sampath

  • How to test BPM Scenario?

    HI,
    Experts,
    I have developed a BPM scenario successfully but i didn't understand how to test that BPM Scenario i tried test that in ID->Test Configuration but i having only one sender details how to another sender details or any transaction to test BPM.
    Thanks in advance
    Shabeer Ahmed.

    For testing purposes you can use RWB.
    Give all the details like Sender Business System, Message Interface and Namespace and the correct payload.
    It just mimics your sender system provided you have only one sender in your BPM.
    otherwise you need a parallel instance of RWB for different senders.
    Thanks,
    - Gujjeti.
    Edited by: Praveen Gujjeti on Mar 18, 2009 1:58 PM

  • How to test end to end scenario at RWB??

    Hi Experts
    is it possible to test end to end scenario at RWB???
    My scenario is SOAP to RFC and i should test whether my scenario is working fine or not????
    what types of testing has to be done and how???
    plz help me out
    Thanx in advance for your help

    Hello,
    In RWB goto Component monitoring -> Adapter Engine  on the screen you will be able to see three tabs
    Status Setting and Test Message.
    Goto test message. Give the details URL and payload for the soap execute.
    You can test it from otherway like suggested in above post.
    Thanks,
    Siddhesh

  • How to test the RFC to Flat File scenario

    Hi,
    How to test the RFC to Flat File scenario
    regards,
    kiran

    Hi,
    After running the RFC it's going Dump.
    this is the error message i got.
    "Error analysis                                                                     
    An error occurred when executing a Remote Function Call.                     
    "CPI-C error CM_RESOURCE_FAILURE_NO_RETRY"                                                
    Status of connection.... "CODE=CM_RESOURCE_FAILURE_NO_RETRY -1 -1 SAPCODE=666
    CONV="                                                                      
    Internal error code.... "RFC_IO5"                                                           
    There is an error in the communication system. To clarify                    
    and resolve the error, contact your system administrator.                     "

  • How to test XI- Reciever connection from RWB. (RFC-XI-WebService)

    Hi Experts
    I have built the RFC to XI to Web Services scenario. My RFC destination is yet to be created. But I wanted to test "XI to Web Services" part in the Run time Work Bench.
    As per my scenario design I have to send 1. First Name and 2. Last Name as pay load and the webservice will accept the two parameters, concatenate the two strings and send "Full Name" to XI.
    Kindly provide me the steps to test the Webservice part in my scenario from RWB.
    Regards
    Ram

    Hi,
    1. With the below provided steps you can monitor up to IE
    Open Message/ Interface Mapping > Enter the details (First, Last Name)> Change the view to get the source code...just click SRC button--> Copy the entire payload --> RWB: Component Monitoring --> Integration Engine > Test Message> Enter Details --> Send.
    2. If you want to see target then ask your web service team to provide target web service URL and details
    Rgds,
    MFH

  • How to test an scenario

    Hi,
    After completing a scenario(eg:file to filr),how to test it...whether it is working fine or not..
    Thanks in advance.

    Hi,
    In order to test you file to file scenario,
    First test whether your mapping is working fine in the integration repository(Design) by going into your message mapping test tab, then provide the necessary values there and test it.
    If it is correct it will display the output, if not it will throw some errors.
    Next to test the interface with configuration go to test configuration in Integration directory and provide the necessary values of sender and receiver details along with payload and test it.
    To do an end to end testing, you need to place the input file in the source directory.
    For the input file, go to message mapping and go to test tab and provide the details and select the src(xml) file and place it in source directory along with the file name and extension you have provided in the integration directory sender communication channel.
    If the file is not picked up the goto RWB and check the communication channel monitoring for your sender channel.
    If file is picked and it has error it will display when you enter the tcode sxmb_moni.
    If file is processed successfully and file has not reached target directory then check your receiver cc in rwb.
    I hope it clears your query.
    Regards,
    Nithiyanandam

  • How to test scenario in diffrent clients

    Hi All,
    I have created a scenario which involves integrating Tibco and ECC systems. My QSN is how to test my scenarion in different clients. I have tested in 100 client , now i want to test in 300 cleint before moving to QA. Do i need to change my configuration to make it work in 300 clients.Please let me know.
    Thanks in advance.
    Kalpana

    hi,
    >>>My QSN is how to test my scenarion in different clients. I have tested in 100 client , now i want to test in 300 cleint before moving to QA.
    if you want to test it with another client of ERP
    then you need to change the config from directory
    or use transport targets that will change it for you when you export
    and import from directory
    http://help.sap.com/saphelp_nw04/helpdata/en/ef/a21e3e0987760be10000000a114084/content.htm
    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 maintain EOIO for JMS to multiple webservices scenario

    Hi,
    I have a requirement that
    how to maintain EOIO for JMS to multiple webservices scenario.
    JMS queue has multiple messages, each message has to be sent to either of 2 receivers.
    How to maintain EOIO in case, when there are 2 receivers.
    Regards
    Sekhar

    Hi,
    since messages are split between 2 webservices receivers, each would have its own SOAP adapter.
    So if order of messages in the JMS queues is M1, M2, M3 and M4 . There is a field based on which split happens.
    Say, if M1 and M3 have to go Webservice1 (will have its own mapping)
    and M2 and M4 have to go Webservice2. (will have its own mapping)
    we'll have two receivers in the receiver determination and hence two Interface determinations.
    The result should be
    M1 delivered to Webservice1
    M2 delivered to Webservice2
    M3 delivered to Webservice1
    M4 delivered to Webservice2
    How will we maintain EOIO in this case?
    Regards,
    Balaji.M

  • How to use InfoPath to test the Webservice

    Hi,
       I have WSDL file , i want to test the webservice after creating it using infopath.
    Please give me some info how to create Webservice using MicroSoft InfoPath.
    Thanks,
    Siva

    Hi,
    This might help you
    /people/durairaj.athavanraja/blog/2004/09/07/microsoft-office-2003-infopath-sap-rfcwebservice
    Regards
    Agasthuri Doss

  • How will u transport Xi scenario from development to testing?

    How will u transport Xi scenario from development to testing?

    Hi,
    There are mainly two ways for transportation in XI:
    1. Transporting XI Objects:
    http://help.sap.com/saphelp_nw04/helpdata/en/93/a3a74046033913e10000000a155106/frameset.htm
    2. How To…Transport XI Content Using CMS:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f85ff411-0d01-0010-0096-ba14e5db6306
    The second method is more useful.
    Note: Please close the thread once it is answered.
    Regards,
    Subhasha

  • How do u test the entire scenario in XI?

    How do u test the entire scenario in xi?

    Hi,
    If you need to test only the mapping then you can go to Test tab in Message mapping or Test tab in Interface mapping and test it.
    If you need to test the entire scenario without adapters you can go to ID and select the menu Test Scenario.
    OR
    You can go to Runtime Workbench and when you click on the Integration Server you will find the Test tab in the bottomthere you can test the same.
    The above dose'nt include adapter, if you need to tes it with adapters then you need to test like actually realtime execution.
    Regards,
    Prakash

Maybe you are looking for