S-proxy - XI - FTP

Hi.
Have a problem. Going to have a flat structure values separated by ; of amessage delivered by s-proxy to XI.
How do I translate the flat structure in XI to a XML message?
BR
Kalle

>
Kalle Persson wrote:
> Hi.
>
> Have a problem. Going to have a flat structure values separated by ; of amessage delivered by s-proxy to XI.
> How do I translate the flat structure in XI to a XML message?
>
> BR
> Kalle
Is it that you are going to receive a FLAT structure from proxy and you want to create a XML out of the structure?
This being the case, the best way would be to write a java mapping as mentioned on one of the earlier post.
But then in your subject line it says s-proxy - XI - FTP. So is it that you want to send a XML file to file adapter? Or do you want to send the same FLAT file to FTP? if its the latter you dont have to do the XML conversion.

Similar Messages

  • Help needed in PROXY to FTP local

    Hi Guys,
    We are currently working on the WEBAS6.2 ---> XI -
    > thrid party .
    WEBAS6.2 and XI will be used by ABAP Proxy connection .XI to thrid part is file adapter .
    For testing we configure local FTP in desktop with the help of below webblog before we configure this file to go to third party.
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4120. [original link is broken] [original link is broken] [original link is broken]
    We configured all the things . We are getting error - http response contains status code 401 with the description unauthorized.
    We are not using HTTP adapter , We are using FTP local .
    Please help us on this .
    Thanks a lot .
    Regards
    Prabhu

    Hi,
    This error is related to the user id and password that you add in the RFC created on the WAS 6.20 end.
    Please check that the user id has all the authorizations.
    Also I suggest that in the SXMB_ADM of WAS 6.20 ....give the Integration path as http:// Destination
    Destination = RFC destination you create in sm59 for PI connection.
    The above will resolve your error.
    Cheers
    Dhwani

  • Possible to register a Proxy for FTP in the FTP-Communication-Channel ???

    Hi All,
    I have a question regarding the ftp-receiver-communication-channel.
    I have configured an integration scenario for a file-transfer via ftp to New York. I use the File/FTP-Adapter from SAP. I send the files in the passive ftp mode, but only the filename (no content) is created at the ftp server in new york. we get the error: 425 --- Can't open data connection. The Firewall and so on is open for this process and we tested it from other servers. There occurred always the same exception. We have no idea where the mistake could be.
    When we arrange FTP-connects with a ftp-programm (for example WS_FTP) we use a proxy. And it's working.
    Here my Question:
    Is it possible to register a proxy / ftp-proxy in the xi-system or in the File/FTP-Adapter?
    Thanks and best regards
    Christopher

    When you connect to any FTP server it writes some dump to your local system first then opens the data connection. So check whether you have provided neccessary rights on the XI server so that it writes to the local system...
       I think thats when it throws that error...
       Also check whether you have opened necessary ports...it uses port 21and 1024+ ports for passive connections and 21 and 23 for active connections....
       Are you connecting to the other ports rather than standard port 21....then also try connecting through port 21 because if you use other ports it won't work sometimes. Its worth trying with port 21 because if FTP is on UNIX box....the inet daemon on unix box automatically reroutes to the appropriate port after it recieves the connection from port 21.
          And also did you tried connecting to FTP server through you XI server using some other FTP client.
    Hope this helps...
    Regards,
    ravi

  • Updated : ABAP Proxy to FTP scenario

    Hello All,
    We have a service interface with the following structure where N1,N2,N3 are nodes with attributes within them.
    N1
       Attribute 1
       Attribute 2
    N2
       Attribute 3
       Attribute 4
    N3
       Attribute 5
       Attribute 6
    N4
       Attribute 7
       Attribute 8
    We need to convert it into single flat file as follows
    Attribute 1 Attribute 2 Attribute 3 Attribute 4 Attribute 5 Attribute 6 Attribute 7 Attribute 8
    Can the following be achieved using file adapter ?
    Thanks,
    Kiran
    Edited by: Kiran Sakhardande on Jul 20, 2011 8:40 PM

    Hi,
          Define your receiver message type as :
    DT_Rcv
      Row ..... 1..unbounded
        Attrb1
        Attrb2
        Attrb3
        Attrb4
        Attrb5
        Attrb6
        Attrb7
        Attrb8
    In your receiver FCC, define the end seperator as new line character.
    Another option can be java mapping, wherein in the map itself, you create the text file. Incase you go for this option and you are on PI 7.1, define the inbound service interface as XI3.0 compatible so that it can take a non xml structure.
    Regards

  • Ftp over http proxy

    Hi Experts,
    As per sap notes using n/w proxy in ftp adapter is not possible.
    Please let me know what are the possible workarounds.
    Regards,
    Ayush

    hi
    please check your F/W settings.
    and if you can setup FTP on the PI server, you should test on the PI server as FTP server.
    youll find waht is the problem.
    naoki

  • FTP proxy will impact all WLS server

    Hi everybody.
    I try to use proxy to FTP. But when I set the socksProxyPort, socksProxyHost. This
    will impact all WLS instance. It seems due to use System.getProperties().put().
    How can I use the local setting for proxy.
    My code looks like this:
    System.getProperties().put( "socksProxyPort", "1080");
    System.getProperties().put( "socksProxyHost" ,"ftp-proxy");
    Authenticator.setDefault(
    new Authenticator() {
    protected PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication("p_ebo_ldt_ftp1","opcftp123".toCharArray());
    );

    If what Tim has suggested doesn't help, you could try to use a Proxy Automatic Configuration file. It may help forward certain protocols to use the proxy. You can find more information about PAC files here: http://en.wikipedia.org/wiki/Proxy_auto-config
    Here is an example we use:
    function FindProxyForURL(url, host) {
    // If IP address is internal or hostname resolves to internal IP, send direct.
    var resolved_ip = dnsResolve(host);
    if (isInNet(resolved_ip, "10.1.0.0", "255.255.0.0"))
    return "DIRECT";
    else
    return "PROXY 127.0.0.2:80";
    I've changed the IP address values to protect the privacy of where I am employed

  • Reverse Proxy FTP server

    Now that TMG is end of life, I am setting up a new Web Application Proxy server to handle all of our reverse proxy duties. This has been fine except that it doesn't seem to be able to publish FTP. So I ask the Microsoft community, how am I supposed to
    reverse proxy an FTP server that's using FTPs? IIS ARR is not the solution. Thanks.

    Hi,
    Sorry to say that I only found that TMG/ISA or the IIS with ARR can be used as a reverse proxy for applications. Maybe some third-party reverse proxy server can
    achieve that.
    Best regards,
    Susie

  • Ftp prioritised over http etc

    We are a small office network of 3 macs. We are having problems lately - when we try and ftp we are unable to use email or the internet at all. The ftp seems to hog the entire bandwidth. We have found that switching from transmit to cyberduck has been a temporarily solution as it allows us to choke the upload bandwidth to 200 Kbps and we can get internet etc. This has not, however, been an issue in the past - we have been able to use transmit & email, web etc simultaneously. I have checked on the router preference pages and there is nothing that says a certain protocol is given priority. We recently had someone attach a Netgear 10/100/1000 m switch to our router (Netgear DGN 2000) so are wondering whether this has anything to do with anything. Macs plugged directly into the DGN 2000 however also have this issue. If anyone can offer advice that would be really helpful! Would this be a router, ftp software or OS issue?
    Thanks very much!

    Try connecting through a regular FTP client and see
    if that works. If not, it is most likely your network
    settings. Are you connecting to the correct
    portnumber? Are you blocked by a firewall by any
    chance?Thanks for the reply !
    I'am able to connect to the FTP Server using CuteFTP, which enables us to select Proxy Type, to be either HTTP Proxy or FTP Proxy.
    When i select HTTP Proxy in CuteFTP it seems to work fine, but when i select FTP Proxy ,i get the same Connection timeout exception, which is what i get when using (Jakarta FTPCommons ) FTP Client, which is inturn uses Socket to open a connection.
    I'am unable to know what difference dose Proxy type has when a Connection is made ?
    Regards
    jagz.

  • Ajuda com adaptador PROXY

    Henrique/Fernando/ Amigos
    Estou com uma interface PROXY -> File FTP ( Content Conversion ) meio que atipica pelo tamanho que uma mensagem enviada do ERP p/ o PI pode atingir ( cerca de 350 MB ).
    O PROXY chega a gerar a mensagem porem nao consegue enviar a mesma acusando a mensagem muito grande HTTP 400.
    Como devo proceder para processar mensagens desse tamanho que serao utilizadas para carga inicial em coletores de dados .
    Grato
    Carlos

    Bom dia Carlos,
    350 MB pode ser factível local, mas dar problemas quando remoto... Este proxy, junto com o PI e o File onde é gravado... tudo está em um mesmo server? São filesystems remotos?
    Imagino que pode estar acontecendo timeout em algum ponto, daí termina com o HTTP 400 (bad request).
    Já testou com outros tamanhos para ver se funciona?
    Se for nesta linha, teria que aumentar os parms de timeout ou diminuir o tamanho da carga...
    Atenciosamente, Fernando Da Rós
    @Carlos,
    Continuei procurando por infos e achei estas threads com respostas:
    Tem webdispatcher envolvido (veja informação sobre limite default=100)?   Large volume of Message to Server Proxy
    Veja também um como investigar: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747?QuickLink=index&overridelayout=true
    É texto? Que tal zipar?
    Edited by: Fernando Ros on Aug 22, 2011 11:46 PM

  • FTP or SOAP receiver:in sxmb_moni succeed but in RWB failed

    PI version:7.1
    I configed a asynchronous interface: ABAP proxy SENDER--->FTP RECEIVER, and create message.
    the status of messages in sxmb_moni are all ok, but on the FTP server no file received, then check RWB, the FTP RECEIVER adapter contain error:
    "Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error when getting an FTP connection from connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Socket connection timed out: 192.168.100.98:21"
    then i have two questions:
    1. why in sxmb_moni  no error? the message can not restart because the status is successful but in fact, we  should restart it again. is it possible to resolve this problem?
    2. how to resolve the adapter error:Unable to create new pooled resource: ConnectException: Socket connection timed out
    thank you very much

    > then i have two questions:
    > 1. why in sxmb_moni  no error? the message can not restart because the status is successful but in fact, we  should restart it again. is it possible to resolve this problem.
    Add time out values in File receiver channel and are you able to access FTP server using telnet??ping your FTP server using telent.
    > 2. how to resolve the adapter error:Unable to create new pooled resource: ConnectException: Socket connection timed out
    >
    SEARCH in SDN,many people faces similar issues,so you will find solution for the same.
      Reagrds,
    Raj

  • Failing to list files in remote directory using FTP

    Since I've been using a proxy with FTP transport for pull files from a remote server during several months. Now it started to work just sometimes
    ####<Apr 11, 2011 1:33:50 PM BRT> <Error> <WliSbTransports> <WN7-6J6VJN1> <AdminServer> <pool-9-thread-1> <weblogic> <> <f2be7f1e2af484b9:-47b5d228:12f456185e7:-7ff1-000000000000002c> <1302539630973> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$Infolease$1_0$ProxyServices$Contract$SendBookingConfirmationPS: com.bea.wli.sb.transports.TransportException: <user:davi_diogo>Unable to list files for directory:.
    com.bea.wli.sb.transports.TransportException: <user:davi_diogo>Unable to list files for directory:.
         at com.bea.wli.sb.transports.ftp.connector.FTPWorkPartitioningAgent.execute(FTPWorkPartitioningAgent.java:218)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:75)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:139)
         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
         at java.lang.Thread.run(Thread.java:619)
    I configured the service account with my own username, and I do make sure that I have the rights over my home\user directory. (I tested with WINSCP and putty).
    I haven't done any modification to make this start happening.
    following my proxy configuration:
    protocol: ftp
    URI: ftp://myhost/
    mask: *.XML
    but no success.
    I said "sometimes" above because it works after ~15 tentatives. Perhaps this could be a issue in my remote server OS.
    Has anyone faced this issue before?
    Thanks in advance,
    Davinod

    Please refer -
    Error encountered while polling the resource for the service endpoint
    Regards,
    Anuj

  • Problem on FTP receiver adapter

    Hi, All,
    I have two scenarios, both from XI SAP proxy to FTP receiver. And two scenarios are running almost at the same time. I need to send thousands of messages through these scenarios. Now I got problems when I sent out around 300 messages.  The messages just stuck there and don't get through to FTP receiver communication channels. I configured these two FTP receiver communication channels in one Business System. I don't if that causes the problem. Please advise. Thanks a lot.
    Jack

    Hi! Jack,
    According to my Understanding Check once again the below steps..
    1. Check both Queues regarding SMQ1 and SMQ2.
    2. Another thing is got to Communication Channel monitoring and select your Channel and check AUDIT
       LOG and ADD TIME STAMP such that u can get 2 things.
             a) first of all one information that up to at what time XI got picekd the file and
             b) Also u can observe another point that whether the File got picked from Source and holding in XI or else stil the XI doesn't got picked.
    3.  The most important thing is  You asked how to clear all the queues  right ? U can delete queues in two ways.
           a)  U can go to SMQ1 and SMQ2 and delete the queues there it self
           b)  THere is another way to monitor the XI MESSAGES in detail view by search category in
                ASYNCH and SYNCH mode and also based on ERRORS..
    Note:: In order to monitor you need to check the monitoring on SYSTEM.JSP level. Go through the below linik.
    http://HOSTNAME:PORT/MessagingSystem/monitor/systemStatus.jsp
    THere u can get each and every messages and u can clear the BULK of messages in queue.
    Regards:
    Amar Srinivas Eli

  • Using XI to FTP large files

    Hi Folks,
    I have a scenario in which I need to transfer a flat file to an external system. No mapping is required. We are not using BPM. I read Michael's comments on using Java proxies to transfer large files. I know that we can use standard Java IO APIs to copy the file over. However, I don't know how to implement this.
    In my scenario an SAP tranaction will create the file. I just need XI to pick it up and FTP it to another server. Can you point in the right direction as to how i should go about imlementing this?
    1. I assume i will still have to use file adapter to pick up the file.Right?
    2. Then, i use Java server proxy to FTP it to the target system?
    3. In order to generate the proxy i need a message interface. Should i use a dummy Message Interface as my inbound and outbound that points to a dummy message type?
    Can someone provide me a sample?
    Thanks,
    Birla

    Hi Nilesh,
    Thanks for the reply and the link. However, the blog doesn't provide solution to my problem. I was asking if XI can pick-up a large file (say 200MB) and FTP it to an external system without doing content conversion.
    I already read these blogs.
    FTP_TO_FTP
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    These blogs suggest that i can use Java proxy to achieve better performance.
    I just don't know how to implement it.
    Any help would be much appreciated.
    Thanks,
    Birla.

  • Possible to set Dynamic Config from ABAP Proxy

    Hi,
    I know how to get and set Dynamic Config from Java/XSLT mappings and adapter modules. But I want to do this from an outbound ABAP Proxy Call (in the same way I can set the serialization context for EOIO), is that possible?
    The scenario is: I have an interface; Proxy -> Xi -> ftp, with no mapping. It seems unnecessary to introduce a mapping just to set some dynamic config values for the receiving adapter which are already known at the outbound proxy call...
    rgds Johan

    Hi Bhavesh,
    In the thread you mention it is shown that you can set Dynamic Config properties during an ABAP mapping. My question was if I can set these properties already in the proxy call? Or did I miss something?
    Of-course I can introduce a dummy mapping in Java/XSLT/ABAP which copies the source message to the result message and sets the dynamic config properties, but I would rather not introduce a mapping if not neccessary...
    rgds Johan

  • Credentials for the proxy

    So, people, are there any way to set the credentials for the proxy server?
    I'm using E60 with v2.0618 firmware. And I wasn't able to find the way to do that. In the access point -> advanced settings dialog you can set only proxy IP address and port. And there is no way to set the credentials
    More over, most applications (and surely all Nokia applications) do not recognize situations when proxy requests login/password and report a connection error.
    There a re very few apps which handle it correctly (like opera/miniOpera).
    Also I wonder if this was changed in v3 firmware for E60.

    I've got the same deal, and apparently the internet proxy option is not available in the Safari 3 for Windows version, despite not mentioning this anywhere.
    So far I've checked:
    The help files (no hits on the word proxy, proxies, etc)
    Under Preferences the Proxies button is grayed out.
    Clicking the '?' next in the Advanced settings tabs lists
    information about every other setting except for proxies
    What's puzzling is that this is one of the very features touted (reason 12 of 12 reasons you'll love Safari):
    "Safari also supports a variety of proxy protocols — services that help firewalls control what flows in and out of the network — including Automatic Proxy configuration, FTP Proxy, Web Proxy (HTTP), Secure Web Proxy (HTTPS), Streaming Proxy (RTSP), SOCKS Proxy, and Gopher Proxy."
    ..apparently just not in the BETA
    Apple, in the future PLEASE include a 'readme' that explains what is and is not included in the Beta. It saves all of us early adopters the pain of not being able to play with your new toys behind a proxy.
    eMac 1.25Ghz G4, iBook G4, Treo 650   Mac OS X (10.4.9)   HP nc6000 at work

Maybe you are looking for

  • IPhone 6 and 6 Plus Setup A Mess

    This post is for those of us upgrading from an earlier iPhone, especially the 4S forward. Those new to the iPhone likely will not encounter what's discussed below. I've marked this as a question so others can contribute other solutions/options. Final

  • Tux Commander Problem

    Hi, i have a problem with tux commander, while browsing my system directories works just fine, whenever i try to click on the application menus i get an error that says: An Unhandled exception has occured invalid floating point operation and my entir

  • ResourceBundle within EJB Project

    I'd like to use a ResourceBundle from within an EJBProject. While running the sample it can't find the resource bundle simply because it's not in the classpath. I had expected Workshop to package my .properties file in the JAR which gets generated. U

  • Every time I connect my ipod touch to itunes it changes the time to three hours ahead how can I stop this

    can't stop itunes from changing the time on my ipod when I sync to computer

  • Using Mail Transport Rules and the Exchange AWS API

    I am looking to programmatically Enable and Disable hub transport rules from VS.NET and was hoping these functions would be available via the REST API. However, I can't find any references, which indicates that perhaps they don't exist.  The rules I