Rank: Newbie
Joined: 2/12/2015 Posts: 1
|
Hello, I'm currently evaluating the RaptorXML java api to apply a XSLT transformation but I'm getting the exception shown below. The input file contents is about 300 KB and I'm using the setInputXMLFromText(String xmlText) method. When I use the setInputXMLFileName(String xmlFile) everything is fine but I need to transform an xml that is not yet written to the disk as a file.
HTTP server error: unexpected response from server com.altova.raptorxml.HTTPServerException: HTTP server error: unexpected response from server at com.altova.raptorxml.HTTPResponseParser.sendRequestAndGetResult(Unknown Source) at com.altova.raptorxml.HTTPXSLT.runJobInternal(Unknown Source) at com.altova.raptorxml.AbstractXSLT.runJobInternal(Unknown Source) at com.altova.raptorxml.AbstractXSLT.execute(Unknown Source) ... Caused by: java.io.UTFDataFormatException: encoded string too long: 310075 bytes at java.io.DataOutputStream.writeUTF(DataOutputStream.java:364) at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323) at com.altova.raptorxml.HTTPConnection.getReadableConnection(Unknown Source) at com.altova.raptorxml.HTTPConnection.readServerData(Unknown Source) at com.altova.raptorxml.HTTPConnection.postJson(Unknown Source) ... 7 more
The server version I'm using is Altova RaptorXML Server 2015 sp2 (x64).
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
You should contact Altova Support with this - don't think that anybody in this User Forum can help
|