Skip to Content
0
Former Member
Jun 05, 2006 at 05:41 AM

Exception in XML Parser

29 Views

Hi all,

I have a file-XI-file scenario.

In this scenario the Transport Protocol used is FTP.

The remote sender and the receiver system have Golden FTP server installed.

The xml file is getting properly picked from the sender system. The format of this file is:

<?xml version="1.0" encoding="UTF-8" ?>

<ns:file_mt xmlns:ns="http://namespace4BPM1">

<file_type>binary</file_type>

<file_name>input</file_name>

<file_ext>txt</file_ext>

<content_dt>

<firstname>neetu</firstname>

<middlename>k</middlename>

<lastname>gupta</lastname>

</content_dt>

</ns:file_mt>

But the reciever file adapter is giving the following error:

Receiver Adapter v1027 for Party '', Service 'Receiver_Service':

Configured at 10:21:05 2006-06-05

Last message processing started 10:21:35 2006-06-05, Error: Message processing failed with java.lang.Throwable: ftp access error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns:file_mt' found in document', probably configuration error in file adapter (XML parser error)'

The parameters specified in the receiver adapter are:

Connect mode: per file transfer

Transfer mode: Binary

put file: directly

file type : binary

I also tried sending the file after removing the structure 'ns:file_mt', but it gave the structure missing error message.

Pls if anybody could guide me as to what should be done.

Thanks in advance.

Regards

Neetu