XML encoding="utf-8" header is missing in SOAP request



when i call SOAP service from my Java client or SOAP UI tool then generated XML is missing the encoding part.


message generted by java client < xml version="1.0" ?> encoding part is missing when i check in wireshark msg.


Ideally It should b < xml version="1.0" encoding="utf-8"?>


I have used wsdl2java tool to generate java client for a soap based web service. any help how to add encoding in generated xml ???


No comments:

Post a Comment