Fred, what method of that service were you calling, and with what parameters? Out of curiosity I tried reproducing your problem using the test client here: http://www.xmlbus.com:9010/WSDLClient/WSDLDynamicTestClient.html and information about the service you mentioned here: http://soapclient.com/websearch.html
I tried in vain to get this to return non-UTF8 characters. My best effort was searching MSN for 'pound sign currency' - which returns no results using the SOAP service but not if you use MSN by hand (pointing to a problem with this guy's html parser) I also tried trying to trigger the char you're having problems with ('\'=0x92), searches for 'lmhosts winnt' almost always contain it, and gave me no problems. I got curious because '\' _is_ a valid single byte sequence in UTF8. Is the error possibly in the call rather than the response? You havent given us much to go on here, like for example a stack trace? -Baz Fred So wrote: > When trying to access this news web service: > > http://soapclient.com/xml/SQLDataSoap.wsdl > > Axis (beta 2) gives the following error msg: > > java.io.UTFDataFormatException: invalid byte 1 of > 1-byte UTF-8 sequence (0x92) > > This service returns results which are in HTML and I > suspect that is causing the problem. > > I have changed the wsdl generated code to set the > return type to string and byte and the same error msg > appears. > > Anyway I can get around this? > > Regards > Fred > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com >