ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fadi al-katout <cutou...@gmail.com>
Subject The prefix "ex" for element "ex:nil" is not bound
Date Thu, 02 Dec 2010 11:37:19 GMT
Hello All,

Am Having the following exception even though am enabling extensions, also
am using the latest production release.

my Code

        XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
        config.setServerURL(new URL("http://example.com/xmleprcserver.php
"));
        XmlRpcClient client = new XmlRpcClient();
        config.setEnabledForExtensions(true);
        client.setConfig(config);
        Object result = client.execute("SubscriberProfile.GetAll", new
Object[] {"TEST"});
        System.out.println(result);

Exception


[Fatal Error] :66:17: The prefix "ex" for element "ex:nil" is not bound.
Exception in thread "main" org.apache.xmlrpc.client.XmlRpcClientException:
Failed to parse server's response: The prefix "ex" for element "ex:nil" is
not bound.
    at
org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:188)
    at
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:156)
    at
org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
    at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
    at
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
    at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
    at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
    at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)


Can anyone help me please?

Mime
View raw message