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

Similar Messages

  • 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

  • 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

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

  • 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

  • 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

  • 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.

  • Error/Doubts in Idoc-XI-File scenario

    Dear All,
    I am doing one scenario in which DELIVERY idoc is posted from R/3 to XI and then from XI that idoc is to be sent as flat file to one local folder.
    For this scenario, I have done all ALE settings and I am able to see the idoc in XI in cXML format.Now I want to sent it as flat file.
    Now, for doing this I created 2 BS & 2 TS. 1 BS & TS of type Third Party for receiver & 1 BS & TS are of type Web as ABAP for sender. Then I have created one namespace in IR. I have not created any DT, MT, MI, MM becoz the structure of source and target file are same. Now, I created one IM in which I specified specified Type as "ABAP Class" & Mapping program name as one of the Z function module as specified in one of the SAP Guides.
    Then in ID, I created 2 Parties ie. one for Sender & one for receiver. Sender is having a communication channel of type Idoc & receiver is having communication channel of type File. And thn further Receiver Agreement, Inetrface Determination, Sender Agreement & Receiver Agreement are configured.
    In my system there is one scenario already configured which is using Delivery idoc so I have used party in my scenario for both sender & receiver.
    Now, when I am sending the idoc from R/3, I am able to see cXML in SXMB_MONI but it is taking receiver as the one which is defined for the already existing scenario but not the receiver defined by me.
    Can anybody guide if I have followed the correct steps & where I am doing the error.
    Warm Regards,
    N.Jain

    Hi ,
    Plese refer the following blogs ,
    IDoc to File
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    You have to do all this settings mentioned in the docuemnt:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
    Also can you check this weblogs on the same:
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    Thanks ,
    Suvarna
    Award pts if  it helps .

  • Regarding IDOC 2 FILE Scenario

    Hi Friends,
                    please help on IDOC 2 File Scenario. I have done tha ALE settings in R3 system and the Idoc has been  generated out of r3 system. but how it wiil be sent to XI server can any body help me on this issue.make it as quick as possible.

    Hi,
    Goto We02 and take the IDOC number froom there.
    goto WE19, give the copied idoc number and click on execute.
    Check for Control records for that IDOC and say outbound processing
    ALE Settings
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    Check this for posting the IDOC From R/3 to XI
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI+--
    StepsSummarized&
    Regards
    Seshagiri

  • Doubt in idoc 2 file scenario

    Hi,
    I want to create idoc 2 file scenario with out any Transformation.
    In that case how/what to create Data type for receiver.
    I want to receive the same idoc in the receiver folder/Directory (like XML file) with out any transformation.
    Thanks
    Ruban

    Hi,
    For this scenario you need to create the Data type structures as similar to IDOC type and just have to transfer to file without FCC.
    It will transfer the IDOC data as it is in XML format
    refer
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/error%2bhandling%2bin%2bfile-idoc%2bscenario
    (Just avoid using FCC conversions on receiver file adapter in above scenarios)
    Thanks
    Swarup
    Edited by: Swarup Sawant on Mar 24, 2008 6:15 PM

  • Doubt in Idoc To File Scenario

    Hi Experts,
    I didn't created any scenario in XI, i have created an idoc in R/3 and i have send it to XI system using tcode we19, i could able to see the idoc in XI system in tcode IDX5, when i double click on the xml message in IDX5, i am getting the follwoing error.
    <?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="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</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>M</SAP:Retry>
      </SAP:Error>
    Actually without creating the scenario in XI also i shouldn't get any error, i should get the xml message without any errors. Please correct me if iam wrong. Kindly suggest me what might be the problem for getting this sort of error.
    U'r help will be greatly appreciated.
    Thanks & Regards,
    Venkat.

    Hi Venkat,
      >> <i>Actually without creating the scenario in XI also i shouldn't get any error, i should get the xml message without any errors.</i>
          If you check in the inbound message payload u can see the xml message with out errors. But the error is due to non availability of receiver determination path to send the xml message to the desired target system from XI.
      So create all the design objects in IR and configuration objects in ID and then try to trigger idoc from r/3 and check the mapping flow and check whether the desired file is created in the target folder.
      For more info refer the below blogs:
      https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1819. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Prasanthi.

  • 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

  • Doubt regarding Sender adapter file content conversion to RFC

    Hi Experts,
    Below is the my Source and  Target XML structure ( i have creaated source structure same as target RFC structure),  This scenario is working fine when i give XML file as input. File -> XI -> RFC , xml file is able to update the information in R3.
    How should i configure sender file adapter for file content conversion for above structure(in this case input is fixed lenth text), and i could able to change source structure according to our req, without changing target RFC strucuture.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_HSA_IDNumber xmlns:ns0="urn:passhe.com/UpdateIdNumberISA32">
       <COMMIT_I>X</COMMIT_I>
       <IDENTIFICATION>
          <STUDENT>6500001191</STUDENT>
          <ID_TYPE>FS0030</ID_TYPE>
          <ID_NUMBER>testxml</ID_NUMBER>
          <VALID_FROM>20070421</VALID_FROM>
          <VALID_TO>20091231</VALID_TO>
       </IDENTIFICATION>
      </ns0:MT_HSA_IDNumber>
    I have configured sender file adapter with FCC like :
    Document name as: MT_HSA_IDNumber
    Document name space as: urn:passhe.com/UpdateIdNumberISA32
    Record structure as: COMMIT_I,1,IDENTIFICATION,1
    COMMIT_I.fieldNames : COMMIT_I
    COMMIT_I.fieldFixedlengths: 1
    IDENTIFICATION.fieldNames: STUDENT,ID_TYPE,ID_NUMBER,VALID_FROM,VALID_TO
    IDENTIFICATION.fieldFixedlengths: 12,6,60,8,8
    i am getting error like this: even when i change source structure like below metioned:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_HSA_IDNumber xmlns:ns0="urn:passhe.com/UpdateIdNumberISA32">
       <COMMIT>
          <COMMIT_I>X</COMMIT_I>
       </COMMIT>
       <IDENTIFICATION>
          <STUDENT>6500001191</STUDENT>
          <ID_TYPE>FS0030</ID_TYPE>
          <ID_NUMBER>idnumber1</ID_NUMBER>
          <VALID_FROM>20070421</VALID_FROM>
          <VALID_TO>20091231</VALID_TO>
       </IDENTIFICATION>
    </ns0:MT_HSA_IDNumber>
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'COMMIT_I.fieldFixedLengths' or 'COMMIT_I.fieldSeparator' is missing Consistency check: no. of arguments in 'COMMIT_I.fieldFixedLength' does not match 'COMMIT_I.fieldNames' (0 <> 1)
    Please help me out
    thanks
    dhanush

    Hi Dhanush,
    Try giving the Sender FCC this way for the source structure you have mentioned above.
    Record structure as: COMMIT,1,IDENTIFICATION,1
    COMMIT.fieldNames : COMMIT_I
    COMMIT.fieldFixedlengths: 1
    Hope this helps.
    Thanks and Regards,
    Induja

  • 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

Maybe you are looking for

  • JMS content conversion adapter module

    Hi All, In JMS Content conversion module Xml2Plain how do u put two new lines 'nl'. I am using localejbs/AF_Modules/MessageTransformBean in adapter module. If I put xml.record.fieldSeparator in parameter name and in parameter value if I put one 'nl'

  • BDC not working in Background mode

    Hi All, I have created a BDC. It is working fine in forground mode but not woking in background mode. Please any one know what could be the problem. thanks, Shweta

  • What's the best way to handle all my data?

    I have a black box system that connects directly to a PC and sends 60 words of data at 10Hz (worse case scenario). The black box continuously transmits these words, which contain a large amount of data that is continuously updated from up to 50 parti

  • BPC User Management Tools in different versions

    Hi all, I am comparing the different versions of BPC from 5.1 to 10.0 and I have the following questions about user management tools: 1) How does "User Management Server" work? What's the difference when it is compared with "Active Directory" and "BP

  • My Computer Keeps on Requesting my DELETED Email Password

    I deleted my gmail account off of the actual site of gmail, because I didn't wish to have that email anymore. Then I went into the account pane of Mail preferences and selected my Gmail from the list then I clicked the little minus sign in the bottom