Error in xmlNodeToDocument

Good Day:

I am beginner in webMethods Developer, I have one problem, this problem is when I manipulate files XML, cause in some files , they have information in its tags:

  • accents ( for example : Mercancía´).
  • Strange characters (for example : ñ)

My process is as follow:

I take file XML and i transformed this file in other file XML with diferent format.

I take file via this service pub.client.ftp:get, Then this file is transformed in format of bytes, after i transform this file to one node via xmlStringToXMLNode, next, this node i transform in document via xmlNodeToDocument, Here is the error, because i can’t manipulate document XML for transformed in other file XML, why?, this file has wrong format.

Someone tell me why is error?:confused::confused::confused:

If I have understood properly - this is ur flow ( partially )

  1. pub.client.ftp:get
  2. file is transformed in format of bytes,
  3. after i transform this file to one node via xmlStringToXMLNode

Now step2 gives you byte/byte array as an output …correct ? Then from where do you get the string for the input parameter of xmlStringToXMLNode ?