XML adapter 4.2- Handling of Special Characters

Has any one experienced problem in handling special characters( for example � or & )using XML adapters supplied with webMethods ( Enterprise server as well as B2B Server). We are having a problem in creating a valid XML document , if the special characters appear in XML data.

Appreciate any feedback from the user community the best practice in this area.

Prasad,

We ran into this problem around the same time you did but I didn’t notice your posting.

To fix this, you need to set the “encode” Input variable to true, in the recordtoDocument step where you convert a Values Object to xmldata.

This will convert all special characters to their respective entity references. (& -> & etc.)

Andrew