I downloaded de CVS source code and i find this package
org.apache.axis.components.encoding;
I find that there is two classes for encoding to utf-8 and to utf-16...
What should i do to create one to encode in ISO-8859-1??
Is posible to change the xml-encoding of the soap message genreates by axis??
I think this is the problem because the messages have this appearance. (Look to the bolds words.)
Regards, Enrique.
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:obtenerCapacidadDeServicio soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://distribuidores.servicioweb.cegal"> <CIF xsi:type="xsd:string">14258425N</CIF> <libros href=""> </ns1:obtenerCapacidadDeServicio> <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:Libros" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://distribuidores.servicioweb.cegal"> <libro href=""> <libro href=""> </multiRef> <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:Libro" xmlns:ns3="http://distribuidores.servicioweb.cegal" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <ISBN xsi:type="xsd:string">8448234081</ISBN> <autor xsi:type="xsd:string"></autor> <cantidad xsi:type="xsd:int">0</cantidad> <capacidadDeServicio xsi:type="xsd:int">0</capacidadDeServicio> <editorial xsi:type="xsd:string">Valencia (Comunidad Autónoma). Generalidad = València (Comunitat Autònoma). Generalitat</editorial> <porcentajeIVA xsi:type="xsd:double">0.0</porcentajeIVA> <precio xsi:type="xsd:double">0.0</precio> <precioSinIVA xsi:type="xsd:double">0.0</precioSinIVA> <titulo xsi:type="xsd:string">10 años del Programa de Prevención del Cáncer de Mama = 10 anys de Prevenció del Programa de Cà ncer de Mà ma</titulo> </multiRef> </soapenv:Body> </soapenv:Envelope>
_____________________________ Enrique Rodriguez Lasterra NHT-Norwick.com
|
- change soap messages xml encoding to iso-8859-1 Enrique Rodríguez
- RE: change soap messages xml encoding to iso-8859-1 Enrique Rodríguez
- RE: change soap messages xml encoding to iso-88... Rick Kellogg
- RE: change soap messages xml encoding to iso-88... Rick Kellogg
- RE: change soap messages xml encoding to iso-8859-1 Enrique Rodríguez
- Re: change soap messages xml encoding to iso-8859-1 Henrik Vendelbo
- RE: change soap messages xml encoding to iso-8859-1 Enrique Rodríguez