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

Similar Messages

  • How to test the simple .java file in cactus

    dear friends,
    i have use the junit first time .And i am working in weblogic8.1 so i have use cactus .But i face the problem to use it.
    1. how to test the simple .java file in cactus.
    2.how to run the cactus in weblogic 8.1.

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • SOAP Sender to RFC Scenario WSDL File

    Hi,
    I am working on SOAP -> PI -> RFC Scenario. I generated WSDL from sender agreement and gave to the client that can consumed by the third party system. But client is not ready to consume the WSDL. He provided WSDL and asking me to use that. Could you please suggest whether WSDL given by the client can be used in SOAP -> PI -> RFC Scenario. If it is possible, could you please provide steps how it can be done?
    Thank you.
    Regards,
    Cdr.

    Thank you Hareesh & Divya,
    When we generate WSDL from PI, it gives soap action and soap address location based on the interface we use for SOAP -> PI -> RFC.
    When we import WSDL given by the client as external definition, we get messages(Structures). But where do we pass the soap action or address location. I do not see any option in the soap sender communication channel. I am not visualize the link.
    Can somebody share their knowledge if they have done in this way.
    Thank you.
    Regards,
    Cdr.

  • SOAP Sender replacing file sender

    Hi All,
    I had a working file  -> RFC scenario.
    The sending system was upgraded and it can send WS now.
    I created a SOAP sender and changed the sender agreement accordingly.
    I can see the message in the SXNB_MONI but it is stuck in the "Message Split According to Receiver List" section with no error.
    The payload looks ok.
    The status of the message stays an empty circle, it doesn't turn into any of the signs.
    in the adapter log I get the following error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error
    any ideas?

    Couple of suggestions... Dont know how do you test??
    a) Create WSDL and import in soap UI or xmlspy and test it and see what do you get?  Still looks like some issue.
    b) Go to ID and do configuration test. I want you to make sure visit all the ID objects and see the changes made are sync with all ID objects.
    Check this thread
    Queue stopped in sxmb_moni
    Hope that helps

  • How to use SOAP sender adapter

    Hi all
    i have configured the SOAP sender adapter. Now my 3rd party needs to send me a soap message. 
    I have checked that the status at the following URL is OK:
    http://host:port/XISOAPAdapter/MessageServlet?channel=:MXII_Web_Service:SOAP_MXII_Sender.
    This is fine, however
    I am unsure of the following:
    1. Does XI make a wsdl available to the 3rd party?
    2. Where does my 3rd party send the soap message to?
    3. Is the SOAP message sent via a query string?
    4. Do I need to create a web service?
    Thanks for all your help in advance
    Clinton

    Hi Moorthy
    Thanks for your answer.
    The problem was solved, we used .Net to write a webservice to our wsdl.
    I have now another problem.... When the message comes into XI it shows that no receiver found(RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC). If I just test the scenario with a file adpter as Sender, and Receiver it is fine, but when using the SOAP adapter as Sender, it gives me the no receiver found message.
    Any help with this issue will be appreciated.
    Thanks again
    Clinton

  • SOAP SENDER TO FILE

    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?
    <REMOVED BY MODERATOR>
    Regards
    Sreeni
    Edited by: Alvaro Tejada Galindo on Apr 9, 2008 12:50 PM

    I dont know what made you post this question in Suggestion and comments forum. There are a lot of SDNers who wish to answer such questions in [XI Forum|Process Integration (PI) & SOA Middleware;
    Regards,
    Jaishankar

  • 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

  • Help Need on SOAP (Sender) to RFC Scenario(Synchronous Communication)

    Hi All
    I have a requirement of <b>SOAP(Sender) to RFC</b> scenario(Syncronous Communication).  The scenaio goes like this........
    I have a web service through which I have to create a SAP Notification in SAP system and the Notification ID created and other details have to be returned back to the webservice from the BAPI.  I have identified the relevant BAPI for the scenario.
    I have a wsdl file which I have uploaded it.  What are the next steps to be done?
    Please let me know what all(e.g., Data types, Message Types, Message Interface)  I have to create in Integration Repository and what all configurations I have to make in Integraion Directory.
    FYI, I have a gone through a list of Blogs, but didn't get enough info.
    Please help me out in providing your valuable answers.
    Thanks,
    Vijay
    P.S. Rewards points are sure .....

    Hi Vijay,
       If at all you have uploded wsdl file for the webservice you no need to create data types for the same even for the same as RFC also.
         Create message mapping and drag the wsdl file which you have imported as External Definiations and there you will be having request and response parameters..Do the mapping accordingly(according to your requirement).
    Mapping like:
        Wsdl(Request)---->RFC (Input parametrs)
        RFC (out parameters)------>wsdl(Response)
    Create message interface with Synchronous for outbound
        No need of DT,MT if at all if you import the wsdl file.
       Hope i am clear.
      Please let me know if you have any queries..!
      Thanks and Regards,
      Chandu.
    null
    null

  • Problem in SOAP to IDOC & File scenario

    Hi,
    My scenario is SOAP ->IDOC and FILE,when I run the scenario IDOc was processed and File was not created at the target system.I maintained LS name for sender SOAP and IDOC business service.Nothing was maintained in adapter spec identifiers for Recer business service(i.e For target File CC).This was working fine in Dev.After Importing another scenario which uses same business service,this didnt stp working?
    what could be the reason?
    Thanks,
    RP
    Edited by: RP@261 on Oct 21, 2008 10:59 PM

    > my imported scenario and existing scenario in QA using same sender business service.After importing the other scenario,existing scenario is failed to create files at target system even though it shows successful in MONI.
    >
    Check the target dir permission once again from your BASIS team. Reconfirm the the target dir name in receiver CC also.
    > Should we maintain Logical system in adapter specific identifiers for Recr File CC also??? I create a file in BI application server from recr File CC.
    >
    No, for creating a file you don't require this. This is required only in case of IDOC.
    > my scenario is
    > (SOAP sender) -->  TO IDOC & FILE  ..i maintained LS name in sender BS where SOAP CC is created and also at Recr BS where IDoc CC is created. The other Recr BS for File where I didn't.IS it required ?
    >
    For File recever BS, No need.

  • 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 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 :)

  • How to test if an external file is already opened?

    We have an issue when we write to an external file via the DBOpen and DBAdd functions. When we run two jobs simultaneously, they write to the same file. I know we can write to separate files, but we rather not. When the second job begins to do the write, at that point of entry for the second job, that record gets corrupted.
    I'm not sure if it is a DBOpen issue, or DBAdd issue, so I was wanting to try a test to see if the file is already open and bypass the DBOpen if it is. But I don't see anything that will test that other than the DBOpen function itself. When I capture the return code, the result is successful for both jobs. But I"m not wanting to do another DBOpen if the file is already open.
    How do I test for that?

    In the DBOpen call specification, there is a mode parameter which supports combinations of the following:
    * READ
    * WRITE
    * CREATE_IF_NEW
    * FAIL_IF_EXISTS
    You can combine multiple modes with &, so the 2 ^nd^ job should use DBOpen(table,handler,dfd,"WRITE&FAIL_IF_EXISTS") and you can examine the return code accordingly (1 = success, 0 = fail). That said, I don't think this is going to work. If you want to have multiple processes writing to a single file you're probably better off writing the records to a database table which supports this sort of activity. Otherwise you might consider having each job writing to a separate temp file, and then one of the jobs be responsible for reading both temporary files and writing out a 3 ^rd^ file containing all records.
    -Andy

  • How to test if a csv file is empty or not and email it?

    Hi,
    I am new to powershell scripting and i have a small task which is basically i have a csv file which will sometimes be empty(it will have header row even if its empty ) and sometimes it will have some rows of data.so basically i have to write a power shell
    script which will look at the csv file and if its empty then do nothing if its not empty then email it to someone with the csv file attached to it?
    Can someone please help me with it?
    Thanks

    Hi mike,
    Yeah sure i will keep an eye on it ,and yeah coming back to your way of code.Here is the way i am doing it
    If ((Import-Csv D:\App\ODS\File\Share\StoreTrafficException.csv).Count -gt 1)
           Send-MailMessage -To "[email protected]"
           -From "[email protected]"
           -Attachments D:\App\ODS\File\Share\StoreTrafficException.csv
           -Subject 'Check on this file'
           -SmtpServer "int-smtp1.jjill.com"
    and if i run this one i get the following error :-
    Missing expression after unary operator '-'.
    At D:\App\Email.ps1:5 char:9
    +        - <<<< Attachments D:\App\ODS\File\Share\StoreTrafficException.csv
        + CategoryInfo          : ParserError: (-:String) [], ParentContainsErrorRecordException
        + FullyQualifiedErrorId : MissingExpressionAfterOperator
    And all the sendmail paramaters and values are correct because i am using the sameone in my other code which i said worked fine.Can you suggest me any changes on why its failing? Just want to know the reason and it would be great if i can have this way also.
    Thanks

  • How to test if a image file exists???

    Hi ppl,
    heres my problem...im using servlets and jsp and i only ever want to access the jsp file from a redirect in the servlet. Problem arises however if the user trys to access the jsp file directly in which case all the relative links on the page are no longer in the same context as if they were accessed via the servlet.
    i wanna have some kind of test on my jsp page which displays an error page if the user has access the page directly but im not sure the best way to go about this.
    i was thinkin about tryin to determine if an image file exists using a relative link...in which case if the relative links where off then it wouldnt.
    Any suggestions on the best way to do this...or if there might be a better way to test such a case?
    any advice much appreaciated.
    Mycall

    I would suggest moving all jsp's that you dont want the user to have direct access to under the WEB-INF directory. This way they would only be able to access it through your servlet.
    Hope this helps

  • MS Access (JDBC Sender) to File Scenario

    Hi,
    I want to read an MS Access File thru JDBC Sender Adapter & send the entire details present in MS Access to a File .
    Kindly need your valid inputs on this .

    Hi,
    I have configured Sender JDBC adpater as follows :
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection : jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
    piramid\data\PNG\inf78786\IN\Employee.mdb;
    I am getting the following error in Communication Channel monitoring  ->
    Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
    piramid\data\PNG\inf78786\IN\Employee.mdb;' using the JDBC driver 'sun.jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Can not establish connection:: SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'
    What might be the issue here ?

Maybe you are looking for

  • How do I remove markers in a line-format series in a side-by-side bar graph

    I have fairly simple report that is formatted as a side-by-side bar chart. I need one series to be formatted as a line, which I have done; however, the line always appears with markers at each data point. I want the markers gone. I've tried myriad co

  • WBS element field in the customer line item

    Hi Experts Clientu2019s requirement is to populate the WBS element in the customer line item. Field status of Posting key -01 for WBS element is u2013 Optional Field status of Customer recon a/c  for WBS element is u2013 Optional Still in the custome

  • 25 fps on more accurate play back sequence.

    I'm using after effects 5 on a mac pro 4.1, If i wanna play all the sequence on a real time i have to play it on fast mode (low quality video). I can't play it on more accurate (full quality video) mode because it plays at 23.9 fps. What can i do to

  • 2nd opinion

    Hi. When I get feedback from my instructor, she sometimes posts codes as examples. Sometimes I have trouble getting her codes to compile. The code below is an example of such feedback. I really wanted to see this run, but I get error messages. I aske

  • CC&B V2.2 Base Batch Scheduler

    I am looking at the base batch scheduler and need to know how this interacts, if at all with the new lightweight batch. Can someone confirm the following about the base batch scheduler. 1. This scheduler does not use the lightweight batch as it is ba