Rank: Newbie
Joined: 11/25/2014 Posts: 1
|
Hi
I'm evaluating Raptor using the Java API.
I tried some simple tests but could not connect to the server. I just don't know what I missed. RaptorXMLServer.jar is in the classpath
Code is simple
com.altova.raptorxml.RaptorXML raptor = new RaptorXML() ; raptorFactory = raptor.getFactory(); xsltEngine = raptorFactory.getXSLT(); xsltEngine.setInputXMLFileName('example.xml')); xsltEngine.setXSLFileName('example.xslt')); result = xsltEngine.executeAndGetResultAsString();
xsltEngine.executeAndGetResultAsString(); failed with the error "HTTP server error: could not connect to server"
the server is runing since I can use it over CLI.
thx, daniel
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
This must be something simple. Contact Altova Support - they can help
|