posted 16 years ago
Hi, I'm having a problem with characters not being returned from the weblogic web service correctly. I'm using weblogic 8.1 sp4.
On the server, (before its sent back), I have this:
���123.20
When I get it on the client, I have this:
?123.20
I have tried building my web-services.xml file so it has the correct character set:
==========
<target name="generate.webservices.xml">
<source2wsdd
javaSource="${src}/${meta.home}/api/MyEJB.java"
ejbLink="${ejbcompiled.jarname}#MyEJB"
ddFile="${build}/WEB-INF/web-services.xml"
typesInfo="${build}/types.xml"
serviceURI="/My"
sourcePath="{build}" />
<replace file="${build}/WEB-INF/web-services.xml">
<replacetoken>web-service </replacetoken>
<replacevalue>web-service charset="ISO-8859-1" </replacevalue>
</replace>
</target>
========
so the web-services.xml looks like:
========
<web-services>
<web-service charset="ISO-8859-1" name="MyEJB"
targetNamespace="http://tempuri.org/"
uri="/My">
. . .
</web-services>
=====
But its still not working.
What am I doing wrong?