PI 7.1 can't FTP XML to XML.

hi All,
currently i was trying to configure the PI for very simple CASE like how to FTP file XML to XML follow the guide below
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00a4c567-f5f8-2b10-02af-c9e9033591ae?QuickLink=index&overridelayout=true
but nothing happen after all the configuration for the variant1, the file doesn't created on target folder, anyway how i trace the error? thanks.
Regards
Hariyono

Hariyono Yang wrote:
communication channel : XiPatternChannel_FileReceiver
adapter type File
target directory C:\XiPattern2
filename scheme XiPatternSenderFile1.xml
communication channel : XiPatternChannel_FileSender
adapter type File
target directory C:\XiPattern1
filename scheme XiPatternSenderFile1.xml
if you are using file adapter, with the transport protocol as FTP, then the path name of the ftp location should be generally of unix format, and the directories generally start with /
in somecases, if you are using filesytem(NFS) as transport protocol, its better to use forward slash e.g. C:/directory instead of C:\directory.
regards,
BJagdishwar.

Similar Messages

  • How to ftp XML document into a XML type which is not created by itself.

    Hi,
    1.
    I have a table call SNPLEX_DESIGN which is created automaticly when I register a snplex_design.xsd XML schema.( Oracle creates it through the xdb:defaultTable="SNPLEX_DESIGN attribute). and it is created using SNPLEX user account.
    2.
    I also created a folder (resource) call /home/SNPLEX/Orders. which is used to hold all the incoming XML document.
    3.
    I created another user account call SNPLEX_APP, which is the only user account allowed to FTP XML document into /home/SNPLEX/Orders folder.
    Isuues,
    If I login as SNPLEX user, I can ftp XML document into the folder and TABLE (the file size = 0). But If I login as SNPLEX_APP user account, I can only ftp XML document into the folder, but Oracle doesn't store the document into the table( becuase the files size shows a number).
    I have granted all the ACL privileges on the /home/SNPEX/Orders folder to SNPLEX_APP hrough OEM.
    DO I miss anything. Any helps will be great appreciated. Resolve this issues is very import to us, sicne we are on a stage to roll system into production.
    Regards,
    Jinsen

    IN order for a registered schema to be available to other users the schema must be registered as a GLOBAL, rather than a LOCAL Schema. This is controlled by the third agument passed to registerSChema, and the default is local. Note that you will also need to explicity grant appropriate permissions on any tables created by the schema registration process to other users who will be loading or reading data from these tables.

  • Sender file adapter - Can I use *.xml for the file name

    Hi Gurus,
    I have some interfaces where I need to pick the file from a directory. The name of the file will have Data<i>time stamp</i> as the naming convention. Can I use *.xml to pick up my files from this directory?
    The help.sap.com documentation says that we can use this naming convention.
    <b>
    &#9679;      File Name
    Specify the name of the file that you want to process. The name can contain placeholders (*, ? (placeholders for exactly one character)) so that you can select a list of files for processing.
    </b>
    I tried using *.xml for my file name in the communication channel, XI is not picking up this file.
    Please let me know if you have the solution.
    Thanks
    Kalyan

    Murthy,
    Thanks for the reply.
    I am using GuildFTP tool as my FTP server. In this tool, all the permissions were given for the file to pick up.
    The status of the file is good.
    Where in the file adapter configuration I have to select 'Read-only'?
    The file adapter is working perfect with the exact name of the file.
    Thanks
    Kalyan

  • Can't place XML into defaultTable using WinExplorier

    Hi,
    Oracle 9.2.0.1
    My sequence of operations:
    1. Register schema - successfully - can see it using WinExplorier; defaultTable and types were created;
    2. Using SQLPLUS can place any XML corresponding registered schema into repository and can see it into
    defaultTable.
    3. BUT CANT PLACE THE SAME XML USING WinExplorier (WEBDAV) !! Using drag-and-drop operation xml just
    can be inserted into repository, but doesn't appear
    inti defaultTable.
    It looks like XMLDB can't see xml schema in registered path.
    Has anybody run into the same problem ?
    Thanks in advance
    Viacheslav

    Hi,
    Upgrade to 9.2.0.3, until I upgrade I could not get the web-dav upload to work at all.
    The only problems I've had with this is if I logged on to web-dav as a different user from that which I registered the schema with. One thing I have noticed, is that the file size is shown as being 0 when the xml has been shredded successfully.
    And the previous answer is right, if you use FTP you might see better error messages.
    Hope it helps,
    John

  • Can't ftp in xdb when value   xs:maxLength (schema)

    I can't ftp into xdb when the content of a xml element
    is larger then xs:maxLength(schema) of that xml element.
    schema
    <xs:element name="b">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="13"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    I don't have a trigger on the xml table that validates
    the xml.
    How can I avoid the ftp error without removing
    xs:maxLength in the schema

    No, when a a schema based XML is stored in XML DB it is stored in the default table. Even with Lax Validation, we have to check that the contents can fit.
    Eg If you've specified maxLenth(40) for an element or attribute of data type xs:string, we've created an corresponding attribute with a data type of varchar2(40) to store the data for that element. There is no way be can store a document that violoates the rules unless as there is no where in the object model to store the extra characters.
    The only alternative is to upload the document as non-schema based. There is an outstanding enhancement request to add the ability to specify an error table as well as a default table to the schema. Documents which failed validation would be stored in the error table. There are not details as to if or when this enhancement might be implimented..

  • How can I access xml document from javascript whithin a JSP page

    how can I access xml document from javascript whithin a JSP page?
    I have a JSP that receives an XML document from a JavaBean, so I can access it within the entire JSP, but I need to access it from the javascript inside the JSP... and I have no idea how i can do this.
    Thanks in advance!

    The solution would only work on MS IE browsers, as other browsers do not support an XML DOM.
    It can be done, but you would be stuck with using the Microsoft broswer. If that is acceptable, I have some example code, and a book recommendation.

  • How I can create a XML file from java Aplication

    How I can create a XML file from java Aplication
    whith have a the following structure
    <users>
    <user>
    <login>anyName</login>     
    <password>xxxx</password>
    </user>
    </users>
    the password label must be encripted
    accept any suggestion

    Let us assume you have all the data from the jsp form in an java bean object..
    Now you want a xml file. This can be acheived in 2 ways
    1. Write it into a file using java.io classes. Say you have a class with name
    write("<name>"+obj.getName+</name>);
    bingo you have a flat file with the xml
    2. Use data binding to do the trick
    will recommend JiBx and Castor for the 2nd option
    Regards,
    Rajagopal

  • Can't FTP from a Mac to a Mac through ABS but can from a PC to Mac

    Hi all,
    I have a problem trying to FTP from a Mac to a Mac through my ABS but can do so from a PC (windows machine).
    I have a webserver http://jeanmatthieu.free.fr/pureftpd/ installed on one of my Macs which is connected to the internet via my ABS (snow). My other Mac is connected to the net via a dial-up modem. I can successfully FTP to the Mac with a webserver using an FTP application on a PC, but am unable to successfully connect from a Mac using an FTP appllication (I have tried Transmit, Fetch, and Cyberduck). The Mac FTP application connects but will not list the files on the FTP server, eventually timing out (see Transmit log below) I think the issue is with the ABS and possible port mapping as I can successfully FTP Mac to Mac if the server is connected to the net through ethernet and not my ABS.
    Can anybody give me pointers as to what I need to do to solve this.
    Thanks
    Cmd: PASV
    227: Entering Passive Mode (82,44,16,203,15,9)
    connect failed: Connection refused.
    Falling back to PORT instead of PASV mode.
    Cmd: PORT 212,67,101,67,204,69
    200: PORT command successful
    Cmd: LIST
    Could not read reply from control connection -- timed out.
    G4 PB   Mac OS X (10.3.9)  

    Hi all,
    I have a problem trying to FTP from a Mac to a Mac through my ABS but can do so from a PC (windows machine).
    I have a webserver http://jeanmatthieu.free.fr/pureftpd/ installed on one of my Macs which is connected to the internet via my ABS (snow). My other Mac is connected to the net via a dial-up modem. I can successfully FTP to the Mac with a webserver using an FTP application on a PC, but am unable to successfully connect from a Mac using an FTP appllication (I have tried Transmit, Fetch, and Cyberduck). The Mac FTP application connects but will not list the files on the FTP server, eventually timing out (see Transmit log below) I think the issue is with the ABS and possible port mapping as I can successfully FTP Mac to Mac if the server is connected to the net through ethernet and not my ABS.
    Can anybody give me pointers as to what I need to do to solve this.
    Thanks
    Cmd: PASV
    227: Entering Passive Mode (82,44,16,203,15,9)
    connect failed: Connection refused.
    Falling back to PORT instead of PASV mode.
    Cmd: PORT 212,67,101,67,204,69
    200: PORT command successful
    Cmd: LIST
    Could not read reply from control connection -- timed out.
    G4 PB   Mac OS X (10.3.9)  

  • How can I extract XML from a text document?

    I have tons of text documents containing useless text and a section of XML. I would like to use either Mac Automator or Apple Script to pull the XML section out and place it in a new document with a .xml extension. How can I do that?
    Here is a sample of the XML section that I need to pull:
    - ---Start ACNS XML
    <?xml version="1.0" encoding="UTF-8"?>
    <Infringement xsi:schemaLocation="http://www.movielabs.com/ACNS/ACNS2v1.xsd" xmlns="http://www.movielabs.com/ACNS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">           <Case>
    <ID>22242387629</ID>
    <Status>OPEN</Status>
    <Severity>Normal</Severity>
    </Case>
    <Complainant>
    <Entity>MPAA Search and Notify</Entity>
    <Contact></Contact>
    <Address></Address>
    <Phone>5555555555</Phone>
    <Email>[email protected]</Email>
    </Complainant>
    <Service_Provider>
    <Entity>Some Place, Somewhere</Entity>
    <Contact></Contact>
    <Address>Some Place, Somewhere  </Address>
    <Phone></Phone>
    <Email>[email protected]</Email>
    </Service_Provider>
    <Source>
    <TimeStamp>2011-12-02T23:41:59.94Z</TimeStamp>
    <IP_Address>127.0.0.1</IP_Address>
    <Port>64153</Port>
    <Type>P2P</Type>
    <SubType BaseType="P2P" Protocol="BitTorrent" />
    <UserName></UserName>
    <Number_Files>1</Number_Files>
    </Source>
    <Content>
    <Item>
    <TimeStamp>2011-12-02T23:41:59.94Z</TimeStamp>
    <AlsoSeen Start="2011-12-02T23:40:00.11Z" End="2011-12-02T23:41:59.94Z"></AlsoSeen>
    <Title>asdfasdf (2011)</Title>
    <Artist></Artist>
    <FileName>asdfasdf (2011) DVDRip XviD-MAXSPEED</FileName>
    <FileSize>1580908467</FileSize>
    <Type>Video</Type>
    <Hash Type="SHA1">8FB7B1F4984AB6E0746B43D2B82D4ED8102984D5</Hash>
    </Item>
    </Content>
    <History></History>
    <Notes></Notes><Type Retraction="false">DMCA</Type>
    <Detection>
    <Asset>
    <OriginalAssetName>asdfasdf (2011)</OriginalAssetName>
    </Asset>
    <ContentMatched Audio="false" Video="true" Text="false" />
    <HashMatched>true</HashMatched>
    <VerificationID>Manual and automated watermark verification</VerificationID>
    </Detection>
    <Verification>
    <VerificationLevel Type="DT">2</VerificationLevel>
    </Verification>
    <TextNotice><![CDATA[12-03-2011

    XML portion always starts with <Infringement and ends with </Infringement>.
    Actually, it doesn't... the XML starts with the <?xml> tag, but that's just me being pedantic
    Given what you've said, though, it's easy to extract the XML data from a given block of text.
    First, read the source data:
    set theText to read file "path:to:the:file"
    Then you can extract the XML via something like:
    set start_tag to "<?xml"
    set end_tag to "</Infringement>"
    set start_of_data to offset of start_tag in theText
    set end_of_data to (offset of end_tag in theText) + (-1 + (length of end_tag))
    set theXML to text start_of_data through end_of_data of theText
    Now you can write that data to a file:
    set theFile to open for access file ((path to desktop as text) & "output.xml" as text) with write permission
    set eof theFile to 0
    write theXML to theFile starting at 0
    close access theFile
    If you have multiple files you can either run this in a loop that iterates over the files, or save the script as a droplet, then drop the files onto the script icon. Let me know if you need help with that, too.

  • Problem with XML import MDM 7.1 - Can't generate Xml Schema

    Hi All,
    When I try to open an XML file using Import manager, I'm getting some errors, as detailed below. I mention that I'm using MDM 7.1.
    The first error I received was the following:
    "Can't open C:/Program files/SAP MDM 7.1/Import Manager/XSD.exe". I copied the file xsd.exe in the Import Manager folder, as suggest here:
    Re: Import Manager Error.
    Afterwards, I received a new error:
    "Can't generate Xml Schema for: C:/Program files/SAP MDM 7.1/Import Manager/filename.xml"
    If anyone has faced the same problem - and solved it -, could you please help me find the reason for this behaviour?
    Regards,
    Laura

    Hi Laura,
    The error message "Can't generate Xml Schema"  might be related to DTD. the XML file has a directive for loading DTD.
    MDM doesnot support DTDs.
    Remove the DTD line and make sure there is only one root element in the XML file and try again.
    Hope this helps,
    Bes t Regards,
    Silpa Chillakuru

  • How can I transform XML-DB to Relational DB?

    How can I transform XML-DB to Relational DB?
    I want to transform Oracle 9i XML-DB to Oracle 8i R-db
    please tell me how to do this .
    thank you

    hi
    good
    its idoc_xml or idoc_xml_transform
    go through the below link hope it ll help you to solve your problem
    Check with below link :
    Re: IDOCS_OUTPUT_IN_XML_FORMAT -- IDOCS_OUTPUT_TO_FILE
    Re: any function module to write-xml schema of a idoctype to an internal table
    /people/michal.krawczyk2/blog/2005/11/13/xi-how-to-check-your-idocs-on-a-web-page-from-sapgui -> this will help you
    thanks
    mrutyun^

  • Can you edit xml files in adobe contribute

    can you edit xml files in adobe contribute

    No, you can't even open them in recent versions of PSE.

  • Can we use XML from Forms 6i?

    Can we use XML from Forms 6i?

    Did you mean: can you parse an XML document within Forms 6i? With the new Java importer support, you should be able to use the Oracle XML parser for Java to do this.

  • How can i generate xml like this?

    Hi all,
    How can i generate xml like this & i need to send it to via HTTP :
    <mms>
                 <subject>message subject</subject>
                 <url_image>http://image_url</url_image>
                 <url_sound>http://sound_url</url_sound>
                 <url_video>http://video_url</url_video>
                 <text>message text</text>
                 <msisdn_sender>6281XYYYYYY</msisdn_sender>
                 <msisdn_receipient>6281XYYYYYY</msisdn_receipient>
                 <sid>to be define later</sid>
                 <trx_id>Unique number</trx_id>
                 <trx_date>yyyyMMddHHmmss</trx_date>
                 <contentid>see note</contentid>
    </mms>& how can i get the value of the sid (for example)?
    I hav tried to generate that xml by using StringBuffer & append, but it's not what i mean...
    Anyone can help me?

    Ok...i got it. But i still hav some problems.
    This is the sample code that i used :
    public class XMLCreator {
         //No generics
         List myData;
         Document dom;
            Element rootEle, mmsEle, mmsE;
            StringWriter stringOut;
            mms mms;
         public XMLCreator(String subject, String image, String sound,
                    String video, String text, String sender, String recipient,
                    int id, String date, String contentid) {
              mms = new mms(subject, image, sound, video, text, sender,
                            recipient, id, contentid, date);
                    createDocument();
         public void run(){
              createDOMTree();
              print();
         private void createDocument() {
              //get an instance of factory
              DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
              try {
              //get an instance of builder
              DocumentBuilder db = dbf.newDocumentBuilder();
              //create an instance of DOM
              dom = db.newDocument();
              }catch(ParserConfigurationException pce) {
                   //dump it
                   System.out.println("Error while trying to instantiate DocumentBuilder " + pce);
         private void createDOMTree(){
              //create the root element <Mms>
              rootEle = dom.createElement("mms");
              dom.appendChild(rootEle);
              createMmsElement(mms);
         private Element createMmsElement(mms b){
              Element subjectEle = dom.createElement("subject");
              Text subjectText = dom.createTextNode(b.getSubject());
              subjectEle.appendChild(subjectText);
              rootEle.appendChild(subjectEle);
              //create url_image element and author text node and attach it to mmsElement
              Element imageEle = dom.createElement("url_image");
              Text imageText = dom.createTextNode(b.getUrl_image());
              imageEle.appendChild(imageText);
              rootEle.appendChild(imageEle);
              // & etc....
              return rootEle;
          * This method uses Xerces specific classes
          * prints the XML document to file.
         private void print(){
              try
                   //print
                   OutputFormat format = new OutputFormat(dom);
                   format.setIndenting(true);
                            stringOut = new StringWriter();
                   //to generate output to console use this serializer
                   XMLSerializer serializer = new XMLSerializer(stringOut, format);
                   //to generate a file output use fileoutputstream instead of system.out
                   //XMLSerializer serializer = new XMLSerializer(
                   //new FileOutputStream(new File("mms.xml")), format);
                   serializer.serialize(dom);
              } catch(IOException ie) {
                  ie.printStackTrace();
            public String getStringOut() {
                return stringOut.toString();
    }when i tried to show the stringOut.toString() in my jsp, it's only showed string like this :
    The Lords Of The Ring http://localhost:8084/movie/lotr.3gp 6281321488448 6281321488448 123 0 20070220114851 LOTR.
    1. Why this is happen?i want to generate xml which its format is like above.
    2. How can i send this xml (put in msg parameter) using jsp (via web) without creating the mms.xml?
    3. if i want to set the msg parameter equal to mms.xml - means that msg = mms.xml, what is the data type for msg? is it an object or anything else?
    Thx b4 in advance...

  • Where I can find the XML error messages repository?

    Hi guys,
    I don't know where I can find the XML error messages repository? (SXMB_MONI)
    I found a structure SXMSMSGDSP! But this is only a structure... I need a table or something like a program who can handle this structure.
    I think, this structure is used to shown an ALV, but first, a method read from memory and handle these data to ALV functions.
    There is a simple table or a kind of way to access this data (error messages) and manipulate it?
    Thanks in advance,
    Ricardo.

    Hi,
    U can check Table <b>SXMSPERROR</b> in in SE11....
    Regards,
    Sridhar Reddy

Maybe you are looking for

  • Need Urgent help with wl 7 client connecting to secure webservice

    Hi I am trying to connect from my ejb client in wl7.0 to a secure web service and I am getting the following error.. <Jun 10, 2004 10:09:54 AM CDT> <Debug> <TLS> <000000> <Exception during handshake, stack trace follows javax.net.ssl.SSLKeyException:

  • [Solved]Automating a script for a usb device on systemd?

    Solution:See 3rd post by 65kid.    Ok I'm trying to learn how to automate the execution of a script I wrote to run whenever a specific usb device is plugged in. In this case a usb flash drive with a specific partition identified though UUID following

  • ES_BADI_ME_BAPI, ME_BAPI_PO_CUST, and Contracts

    We've turned on the ME_BAPI_PO_CUST BAdI for POs and the MEOUT_BAPI_CUST_01 BAdI for SAGs in the ES_BADI_ME_BAPI enhancement spot.  As SAP promises, these BAdI's do "play nice" with BAPI_PO_CREATE1, BAPI_PO_CHANGE, BAPI_SAG_CHANGE, and BAPI_SCHEDULE_

  • Why do we use Integration Scenario in IR

    hi 2 all, i wanted to know why do we use Integration Scenarios and how to configure it ,i mean what are the steps for it Edited by: ujjwal kumar on Mar 11, 2008 11:19 AM

  • UREGENT: How to get a Image displayed on Canvas?

    Hi, my problem is: I have an image drew on Canvas, but I cannot access this image through Java, the image is there on Canvas, but I simply can't get that image. Anyone know how can I get an Image displayed on Canvas?