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

Similar Messages

  • My send and receive email works fine over wi-fi in the US but when I am in Europe I can only receive emails. My iPad tells me that the emails i have typed have been sent (the whooshing sound) yet they are never received. Anyone have any ideas please?

    In the US, my iPad 2 sends and recieves email over wi-fi without problems, yet when I am in Europe, I can receive emails over wi-fi without issue, yet the emails that I send (get the whooshing sound) never arrive.
    I have input a valid local smtp address yet that still get no results.
    Has anyone had the same issue and found a workable solution please?

    Who is your email provider?
    If you use an independent email provider (not tied to any specific ISP) such as GMail or iCloud, you'll have no problems sending email from any location or network, without having to change any outgoing SMTP servers to local ones.

  • Sending and receiving animated Gif files

    What is the easiest way to do this? Use a different mail program?
    Thanks.

    the following worked for me. first select all your contacts in Address Book and drag them to the desktop. this will create one big vcard for them. then use this site to convert it to an LDIF file http://labs.brotherli.ch/vcfconvert/
    lastly use the import function in Thunderbird to import the LDIF file into Thunderbird address book.

  • Receive XML file from CIDX adapter and Post to SAP as IDoc using XI

    I have scenario where we will receive the xml file from CIDX adapter. I need to take the xml from CIDX, do the Database Lookup and post it to SAP as IDoc.
    Any technical documentaion or step-by-step process documents can be very helpfull to me, since I am new to XI
    Thanks
    SP

    Lookup in XI is used to call the target data storage system and get data from there to your mapping programme.
    In XI you can do Lookup in Message Mapping, Java Mapping and in XSLT Mapping. Previously Lookup in XI was system dependent. But now what ever the system are i.e. SAP system or non-sap system(Oracle,MS SQL etc) lookup API are same.
    Overview of Lookup
    - Lookups are used to identify/request the data from mapping program.
    - It interrupt the process and looking for data which was stored in target system.
    - It get that data and comeback to process and continue with that data.
    Types of Lookups in XI
    - JDBC Lookup: JDBC lookup is used for accessing data from database (non SAP).
    - RFC Lookup: RFC lookup is used for accessing the SAP Data.
    - SOAP Lookup: SOAP lookup is used for accessing data from Webservice
    Steps to perform Lookup in Mapping
    Import package com.sap.aii.mapping.lookup.*;
    Create connection to the target Database system.
    // Determine communication channel created in ID
    Channel channel = null;
    channel = LookupService.getChannel("DB-SYSTEM-NAME","DB-CHANNEL-NAME");
    // Get system accessor for the channel.
    DataBaseAccessor accessor = null;
    accessor = LookupService.getDataBaseAccessor(channel);
    Build the Query String.
    Getting Result
    // Execute Query and get the values.
    DataBaseResult resultSet = null;
    resultSet = accessor.execute(Query);

  • How send and receive XML file from PI 7.0 via SSL

    Hello experts,
    Can you point to some documentation , examples , links where I can get some information on how to send and receive XML files using PI 7.0 via SSL ?
    Thanks in advance.

    Hi,
      refer to the following links.
    Enabling SSL
    http://help.sap.com/saphelp_nwpi71/helpdata/en/14/ef2940cbf2195de10000000a1550b0/content.htm
    Adapter specific security
    http://help.sap.com/saphelp_nwpi71/helpdata/en/f5/799add57aeee4f889265094a04695c/frameset.htm
    regards,
         MIlan Thaker.

  • How to edit xml file particular value. and how to send xml file over ip address 192.168.2.10 using ftp

    how to edit xml file particular value. and how to send xml file over ip address 192.168.2.10 device using ftp through Ethernet

    Hello
    For using FTP function in LabVIEW, I recommend you to check this document: FTP Basics
    Also, take a look at FTP Browser.vi, which is available at the Example Finder.
    To edit a XML file, try to use VIs in XML palette. Maybe Write to XML.vi helps you.
    Post your current VI if possible.
    Regards
    Mondoni

  • Sending and Retrieving XML files as soap attachments

    How do I send an XML file as an attachment and then retrieve it as an XML file from soap attachment.
    I am able to send it as an xml attachment but i cannot retrive it as an xml file.
    Plz help me out in this regard.
    Its kinda urgent...

    How do I send an XML file as an attachment and then retrieve it as an XML file from soap attachment.
    I am able to send it as an xml attachment but i cannot retrive it as an xml file.
    Plz help me out in this regard.
    Its kinda urgent...

  • Sender and Receiver details in XML for FAX

    Hi,
    I have to send below informations in XML which is for fax(RightFax).
    I am creating XML file in Smartforms.
    They told me to provide sender and receiver details in XML. I dont know where to fill all these details.
    Has anybody worked with RightFax for Smartforms? Please share with me.
    Thanks,
    Ramesh

    hi,
    upon understading your question i got a link.please go through this .
    https://forums.sdn.sap.com/click.jspa?searchID=12286932&messageID=5229365
    please reward me if helpful.

  • TS2755 I have 3 phones on one Icloud account. It has been this way for over a year with no issues. After and update on of the lines started getting text messages from all 3 phones. We fixed the send and receive and it was fixed. It is doing it again.

    I have 3 phones on one Icloud account. They have been this way for over a year. After an update last week one of the phones started getting messages for all of the other lines. We fixed this under the send and receive under settings. It was fine for a few days. Suddenly it started happening again. Yesterday after two hours on the phone I changed my apple id and it is still happening. Before that Verizon had told me to turn off my imessage when that happened I could not get any texts at all from other Iphone users.

    Make 3 different iCloud accounts and use ONLY for iMessage.   That will permanently fix your issue.

  • SOAP Scenario-Sender and receiver having same structure- Mapping Required?

    Hi,
    We are having a SOAP to SOAP scenario. In that the sender and receiver are having same structure. Is it possible to by-pass mapping and just do the configuration from ID
    Thanks and regards,
    Siji Anup

    Hi Siji,
    AFAIK you can skip ESR development. Check the example in this blog When and how to create an scenario in SAP PI without mapping objects.
    Regards.

  • XI3 SOAP sender and Receiver

    Hi
    I am stuck with a connecting to scenarios using SOAP channel. In short there is one business scenario that based on some conditions must start other scenarios (each one built around one business process). I am trying to send asynchronous SOAP message within the same XI and treat it as a External XI system to start another Business Scenario (using XI adapter does not work as the system discovers the message as being in a loop).
    Everything would be fine if there would be 1 target scenarios but I have 1:n. For asyncronous transport I have defined different Message Interfaces to be used for on each case. So XI should determine the right business process based on the message interface that uses the communication channel.
    So I have configured a SOAP sender and a receiver channel. As I understood from SOAP adapter FAQ I checked "Use Encoded Headers" and "Use Query String" for both - sender and receiver channel. And ofcourse receiver channel is pointed to http://:/XISOAPAdapter/MessageServlet?channel=:{system name}:{receiver channel name} but when I start the initiating scenario the asyncronous message is sent of but nobody is catching it.
    In RWB Message monitoring / adapter engine I found the the message receives an exeception:
    SOAP: response message contains an error XIServer/UNKNOWN/ModuleUnknownException -
    com.sap.aii.af.mp.module.ModuleException: either no channelID
    specified or no channel found for the specified party, service, and channel name,
    MessageServlet(Version $Id: //tc/aii/30_REL/src/_adapters
    /_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#15 $) at
    com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:427) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl....
    runServlet(HttpHandlerImpl.java:401) at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl....
    handleRequest(HttpHandlerImpl.java:266) at
    com.sap.engine.services.httpserver.server.RequestAnalizer....
    startServlet(RequestAnalizer.java:387) at
    com.sap.engine.services.httpserver.server.RequestAnalizer....
    startServlet(RequestAnalizer.java:365) at
    com.sap.engine.services.httpserver.server.RequestAnalizer....
    invokeWebContainer(RequestAnalizer.java:944) at
    com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at
    com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at
    com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener....
    process(ApplicationSessionMessageListener.java:33) at
    com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) 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)
    Any ideas... how to make XI to send SOAP messages so that the same XI system would be able to pick them up?
    Or what have I done wrong?
    Best wishes,
    Heiko

    hi,
    What is the format that u are using for the sender URL....The error message you are getting either because the names that you have mentioned in the sender URL are wrong or the URl format itslef is wrong.....if the format is the one that you have mentioned in the first post then it is not the desired format.
    Use the following format to create the URL to send the request:
    http://<servernameORserverIPaddress>:<portNumber>/XISOAPAdapter/MessageServlet?channel=:<senderservice>:<snederCCname>&version=3.0&Sender.Service=<senderservice>&Interface=<IRnamespace>%5E<senderMI>
    Replace
    with
    & amp;
    (no space inbetween the two words) in the above URL.
    How to configure SOAP communication channels (sender and receiver) so that two XI instances could communicate and (more important) use different message interfaces on the same channel?
    While creating a Receiver communication channel there is no need to specify the interface name and hence it can be used in different scenarios....however a sender communication needs the sender interface to be specified (as in SAP XI.....not in SAP PI).....so a sender channel can be used in different scenarios but with only the same interface.....
    Regards,
    Abhishek
    Edited by: abhishek salvi on Feb 17, 2009 2:50 PM

  • Send and Receive ACK 997 over AS2

    Hi,
    I have AS2/EDI setup in place and is working fine. The only thing remaining is sending and receiving Ack 997. How can I do that? What is the quickest way of doing it?
    Please help. I need it urgently. I'm sure there must be some quick way of doing the same.
    Thanks.

    Hi Dipti,
    If you have setup ready with parties then you need to add agreement
    and in the agreement configure the acknowledgements section.
    Go through following articles:
    BizTalk Server EDI Scenario: Send an X12 Message and Receive an Acknowledgement
    BizTalk Server EDI Scenario: Send an X12 Message Over AS2 and Receive an
    Asynchronous MDN
    If you not have parties added then first do that and then create agreement between them:
    Create Trading Partners and Business Profiles
    Create Trading Partner Agreement
    Maheshkumar S Tiwari|User Page|Blog|BizTalk
    Server : How Map Works on Port Level

  • Send and receive files between unix machines

    Hi friends,
    I have to send and receive files from one unix machine to another unix machine. In my first unix machine I have tomcat webserver. Using a JSP I have to send and receive files from this machine to another machine. The destination machine contain some BAAN implementation, which take the files I send as input .
    Can you send me a java program to solve this problem.

    Hi friends,
    I am getting a problem in my application. I will state the complete problem in detail. I have to transfer 3 files from one NT machine to unix machine some where kept in net work, I used an ftp in 'Process p = getRunTime().exec("ftp -i -s:ftp.txt")'. In ftp.txt file I have given the necessary things for ftp to unix machine. The files are transfering into the unix box. When I to the process for the 2nd time I have to check whether the file are exists in the unix box, then only transfer the files. Now, again I am doing ftp bring the files from the unix box to NT machines using 'Process p = getRunTime().exec("ftp -i -s:ftp1.txt")' where ftp1 contains all the necessary things for ftp to unix machine . Now I am checking for the files available in the NT machine using boolean=(new File(filename)).exists(), Fine out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false', even the same happens if I delete the 3 files after checking, out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false'. I went to the folder where I am bring files from and removing the files manually, one file is showing share violation, one process is using the file . I am unable to resolve this problem, will this code what I write is acceptable if not suggest any other code. I have sending all the snippets of the programs. I am doing this in the development environment like this. My production environment is totally both are unix machines.
    1. ftp to transfer files.(tranfer.txt)called in java code down
    open 172.16.30.6
    informix
    informix
    bin
    has
    cd /tmp
    put d:/dathu/CSV/bssfa932.txt
    put d:/dathu/CSV/bssfa933.txt
    put d:/dathu/CSV/bssfa936.txt
    bye
    2. ftp to get the files(get.txt)used in java code down
    open 172.16.30.6
    informix
    informix
    bin
    has
    cd /tmp
    lcd d:/dathu/hold
    get bssfa932.txt
    get bssfa933.txt
    get bssfa936.txt
    bye
    3. java code snippet to getfiles
    Process p = Runtime.getRuntime().exec("ftp -i -s:get.txt");
    4. java code to check the files exist
    boolean filestatus=moCreatFlatFilerobj.isFileExists();
    public boolean isFileExists(){
    boolean isfileexisting=false;
    boolean blnordhead = (new File(file1 with path)).exists();
    boolean blnordlines = (new File(file2 with path)).exists();
    boolean blnaccount = (new File(file3 with path)).exists();
    if(blnordhead && blnordlines && blnaccount){
    isfileexisting=true;
    return isfileexisting;
    5. java code to delete files
    public void deleteFiles(){
    boolean header= (new File(file1 with path)).delete();
    boolean line =(new File(file2 with path)).delete();
    boolean account=(new File(file3 with path)).delete();
    6. java code to tranfer files.
    p = Runtime.getRuntime().exec("ftp -i -s:transfer.txt");

  • Receiving Custom XML Document over AS2 (HTTPS) - Inbound Processing

    Hi All,
    Need help in Receiving Custom XML Document over AS2 (HTTPS) - Inbound Processing
    External Trading Partner will be able to post the XML Documents to https://<b2bconsolehost>:<b2bconsoleport>/b2b/httpReceiver.
    Here is the process flow:
    1. External Trading Partner will be posting the XML Documents to https://<b2bconsolehost>:<b2bconsoleport>/b2b/httpReceiver
    2. B2B, consumes the Custom XML validates as per the XSD and process it.
    3. How to send the ACK back to External Trading Partner if it validates successfully and sent it to 'IP_IN_QUEUE'
    4. How to send the ACK back to External Trading Partner if the validation fails after receiving the XML document.
    5. Does the External Trading Partner require any certificates to post the XML Documents to https://<b2bconsolehost>:<b2bconsoleport>/b2b/httpReceiver (no need of encryption/decryption)?
    6. How to enable the B2B server to accept the HTTPS messages from the Trading Partner (no need of encryption/decryption).
    Please let me know. Thanks In Advance.
    Regards,
    Amirineni

    Hi Nandu, Ramesh,
    We have done the set-ups for transmitting a Custom XML Document over HTTP1.1 in B2B.
    Our Business Case is as follows:
    1. Read the Flat File using BPEL File Adapter
    2. Transform the Message in BPEL and send it to B2B
    2. Based on the set-ups in B2B, we need to post the XML message to the folliwng URL:-
    http://databridge.buy.datastream.net:5555/invoke/dsImport/receiveXML
    In the B2B Set-Ups, I have done the following:
    Business Protocol name: Custom Document over Internet
    Exchange Protocol: AS
    Document Protocol: Custom
    Transport Protocol: HTTP-1.1
    Host name : http://databridge.buy.datastream.net
    Port: 5555
    I have also deployed the agreement as well as the configuration. The issue that I am currently facing is when I select the configuration in WSIL browser in JDeveloper, I am getting the following error:
    "Unable to get schema information for target".
    Hence I am not able to map the message in BPEL and send it to B2B.
    Could you please let me know the possible causes and if I am missing anything in the set-ups in B2B.
    As always, your help and guidance is highly appreciated.
    Thanks,
    Dibya

  • JDBC Sender and Receiver

    Hello:
    I have an scenario FILE-to-FILE and it's working ok. So now I want to change it into FILE-to-JDBC so I thought just to change the Communication Channel RECEIVER, instead of file, use JDBC adapter.
    I've read this blog <a href="/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 to JDBC Adapter using SAP XI 3.0</a> but I don't have clear where tu place the SQL Insert statement, or to know which table to affect. I am using this settings on the RECEIVER communication channel:
    Adapter type: JDBC
    Transfer Protocol : JDBC 2.0
    Message Protocol : XML SQL Format
    -- Database Connection --
    JDBC Driver : net.sourceforge.jtds.jdbc.Driver
    Connection: jdbc:jtds:sybase://alma.mex.sap.corp:2638/demo
    I've noticed thta if the Communication channel is SENDER, I do get a parameter called Update SQL Statement, but it's not there when it's  a RECEIVER, why is that?
    Greetings!
    Alejandro

    Thanks for the info
    Reading the help site, I find that the xml message must have a certain structure, that will be interpreted by the database. If I want to send an INSERT, I would have an xml message like this:
    [code]
    <root>
      <stmt>
        <Customers action="SQL_DML">
          <access> UPDATE Customers SET CompanyName=’$NAME$’, Address=’$ADDRESS$' WHERE CustomerID='$KEYFIELD$’
          </access>
          <key>
            <NAME>Company</NAME>
            <ADDRESS>Street 3 </ADDRESS>
            <KEYFIELD>CO</KEYFIELD>
          </key>
        </Customers>
      </stmt>
    </root>
    [/code]
    And as I understand I <b>must define those fields</b> on my data type XSD so the mesagge from the sender arrives with this structure right?
    so I created an XSD like this
    [code]
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn://alex.com/ftp001" targetNamespace="urn://alex.com/ftp001">
         <xsd:complexType name="JDBC_DATA_TYPE_001">
              <xsd:sequence>
                   <xsd:element name="root">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             89e2af209ce511dbaf580015587b9f42
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="smtp">
                                       <xsd:annotation>
                                            <xsd:appinfo source="http://sap.com/xi/TextID">
                                            89e520209ce511dbc9230015587b9f42
                                            </xsd:appinfo>
                                       </xsd:annotation>
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="Person">
                                                      <xsd:annotation>
                                                           <xsd:appinfo source="http://sap.com/xi/TextID">
                                                           89e520219ce511db832b0015587b9f42
                                                           </xsd:appinfo>
                                                      </xsd:annotation>
                                                      <xsd:complexType>
                                                           <xsd:sequence>
                                                                <xsd:element name="access" type="xsd:string">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          89e520239ce511db99c60015587b9f42
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                </xsd:element>
                                                                <xsd:element name="key">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          89e520249ce511db95d80015587b9f42
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                     <xsd:complexType>
                                                                          <xsd:sequence>
                                                                               <xsd:element name="FirstName" type="xsd:string">
                                                                                    <xsd:annotation>
                                                                                         <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                                         89e520259ce511db81520015587b9f42
                                                                                         </xsd:appinfo>
                                                                                    </xsd:annotation>
                                                                               </xsd:element>
                                                                               <xsd:element name="LastName" type="xsd:string">
                                                                                    <xsd:annotation>
                                                                                         <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                                         89e520269ce511dba6d30015587b9f42
                                                                                         </xsd:appinfo>
                                                                                    </xsd:annotation>
                                                                               </xsd:element>
                                                                               <xsd:element name="Age" type="xsd:string">
                                                                                    <xsd:annotation>
                                                                                         <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                                         89e520279ce511dbc9070015587b9f42
                                                                                         </xsd:appinfo>
                                                                                    </xsd:annotation>
                                                                               </xsd:element>
                                                                          </xsd:sequence>
                                                                     </xsd:complexType>
                                                                </xsd:element>
                                                           </xsd:sequence>
                                                           <xsd:attribute name="action" type="xsd:string">
                                                                <xsd:annotation>
                                                                     <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                     89e520229ce511db82120015587b9f42
                                                                     </xsd:appinfo>
                                                                </xsd:annotation>
                                                           </xsd:attribute>
                                                      </xsd:complexType>
                                                 </xsd:element>
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:sequence>
                        </xsd:complexType>
                   </xsd:element>
              </xsd:sequence>
         </xsd:complexType>
    </xsd:schema>
    and I must send the SQL Query statement in the ACCESS node.
    Right?
    Thanks
    Alejandro
    [/code]

Maybe you are looking for