Encoding Problem - Webservices
I have a function in a package that is to be made available as a web service. In this function I select some data with XQuery and returned this as XMLTYPE. The database is 8859-1. The function should be called by a different system, which is UTF-8. My questions are:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
…Needed SOAP-response:<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
…2. Is it possible within the function to convert the XMLTYPE in UTF-8 and return it in UTF-8?
1. Is it possible to extend the SOAP response to the encoding?
My SOAP-response:
<?xml version="1.0"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
…Needed SOAP-response:<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
…2. Is it possible within the function to convert the XMLTYPE in UTF-8 and return it in UTF-8?
0