File to SOAP adapter

Hey guys
can anyone provide me with step by step process for a Asynchronous File to Soap scenario,i m new to XI and would really appreciate if u explain the steps a bit in detail
thanx
ahmad

Hi,
Hope you have a Webservice ready to test the scenario.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
Go thru these blogs -
/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
All these case, you need to remember, Sender is File in your case. Remaining configuration about SOAP will remain similar.
Regards
Moorthy

Similar Messages

  • Reading huge flat file through SOAP adapter

    Hi Everybody,
        In one of our interface we need to read big flat file using soap adapter at sender side into xi and we are using java map to convert into xml. but before that i need to split this flat file into multiple files  in the first message mapping. and in the second map we have to write a java map to do the flat file conversion to XMLBut i got struck up in reading this big flat file into XI as i need to declare some datatype to read this entire file. Can anybody tell me how i can do this. is it a possible to do first of all with SOAP adapter . 
    Thanks
    raj

    hi vijay,
      Thanks for your prompt reply. Due to some reasons i am not allowed to use file adapter . i can use only JMS adapter or SOAP adapter. we tried few scenarios with JMS content conversion but what ever scenario i am asking here is complex at multilevel i can't even use JMS in this case. so we are thinking to read whole file using SOAP adapter and then we are planning to split the file into multiple files, as file can be huge size ,using java mapping and in next level we want to use another mapping to do content conversion. SO I have to do experiements whether this is a feasible solution or not. because when u declare at sender side
    <ffdata_MT>
    <Recordset>
        <ROW>    String type
    when u declare like this and when u sent the flat file using SOAP adapter at sender side we are getting whole file which we sent at part of "ROW" as string. but inside java mapping i need to see whenther i can split this in XI ,so that i can use these split files in next mapping for content conversion. Hope i am clear now. I want to know whether it is a feasible solution or not.
    I really appreciate if sombody give some idea on this
    Thanks
    raj

  • Send and Receive an xml file over SOAP adapter

    hi,
    I want to send an xml file as an attachment over SOAP adapter and Response also should be file.
    Can anybody tell the exact solution.
    Useful responses will be appreciated
    Thanks
    Jaideep Jain

    Hi Jaideep,
    Yes you can send the any file throgh SOAP adapter by selecting the Keep Attachments option.
    For your requirement you can go throgh the following link
    Re: Attachments in SOAP adapter
    http://www.w3.org/TR/SOAP-attachments
    http://www.theserverside.com/tt/articles/article.tss?l=SendingAttachmentsWithSOAP
    Regards
    Sridhar Goli

  • How to write won WSDL file for SOAP adapter ?

    Hi experts
      Can any one expalin me how to write WSDL file  for SOAP adapter ?
      What and all things i need to know ? i have no idea on this....
      I got the business but to WSDL ...i am very new to this
    Adv...thanks
    Rakesh

    HI,
    Please see the below links,
    Consuming XI Web Services using Web Dynpro – Part II-/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    Consuming XI Web Services using Web Dynpro – Part I -/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0d7349b6-0901-0010-ddbe-ec43178a61ff
    /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
    /people/kevin.liu/blog/2006/04/12/wsdl-11-binding-extension-for-soap-12
    Regards
    Chilla..

  • Send a file usring SOAP adapter

    Can I send a file using SOAP adapter on the sender side.
    reg,

    Henrique Pinto,
    I am trying something out. The scenario I am trying would be a very small but imp part of a bigger business requirement.
    I am trying out different options to show the clinet.
    <b>1.Started XMLSPY and selected, SOAP>Create new SOAP request>
    Now u r asked to browse for the wsdl....DONE. Clicked on OK
    Now the request created as an xml file.
    2.Go to SOAP> Send SOAP request > there is a new xml file which is the response.
    I did not get any errors. I see a file in the target directory.
    My problem is where it would really be picking up the data.
    WSDL has only referrence to the definition of the message type
    (in the definition of O/B interface )</b>
    As you have already mentioned that in XI, message type should be refering to file message. If this is the case, how would I incorporate the data in that message.
    I hope I am clear.
    reg,
    Message was edited by:
            Naveen Chitluri

  • Flat file with soap adapter

    Hi,
      Can anybody tell me is it possible to send flat file as an atttachment via soap adapter.
    Regards,
    Dhill

    Hi Doss,
      Thank you, my user have given details as
    URL Name : https:
    xxxxx
    and
    Headers details as :
    Ent-sender:   XXXX
    Ent-receiver:  YYYY
    Ent-APRF:  ZZZZZ
    Ent-filename: client_file_name
    Please let me know how we need to specify this in receiver soap communication channel.
    Regards,
    Dhill

  • Soap - Adapter / XML-Handling

    Hello @,
    is it possible to receive a xml-file via SOAP-Adapter and pass it to a another SOAP-Receiver without haveing any mapping between?

    >
    Bernd Kresse wrote:
    > Ah ... ok, that is also my knowledge about this. I must define the structure of the message to handle a message, regardless of needing a mapping.
    >
    > What about define a "structure" with only tag and put the "real" structure in this single tag?
    if you are not using a mapping then the structure is irrelevant (for file scenarios etc) but since yours is a SOAP the structure will anyway be present in terms of a WSDL

  • File to SOAP,error in sender file adapter

    Hi,
    I am doing a scenario FILE to SOAP where In file adapter I am using Quality od service as Exactly once in order.I am getting the below error.It works fine when I use QOS=Exactly once.Not sure why,can you guys please help me.Can we really use QOS-EOIO for sender file adapter,where exacly do we use it.
    Thanks
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter  -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Edited by: guest xi on Apr 16, 2008 11:55 AM

    Hi,
    Thanks for your replies guys.I diid give the queue name ,I dont know what is causing the error.Now even QOS=EO which was working fine before is throwing an error.I am using the same file name for both
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter   -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • WHAT IS THE BEST WAY TO CREATE AN XSD FILE (TO BE USED BY SOAP ADAPTER)

    Dear friends
    I have a simple scenario.
    OUTBOUND DATA  -->  SOAP ADAPTER  --> ( XI )  -->  RFC ADAPTER  --> INBOUND DATA
    The XML file that I got from mapping area of IR (Design) is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_NAME_SOURCE xmlns:ns0="http://test3.com">
       <FIRSTNAME>DAVE</FIRSTNAME>
       <LASTNAME>SMITH</LASTNAME>
    </ns0:MT_NAME_SOURCE>
    If you notice, there are only 2 fields.
    I need to create an XSD file and import it as an external object, which I can use for SOAP Adapter.
    Which is the best way to create it.
    Also, I need to know if there is any step by step of sending a message from XML SPY. I have downloaded this software, but am not able to undertand how to use this.
    Hope to hear from any experts on this forum.
    Thanks in advance
    Ram

    Hi Ram,
    See the below blog..
    It shows how to send SOAP message using XML Spy.
    It also shows how to generate wsdl.
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    Regards,
    Sumit

  • File content conversion using SOAP adapter

    Hi,
         I'm using a receiver SOAP adapter in my IDOC to file scenario and need to do file content conversion in the receiver side.
    Are any standard modules available for file content conversion in the SOAP adapter or do I need to write custom EJB modules for this.
    Please note that I have to use a SOAP adapter, can't use any other adapter.
    Thanks in advance
    Shiladitya

    Hi,
    XML Document Conversion Type
    &#9679;      Enter recordTypes as the parameter name.
    Under Parameter Value, enter the complete, comma-separated list of all names of recordset types that occur in the document to be converted.
    If you decide to use this method, you can define a different conversion type for each recordset type that occurs in the XML document.
    For example, you could name the recordset types as follows: RecordType1,RecordType2,RecordType3.
    &#9679;      Enter singleRecordType as the parameter name.
    Under Parameter Value, enter the name of a recordset type that is to be used to convert all elements that occur in the XML document.
    If you decide to use this method, define the same conversion type for each recordset type that occurs in the XML document.
    You must enter exactly one parameter only. Whichever parameter you choose, you automatically exclude the second parameter.
    You define further parameters for each recordset type.
    In the remainder of this documentation the parameters are specified by the prefix <RecordType>. In your configuration, replace this name with the name of the recordset type.
    Conversion Type List with Separators
    &#9679;      <RecordType>.fieldSeparator
    Enter the field separator that is written between the individual fields of a record.
    This specification is mandatory.
    Conversion Type List with Fixed Field Length
    &#9679;      <RecordType>.fieldLengths
    Specify a character string that contains a list of fixed field lengths that are separated by commas and which determines the number and the length of fields generated in the text file.
    For example, you want to write a recordset with three elements that have field widths of five, ten, and fifteen characters. Enter:
    <RecordType>.fieldLengths = 5,10,15
    This specification is mandatory.
    &#9679;      <RecordType>.fieldLengthExceeded
    Specify how you want to handle fields that exceed the configured field length. Permitted values for the parameter value are:
    &#9675;       error (default)
    Interrupts processing of message with error
    &#9675;       cut
    Cuts off superfluous characters
    &#9675;       ignore
    Ignores the field length restriction
    Further Entries
    &#9679;      <RecordType>.beginSeparator
    Enter a string. The string is placed in front of the first field of a recordset.
    &#9679;      <RecordType>.endSeparator
    Enter a string. The string is appended to the last field of a recordset as a concluding character. The default is \r\n.
    &#9679;      contentType
    Enter the MIME type of the converted payload. The default value is text/plain.
    &#9679;      addHeaderLine
    Only define this parameter if you have already defined singleRecordType.
    Define whether a header line is to be added to the result of the conversion.
    &#9675;       none (default)
    Does not insert a header line
    &#9675;       fromXML
    The header line is generated from the element name of the first recordset of the XML document
    &#9675;       fromConfiguration
    The header line is determined by the configuration parameter headerLine.
    &#9679;      headerLine
    Only define this parameter if you have already set addHeaderLine=fromConfiguration.
    The value that you define is placed in front of the result of the conversion as a header line.
    &#9679;      fixedLineWidth
    Enter the maximum line length n (in characters) that can be written to the resulting document. The separator specified by lineSeparator is inserted in the resulting document every n characters.
    &#9679;      lineSeparator
    Only define this parameter if you have already defined fixedLineWidth.
    Specify the string that is written to the resulting document at the end of each line that is written with fixedLineWidth. The default is \r\n.
    Use of Special Characters
    You can use special characters in the following parameters: <RecordType>.fieldSeparator, <RecordType>.beginSeparator, <RecordType>.endSeparator, headerLine, and lineSeparator.
    &#9679;      Tabulator: \t
    &#9679;      Carriage Return (CR): \r
    &#9679;      Line Feed (LF): \n
    &#9679;      Arbitrary character: \x<code>
    <code>indicates the hexadecimal character code of the character to be displayed.
    Regards,
    Phani

  • Sender File Adapter Can I  set original MessageID like SOAP Adapter??

    Hello,PI Experts!!
    I want to set original messageID(GUID) to Sender File adapter scenario.
    SOAP Adapter can set original messageID with url, about FILE Adapter??
    I think Adapter Module maybe can set original messageID.
    best Regards,
    Yuuki Fujioka.

    Hello,
    Yes, you can get Message ID with any adapter.
    All neccessary information about approach you can find in links below:
    Use getTransformationParameters().
    Accessing Adapter-Specific Attributes
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
    Container Object
    http://help.sap.com/saphelp_nw04/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/content.htm (String Mapping Runtime Constants: MESSAGE_ID)
    Br,
    Dzmitry

  • Regaring File to IDOC  Useing SOAP Adapter

    Hi ,
        Can any one please forward me an File to idoc Useing SOAP ADapter Senario.IF i am wrong please send me a simple senario of useing SOAP Adapter.
    Regd's
    Raj

    Hi Raj,
    I think i will give you some more information about SOAP adapters,So Please go through the link below and follow the steps mentioned in it while defining the web service.Then you will get to know the actual use of a SOAP adapter.
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm">Defining Web Services</a>
    Sending a Simple SOAP envelope to XI via HTTP using ASP
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken]
    More links for SOAP Adapter:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    You can create SOAP Request from WSDL using the following tool.
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    You've to expose your outbound message interface as a WSDL which can be used by say EP.
    Also go thru the following threads
    Re: WebService
    Re: SOAP Client for Synchronous Scenario
    Re: How to test a webservice as a standalone?
    Also check this Pdf for the Receiever SOAP Adapter configuration:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
    Regards,
    abhy

  • Soap Adapter not Picking up files from sender

    Hello All,
    I have configured a SOAP Adapter and started it. When i place a file in the appropriate directory, it is not getting picked up. Are there any reasons this could happen ?
    I would really appreaciate it if someone can help me with this !!!
    Below is the log:
    17:26:27 (3812): Enabling service ToWS
    17:26:27 (3812): Enabling service FromWS
    17:26:27 (3823): SOAP adapter initialized
    17:26:27 (3830): Starting the server at 8660:/XIservices/MXS/xmb
    17:26:27 (3830): Starting the server at 4444:/XIservices/MXS/ws
    17:26:27 (3807): SOAP adapter started
    Below is part of the config file:
    The port and path where the adapter waits for web service messages from clients.
    XMBWS.WSPort=4444
    XMBWS.WSPath=/XIservices/MXS/ws
    XMB.SenderBusinessSystem=WLX_100
    #XMB.ReceiverBusinessSystem=MD1_400
    XMB.User=XIAPPLUSER
    XMB.Password=********
    XMB.Client =100
    XMB.Language=EN
    XMB.SenderInterfaceNamespace=http://xi.sap.com/wlx
    XMB.ReceiverInterfaceNamespace=urn:sap-com:document:sap:idoc:messages
    XMB.SenderInterfaceName=ProcesseFT
    XMB.ReceiverInterfaceName=Z_SERVICE_ENTRY.ZSERVICEENTRY01
    XMB.TraceLevel=0
    XMB.LoggingLevel=0
    XMB.QualityOfService=EO
    XMB.ContentType=text/xml

    Hi,
    If you are using a Stand-alone J2SE Adapter Engine, you can create a SOAP adapter to pick a SOAP message from a file system and send it to the Integration Server. This is available with the XI3.0.
    The configuration will look like this.
    Bubble adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleBubble
    This adapter instantiates a bubble bag for supporting
    a soap file upload and sender. A bubble bag is a collection of Bubble
    instances that form some processing chain of message objects.
    Below parameter Bubble.Helper specifies the helper class that implements
    the ModuleBubbleHelper interface. This class is used to instantiate
    a bubble bag for this adapter.
    Sets the bubble module helper that can instantiate your bubble bag
    Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperSOAPFileSenderImpl
    #$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    Below this line are the parameters specific to the ModuleBubbleHelperSOAPFileSenderImpl
    #$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    This module loads files from the local file system, consruct SOAP messages
    (or SOAP with Attachments messages), and send them to the specified Web Service target URL.
    Upon successful completion, response messages are stored in the file system.
    Files stored can represent a plain payload, a SOAP envelope, or a SOAP with Attachments.
    Plain payload files and SOAP envelope files may be packaged in MIME using some MIME headers.
    SOAP with Attachments files must be packaged in MIME.
    Specifies the type of the file. The available values are:
    plain for plain; soap for soap envelope; swa for soap with attachments
    SFSender.ContentMode=soap
    Specifies the packaging
    true for MIME packaged file; false for bare content
    SFSender.MIMEPackaged=true
    log everything (4-digit binary, where the bits indicate which
    information is logged: req message, req context, resp request, resp context)
    SFSender.Log=1111
    The target URL to which messages are sent.
    SFSender.TargetURL=http://p28848:4040/mysoaphandler
    The upload directory on the local file system
    This directory has six sub directories with names 0, 1, 2, 3, 4, 5, and 6. (they will be created)
    The meaning of each sub directories are:
    0 = inbox where you place messages to be sent
    1 = trash box
    2 = work box
    3 = successfully completed (original) messages go in
    4 = response messages come in (if any)
    5 = undelivered (original) messages go in
    6 = error messages come in (if any)
    In these directories, the file names are used as key and there can be only one file with
    the same name except in the trash box. So, when you place in the inbox a file with
    the name identical to one of the files stored in another directory, it will not processed.
    SFSender.Directory=/tmp/sfsender
    The polling interval in milliseconds (default is 5000)
    #SFSender.PollingInterval=5000
    The retry delay after each failure in milliseconds (default is 5000)
    #SFSender.RetryDelay=5000
    The maximal retry count upon failures (default is 3)
    After the maximal retry count is reached, the message is moved as undelivered.
    #SFSender.RetryCount=3
    The number of dispatchers to send requests (default is 3)
    SFSender.DispatcherCount=1
    END
    Hope this helps.
    @Ravi: You may call me at +91 9844167672.
    Warm regards,
    Venki.

  • SOAP adapter or file adapter

    Hi Gurus,
    Non-SAP system B ->PI->Non-SAP system A.
    The request is sent from non-SAP application  A to Pi and this is routed to another non SAP system sap example SYSTEM B.
    Then B sends the response in the form of XML file to Application A via PI.
    This is sysnchornous interface. Is it possible to use file adapter on both sender and reciever side in this snchrnous interface.
    or do we need to use teh SOAP adapter on both sides to allow communication between the two system webservices or HTTP post method.
    Please suggest all the possible options.
    Any help appreciated.
    Thanks,
    Jay.

    >Is it possible to use file adapter on both sender and reciever side in this snchrnous interface.
    Since it is synchronous interface, I would recommend you to go SOAP adapter on both sides. That is one possible way. 
    The second possible way is  one end file and other end soap(synch) and the response goes back to file adapter. This is file -> SOAP->file.
    refer this [link|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%20BPM)]
    Replace SOAP with RFC.

  • Prefer HTTP or SOAP Adapter for file upload

    Hi,
    I have the following scenario:
    Data (about 50 MB) is sent to PI and should get uploaded as file to a third party system.
    I don't want to the use the File Adapter as I would have to use the FTP protocol and then have to install a FTP server.
    On the third party system exists already a Web service for uploading files (in this case I would take the SOAP Adapter).
    Another possibility would be to transfer the data with the HTTP Adapter.
    My question is what are advantages and disadvantages of transferring the data to the third party system with the HTTP Adapter and respectively with the SOAP Adapter.
    Thanks and regards
    Patrick

    Hi,
    thanks for your answer, but most of threads say only that SOAP Adapter is for communication with Web services and HTTP not.
    I know this already and in my case I can use both Adapters for the same task and want to know which I should choose in this case.
    Like which one is maybe faster, more reliable, practicable , better for large files...
    Regards
    Patrick

Maybe you are looking for

  • Banding occuring with Lacie 321 as external monitor?

    Please help me. I have just purchased a Lacie 321 lcd monitor and everything was splendid until I decided to take a look at my pictures. This phase of this story is crucial, as I am a professional photgrapher and this new lcd monitor will be used to

  • Color color corrector wanted

    I'm editing a documentary on FCP and we are looking to have someone do a couple of days of work on our fine cut, color correcting it for Sundance submission. We are working in Chelsea Manhattan. For more information on the doc: www.32hours7minutes.co

  • Using Multiple Conditional Tags with Multiple WebHelp Outputs

    I have a project that I have created for a web application. Within the web application, there are 3 types of customers (Commercial Accts, National Accts, and Tier 1 Customers). I have tagged each help topic that is associated with the help topics I h

  • Max. # of mail receipients?  Max size of  e-mail?

    I tried to send a newsletter to about 150 people. The size of e-mail, including a 0.8 mb pdf attachment was 1.3 mb. The server kept on balking and wouldn't send it. Since trying that I've been unable to send anything out. Did I do something wrong or

  • IPod in Car. Options?

    i've been told that iTrip doesn't work on this iPod. i know that the cassette player thing works, but when i bought my car this year, i really never thought that i would have any use for a cassette player, so i don't have one... i saw something simil