axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emrah YILDIRIM" <emrah.yildi...@probel.com.tr>
Subject Invalid UTF-8 middle byte
Date Fri, 20 Jun 2008 07:21:05 GMT
Hi All,

I have  axis2 1.4 with rampart 1.3 module client, running on Windows XP SP3
English with the Java 1.6.06-b02. 

 

Until  the our service provider improving their service to the from 1.2 to
1.3 our client program was working, after that we have compiled new client
codes against the new service everything was looking ok. 

There was no compiler error or nothing fault was found, but then when we
tried to run client it was started give us following below error.

 

I have also attached wsdl file, sample stub file and client sample code.
Service requires username token profile for the connection.

 

It is really urgent please help us.

 

Thank you in advance. 

 

Emrah Yildirim.

emrah.yildirim@probel.com.tr

 

Error Message:

     [java] org.apache.axiom.om.OMException:
com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x65 (at char
#2425, byte #37)

     [java]     at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:249)

     [java]     at
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocument
Impl.java:132)

     [java]     at
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuil
der.java:411)

     [java]     at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:602)

     [java]     at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)

     [java]     at
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.ja
va:97)

     [java]     at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuild
er.java:86)

     [java]     at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(Deplo
ymentEngine.java:641)

     [java]     at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(File
SystemConfigurator.java:116)

     [java]     at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont
ext(ConfigurationContextFactory.java:68)

     [java]     at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont
extFromFileSystem(ConfigurationContextFactory.java:184)

     [java]     at
org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.j
ava:150)

     [java]     at
org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:143)

     [java]     at
v3.hl7_org.Muayene.MCCI_AR000001TR_ServiceStub.<init>(MCCI_AR000001TR_Servic
eStub.java:126)

     [java]     at
v3.hl7_org.Muayene.MCCI_AR000001TR_ServiceStub.<init>(MCCI_AR000001TR_Servic
eStub.java:112)

     [java]     at
v3.hl7_org.Muayene.MCCI_AR000001TR_ServiceStub.<init>(MCCI_AR000001TR_Servic
eStub.java:163)

     [java]     at
client.SaglikNetClient.firstWebServiceMuayene(SaglikNetClient.java:42)

     [java]     at client.SaglikNetClient.execute(SaglikNetClient.java:177)

     [java]     at client.SaglikNetClient.main(SaglikNetClient.java:223)

     [java] Caused by: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8
middle byte 0x65 (at char #2425, byte #37)

     [java]     at
com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)

     [java]     at
com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)

     [java]     at
org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java
:506)

     [java]     at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:161)

     [java]     ... 18 more

     [java] Caused by: java.io.CharConversionException: Invalid UTF-8 middle
byte 0x65 (at char #2425, byte #37)

     [java]     at
com.ctc.wstx.io.UTF8Reader.reportInvalidOther(UTF8Reader.java:313)

     [java]     at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:204)

     [java]     at
com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)

     [java]     at
com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57
)

     [java]     at
com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:967)

     [java]     at
com.ctc.wstx.sr.StreamScanner.getNext(StreamScanner.java:738)

     [java]     at
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1995
)

     [java]     at
com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)

     [java]     ... 20 more 


Mime
View raw message