Topic
  • 6 replies
  • Latest Post - ‏2013-02-01T06:09:57Z by SystemAdmin
SystemAdmin
SystemAdmin
6772 Posts

Pinned topic FTP Poller - Incomplete Markup or missing document element at offset 12

‏2013-01-21T10:44:48Z |
Hi,

I am trying to test the usecase of FTP POller where it polls the FTP Server and copies the file to another directory without changing its name.
I am placing the required file in the /get directory which is linked to my FTP Server and it is getting copied into the destination directory /put but in the probe I am getting the below error in the response:-

Incomplete markup or missing document element at offset 12 of ftp://10.66.152.5:21/get/CentralMall.xml?Rename=CentralMall.xml.6802165.RCLADT.XC_FTP_Poller_FSH_MPGW.1358850777

Please help.
Thanks and Regards,
Charu
Updated on 2013-02-01T06:09:57Z at 2013-02-01T06:09:57Z by SystemAdmin
  • sunilsure
    sunilsure
    18 Posts

    Re: FTP Poller - Incomplete Markup or missing document element at offset 12

    ‏2013-01-21T13:27:12Z  
    Hello Charu,
    Are you using any transform actions or stylesheets inside the policy?
    Thanks,
    Sunil Kumar Sure
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: FTP Poller - Incomplete Markup or missing document element at offset 12

    ‏2013-01-21T17:45:07Z  
    • sunilsure
    • ‏2013-01-21T13:27:12Z
    Hello Charu,
    Are you using any transform actions or stylesheets inside the policy?
    Thanks,
    Sunil Kumar Sure
    Hi Sunil,

    Yes,I am using a stylesheet in the transform action in my policy for this usecase. The stylesheet used is similar to the one that I have attached with this reply.

    Thanks and Regards,
    Charu Singhal
  • kenhygh
    kenhygh
    1607 Posts

    Re: FTP Poller - Incomplete Markup or missing document element at offset 12

    ‏2013-01-21T18:53:10Z  
    It just means that DataPower is expecting XML, and the file isn't well-formed XML.

    Ken
  • sunilsure
    sunilsure
    18 Posts

    Re: FTP Poller - Incomplete Markup or missing document element at offset 12

    ‏2013-01-21T19:25:44Z  
    Hi Sunil,

    Yes,I am using a stylesheet in the transform action in my policy for this usecase. The stylesheet used is similar to the one that I have attached with this reply.

    Thanks and Regards,
    Charu Singhal
    Hi Charu Singhal,

    Can you please follow the bellow link for FTP Functionality Use Cases.
    http://www-01.ibm.com/support/docview.wss?uid=swg27016073

    Thanks,
    Sunil Kumar Sure
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: FTP Poller - Incomplete Markup or missing document element at offset 12

    ‏2013-01-29T11:08:45Z  
    • kenhygh
    • ‏2013-01-21T18:53:10Z
    It just means that DataPower is expecting XML, and the file isn't well-formed XML.

    Ken
    Hi Ken,
    Thanks for your input.I changed the Request Type to XML and the Response type to Non-xml and it is working fine now.

    Thanks,
    Charu
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: FTP Poller - Incomplete Markup or missing document element at offset 12

    ‏2013-02-01T06:09:57Z  
    I changed the Request Type to XML and the Response type to Non-xml and it is working fine now.