Hello,I'm trying to play around with the jDiameter (https://code.google.com/p/jdiameter) and I've encounter some difficulties. This mailing list seems to be the right one for me to ask for some help. On the http://code.google.com/p/jdiameter I couldn't find the mailing or forum link..
I'm trying to build a java standalone diameter client application using the jdiameter v1.5.9.0. However, when running the application the jdiameter-client-config.xml is not accepted by the XMLConfiguration().
Here is a small block of the code:
stack = new org.jdiameter.client.impl.StackImpl();
FileInputStream fileInputStream = new FileInputStream(new File(configFile));
Configuration config = new XMLConfiguration(fileInputStream);The application breaks when parsing the XML. I'm 100% sure that the XML is valid since I just copy-paste it from other examples.
The error is the following:
org.xml.sax.SAXParseException; cvc-elt.1: Cannot find the declaration of element 'Configuration'.
It seems that the XMLConfiguration is trying to validate the XML Schema and fails.
The XML is something like:
<?xml version="1.0"?>
<Configuration xmlns="http://www.jdiameter.org/jdiameter-server">
<LocalPeer>...</LocalPeer>
<Parameters>...</Parameters>
<Network>...</Network>
<Extensions />
</Configuration>
I'm no XML expert but is this because the "http://www.jdiameter.org/jdiameter-server" is a dead link?I really hope someone could point me into the right direction?
Alex