Incoming XML Encoding Issue

Hi wMusers,

Thanx in advance.

I am receiving a xml through HTTP POST methods. So I kept node as Input and while receiving xml from source. I am receiving blank message as it has encoding UTF-16. If I post using SOAP UI keeping encoding UTF-8 it is working fine. But source cant change their setting itseems. So could you please help me out how to receive xml message in Webmethods with encoding UTF-16.

Do I need to change any setting in IS or can I change my code to receive UTF-16 xml message.Please help me out.

First check when they post if the content-type is populated with: text/xml

Also, does the xml tag has proper encoding attribute populated?
like this:

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

if they do, it should work.


Thanx for the Quick reply.

Our request is like

<?xml version="1.0" encoding="utf-16"?> PP_TST a7dfde40-ca64-428c-a8d6-839f28118e32 c72d2136-acf3-4611-8eb7-c5b5302f31eb 7189b757-aa69-4501-81fd-8b8c6a06e998 ZZTEST Ok TestMessage

But we are receiving only <?xml version="1.0" encoding="utf-16"?> We are not getting the remaining tags.

If we are trying as UTF-8 it is working fine. But the source system is sending UTF-16. Does WM accept UTF-16 xml messages? If do, does i need to change any settings in admin page or in code?