You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by "Kwangje, Cho" <kw...@5184.co.kr> on 2000/09/28 23:34:18 UTC
How can I use SOAP with the native charset ?
Hi! all.
I want to use the SOAP with the native charset (EUC-KR or KSC5601).
But, the current Apache-SOAP 2.0 doesn't support it.
If anyone knows about it's informations or examples where I have to hack the SOAP sources, reply to me.
I have used the Resin1.2b1 for the servlet & jsp and the XML parser be used the Xerces1.2.
Follow are the exception stack
<< Server-side exceptions
The element type "SOAP-ENV:Envelope" must be terminated by the matching end-tag"</SOAP-ENV:Envelope>".
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:634)
at org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanner.java:683)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1187)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
at _jsp._examples._webapps._soap._admin._rpcrouter__jsp._jspService(_rpcrouter__jsp.java:133)
at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
at com.caucho.jsp.Page.service(Page.java:298)
at com.caucho.server.http.Invocation.service(Invocation.java:234)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:111)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:181)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:137)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:484)
<< Client-side exceptions
D:\soap-2_0\samples\addressbook>java samples.addressbook.GetAddress http://localhost:8080/examples/webapps/soap/admin/rpcrouter.jsp "광제"
The markup in the document preceding the root element must be well-formed.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:625)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:908)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
at org.apache.soap.rpc.Call.invoke(Call.java:157)
at samples.addressbook.GetAddress.main(GetAddress.java:125)
Caught SOAPException (SOAP-ENV:Protocol):
DOM parsing error: [C@9cf1e