Hi,
I am trying to access a web service with the wsproxy generator.
I get a iso-8859-1 encoded response (and the remote server tell I use a
"Jakarta Commons-HttpClient/2.0.2" user-agent) when I use the wsproxy
generator and I get a utf-8 encoded response (and the remote server tell
I use a "Mozilla/5.0 (Windows... Firefox/2.0.0.3" user-agent) when I
try the web service directly in a browser (with the very same parameters).
Is the difference of user-agent provoking the difference of encoding ?
If so, how can I change the user-agent, I tried 'set-header' but it
didn't worked :
<map:match pattern="lb.ws">
<map:act type="set-header">
<map:parameter name="userAgent" value="Mozilla/5.0 (Windows...
Firefox/2.0.0.3"/>
</map:act>
<map:generate type="wsproxy" src="http://theremotewebservice" />
<map:serialize type="xml"/>
</map:match>
If not, what should I do to get a utf-8 response using the wsproxy
generator?
Regards,
Lionel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]