Testing of SOAP to FILE Scenario

Hi all
I have done with SOAP to FILE scenario.
--> while defining web service what we need to give in the URL????
--> How to test this SOAP to FILE scenario to see wheather it is working fine or not, what are the all options
Thanks
Dheeraj

Hi Dheeraj,
Definitely you can test it through the microsoft infopath tool.
steps to follow:
Executing wsdl File Using Microsoft Info Path
1.>Click on the design a from template
2.>Select the Web service icon and click ok
3.>Select the radio button u2018receive and submit datau2019 and click on next.
4.>Enter the path of the generated wsdl which u have saved and click next.
5.>Select the interface and   click next
6.>Select the interface and   click next. 
7.>Double click on parameters.
8.>Double click on the parameter (which you want to send as request). Then click on the query field and click ok.
9.>Click next. And click Finish
10.>Now drag the query fields on the data fields to the left side. And click preview.
Please follow these steps I hope you will be able to test it.
Thanks and regards,
Nutan

Similar Messages

  • JCO problem in SOAP to file scenario

    Hey guys
    i m doin a SOAP to file scenario and getting a JCO error in moni,the status of my queue in SMQ2 is SYSFAIL,when i check the TCP/IP connection in SM59 i find error in two places
    AI_DIRECTORY_JCOSERVER and AI_RUNTIME_JCOSERVER .when i test connection for both of them i get the followin error "Error opening and RFC connection".
    is this error dues to some server problem of something wrong in my scenario.?
    the SOAP adapter in RWB is green.
    i tried to unlock and delete the queue in SMQ2 but when i execute my scenario again,it gets SYSFAIL error.
    thanx
    ahmad

    Hi,
    If you restart the J2ee engine, it will work.
    But The error may because of many reasons
    -Might be because of lots of messages are to be processed simultaneously.
    -Increasing the number of processes in VisualAdmin (VisualAdmin>JCO RFC Provider>AI_RUNTIME_<SID>) and see if that helps.
    -This  SAP Note may help u -709140.
    Hope this helps,
    Regards,
    Moorthy

  • Doubt Regarding SOAP to File Scenario

    Hi All,
    I am trying to create a SOAP to File scenario .These are the following things I have done so far :
    IR -  2 datatypes ( 1 for soap message and 1 for file message )
           2 message types for the corresponding messages
          2 Message interfaces, both are asynchronous
          1 message mapping
          1 interface mapping
    ID- 2 business systems (1 to send soap, 1 to recieve file )
        2 communiccation channel (soap sender, file receiver )
    soap sender adapter parameters - Interface Name  - Message interface for soap message
                                                      interface namespace - scenario namespace
    Then,  i generated a wsdl file to expose the outbound message interface for soap message as a web service, url for message interface : http://host:port.XISOAPAdapter/MessageServlet?:service:channel.
    After generating the wsdl file, i imported it in external definition
    Could anyone plz. tell me, is this the right approach to creat this scenario ? how can I test this scenario?using altova spy ?

    Hi,
    The URL you have mentioned to genarate WSDL is not a valid one
    http://host:port.XISOAPAdapter/MessageServlet?:service:channel.
    Check the below valid URL
    http://host:port/XISOAPAdapter/MessageServlet?channel=:service:channel.
    You no need to import this to the Eexternal Definition as you already have DT,MT and MI, Any way this dosn't make any difference.
    You can use SOAPGUI Tool to test:
    ->Create New Project -> provide WSDL you have genarated.
    ->Select Request and provide username and password and click the green button on top(Submit request to end URL).
    Using altova spy:
    Select SOAP Menu->Create New SOAP Request and provide your WSDL file and
    SOAPMenu->Send Request To Server
    Then you will get response..
    Regards,
    Prasanna

  • Soap to File Scenario with BPM

    Hi Guys
    I have create my Soap to File Scenario using BPM to split the file on "Transformation step" into 7 files and it must save these files to my FTP Server, when testing on sxmb_moni I don't get any errors but when checking on the FTP server no files are created, and I understand that it should be showing all seven processing on the sxmb_moni, but that is not happening.
    I have used the ForEach mode on my Block.
    What could I be doing wrong.
    Thanks!!
    Yonela

    go to runtime work bench to see communication channel, especailly the receiver channel.
    To see what happened on it

  • File to Web service (SOAP) to File scenario with out BPM in PI 7.1

    Hi All,
    I have scenario File to Web service (SOAP) to File scenario with out BPM.i am getting the below error:
    1) Error MP: unexpected exception caught com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    2) Error ROB: error during processing: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Processing Error
    PI server is 7.1 with SP:8
    I have configured the scenario like this
    1) 2 File channels - Sender & Receiver ,1 RFC channel - Receiver. We need to note that, the additional Module parameters need to be added only for sender File channel
    2) Created Sender Agreement
    3)Created Receiver Determination
    4)Created Interface Determination
    5)Created Receiver Agreement
    Regards,
    Ramesh

    Hi,
    Thanks for your reply!!
    My Scenario is File to SOAP to File.
    Configred modules  in Sender channal below:
    Prcessing sequence:
    Number       Module Name                                        Module Key
    1..........       AF_Modules/RequestResponseBean.......1
    2..........       CallSapAdapter..........................................2
    3..........       AF_Modules/ResponseOnewayBean.......3
    Module Configuration:
    Module Key                                       Parameter Name                                       ParameterValue
    1                                                        passThrough                                            true
    3                                                        receiverChannel                                       receiverChannel name
    3                                                        receiverService                                        receiverService name
    please tell any more confiration requered.
    Regards,
    Ramesh

  • Error in SOAP to file scenario

    Hey guys
    i m doing a SOAP to File scenario and getting the following error.
    <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error opening an RFC connection.</SAP:Stack>
    any idea where should i look ?
    thanx
    ahmad

    Hey
    i m still getting a red flag in MONI,the error 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>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>
      <SAP:P1>Error opening an RFC connection.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error opening an RFC connection.</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    i checked my mapping by copyin payload from MONI,its working fine.
    thanx
    ahmad

  • Business systems  for Soap to file scenario

    Hi Experts,
       I am working on a soap to file scenario.Which type of business systems shall i  create i.e Third party,As ABAP,As Java etc.Please suggest.
    Thanks
    Veeru

    Hi,
    Normally Business systems are created in SLD when you are provided with relevant system details. A business service is used in case of the system being an abstract unit.
    In your case, it is better to go for Business service because you generally don't  have such details for third party system.
    Just go through this link for more understanding...
    Difference between Business System and Business Service
    Regards,
    Chandra

  • Testing of Idoc to file scenario

    Hi Gurus,
    I have completed the Idoc to file scenario, But how should I test the whole scenario??!!
    Because of my functional guy is absent for this week and I do want to test my scenario, whether its working properly or not??!!
    Note: As I knew, we19 tcode, it asks some Idoc number and other info to do the same.. could you please help me out?!!
    Thanks.,
    Stallin

    Hi
    Just for testing purpose..you can use WE19..
    First goto transaction WE02 and put Basic type : MATMAS03 as filter criteria, change your creation date to select little old idocs and run...on next screen your will see number of idocs "MATMAS03" with green status(if there is any in that period..otheriwse change period again).
    Then goto WE19 and put existing idoc number in the field existing idoc and and presss F8...On next screen press "Standard outbound processing".
    Can also use we19 and change control record ( Double click in EDIDC segment) to your sender / recever partner profile.. and run
    Thanks

  • Soap - XI - File Scenario

    Hi experts,
    I need your help on this.
    XI will receive a synch soap request with the following input parameters: date and supplierNo. With that input parameters XI has to find and retrieve (from a File Server) all the documents of that supplierNo for that specific date.
    Do you know how to develop such scenario?
    Thanks in advance
    Pedro Leal
    Edited by: Pedro Leal on Feb 13, 2008 6:17 PM

    Hi Pedro !!
    Based on your scenario description, maybe the best solution is to create a SOAP<->XI<->Proxy scenario where the Proxy could be ABAP or Java. I suggest a Proxy, because the receiver file adapter only writes files and the sender only picks files up based on a time interval and not on demand.
    For example, the Java Proxy server could receive the request from XI, search the files and send them back as response. You need to check file sizes and if files content is XML or binary and maybe other details to see if this scenario only will we enough, or if you may need a BPM or more than one scenario, one for "prepare the files" and one that takes the "prepared" files and thru XI sends them back to the target as a response in a synch or async manner.
    Regards,
    Matias.
    ps: please award points if helpful.

  • SOAP-PI-File scenario: synchronous file pickup possible without ccBPM?

    Hi,
    is it possible that I pick up a file synchronous without usage of ccBPM? What I'd like to achieve: I'd like to send a filename in the body of a SOAP request. Depending on that filename, I'd like to collect that file on the filesystem and send it back as the message body of the SOAP response. From my understanding, the receiver file adapter can just write files. In my scenario, I'd need the receiver file adapter for picking up a file (which is normally a sender file adapter).
    Anybody with a good hint how to achieve something like that?
    Best regards
    Holger

    Hi colleagues,
    I am facing a similar requirement.
    Provide file content via synchronous Webservice (trigger)
    Webservice (sender) <-> PI <-> File (receiver)
    Is there a possibilty to use File/FTP Adapter, which is normally asynchronous by default in such a scenario e.g. by using a SAP adapter module.
    Or are there any other standard PI functions to meet this requirement.
    Otherwise a specific Webservice have to be created which will read the file and return it´s content within the webservice response. Do you see a possibility to deploy such a service on the PI Java server?
    Due to development effort I would prefer a standard function instead of creation of specific Webservice.
    Thanks for sharing your thoughts.
    Best regards,
    Jochen

  • SOAP to File scenario

    Hi experts,
    I have the following scenario and I don't know if the File Adapter allows me to do.
    - We have a system that execute Webservices.
    - On the other hand, we have a file system that manages a files to consult.
    We need to call the Webservice, and the response of this, has to be the data that contain the file.
    I know that the File Adapter in mode Receiver is for writing files. How can I make it for reading?
    ¿Any ideas for implement the scenario? ¿BPM? ¿File Adapter in mode Sender with file name variable?...
    Thanks,
    Jose.

    Your description does not make up a complete end to end scenario.
    However, it look like this is a part of complete scenario:
    You will need a sender system that send request message.
    You will need a BPM to receive above message.
    BPM will call webserive to get the response.
    Out of the BPM: BPM will forward the response to integration engine
    Integration engine will execute another mapping program: it will have UDF to open your file and read the file.
      Comparing the result with your response from webservice.
      If your file is located in the system other than application server, you will code your UDF like ftp client.
      Check Java API for that type of use.
    Based on the comparation, you can do whatever you want, or forward message to another system...
    Regards !
    Liang

  • Sending Acknowledgement back to webservice SOAP to File Scenario

    I need to receive information from a webservice to a file for which I have configured Sender SOAP Adapter and file adapter to generate file.
    Now I need to send and acknowldegment to
    webservice back if File is generated successfully..How do I do it ?
    Points will be awarded

    thanks..
    but I am not getting error when I tru to send request thru altovaxml spy iget following error in response
    <?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: www.w3schools.com
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:133)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:855)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>

  • How can we do the Testing in Idoc to File Scenario( With out using We19)

    Hi All,
    As all we know we can generate the Idocs from SAP R/3 to XI using the change Pointers,this we will apply in Production time.
    But as of now in the Test system we can'd do it daily.
    So we have already created materials in the SAP R/3 system.
    I want to send the Idoc to XI by selecting  some n number of materials.means i want to generate the Idoc for materials.this is like i have to do repeatedly for testing purpose.
    Is there any T-code
    How can we do this
    Regards

    Hi Vamsi,
       For the Message Type ORDERS you can configure Output Type (txn NACE) for IDoc generations and then you can trigger the IDoc using transaction WE15.
      Selection Parameter will be as follows
    Output application: This will be from Output Type
    Object key          : Order Number
    Output type         : Output Type name, that you configured
    Transmission medium : A
    Check the checkbox "Send Again".
    Thanks,
    Punit

  • 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

  • Testing HTTP to File scenario

    Hey guys
    i m testing a HTTP to file scenario for one of our clients and the test seems to be working fine when i test it in RWB under Integration Engine,MONI is chequered as well as i m getting the file on receiver side too.
    but when i test it by making use of the HTTP client which i got from the followin link
    /message/266750#266750 [original link is broken]
    it gives and error saying http-status 404 not found.
    the URL which is getting created is
    http://scosap005.sap.com:50100/sap/xi/adapter_plain?namespace=urn%3ANOVInvoiceToSCO&interface=MI_Invoice_sender&service=BS_test_invo&party=&agency=&scheme=&QOS=EO&queueid=httpclient&sap-user=&sap-password=&sap-client=100&sap-language=EN
    is this the same URL our client is gonna use to post the message to our XI server?
    also why am i getting error in the second testing?
    thanx
    ahmad

    Hi,
    1) Did you maintain Client, userid, password, and lang information in SICF transaction -> sap/xi/engine ? Double click on service and check whether you have entered correct information.
    2)Access the trace file and search for traces with severity ERROR, WARNING or stack traces.
    If we do not find an error in the log file or the error message does not explain the problem sufficiently, access the default Trace. The default trace file contains detailed messages for developers. Extract the relevant trace information e.g. using the time stamp or the message ID.
    If this does not explain the problem in more detail, increase the trace level and reproduce the problem. Then restart message processing using the message display tool. Mark the message and select repeat.
    3)Check the Note-803145
    4) 404 is an HTTP response code that indicates that the resource in question could not be found. Usually this is due to an incorrect URL check all URLs.
    Regards
    Agasthuri Doss

Maybe you are looking for

  • Enhancement for MIRO

    Hi all, i want to trigger a workflow after posting an incoming invoice via MIRO. i've found user exit LMR1M001 which unfortunately importing parameter types MRM_RBKPV that contains the field BELNR for invoice number but not the field i want for accou

  • Using a property node of a menu ring to generate a secondary address does not work in a subvi unless the subvi has been or is opened. Why?

    I am writing drivers for third party equipment using LabView 6.1. I am using the property node, digdisp.text, to get the item number of menu ring. This number is being used as the GPIB secondary address for the equipment. This vi is one many subVIs l

  • Add values to userfields problem

    Hello all, I use SBO 2004 and a try add values to fields in user table. I have a few questions: - when I create table and fields I use UserTableMD and UserFieldMD. I create numeric fields with editable = 10. When I see on this table and this field in

  • Stream from File - Workflow Inquiry

    Greetings all, In short I am trying to stream from file. By this I mean a solution where the user views the streaming video as something like "http://stream.somesite.com" and not "http://stream.somesite.com/vod/vmp4:video1(and then video2, and then v

  • Simply burning iMovie to DVD

    I've created a short (1.5 min) movie in iMovie. I want to burn it exactly as it is to DVD, no menu, chapters, themes. And it needs to be the highest quality. I thought of using iDVD's One Step DVD from Movie, but when I export the movie from iMovie u