ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marzie Dehghanipour <marzie.dehgh...@gmail.com>
Subject Apache CXF DynamicClientFactory
Date Wed, 06 May 2015 15:46:00 GMT
Dear all,
I am trying to use CXF DynamicClientFactory in order to invoke undeploy
function of ODE deployment api. The code I used is like below:

package cc;
import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
import org.apache.cxf.rs.security.oauth.data.Client;
public class main {
public static void main(String[] args) throws Exception {
JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
org.apache.cxf.endpoint.Client client = dcf.createClient("

Object[] res = client.invoke("undeploy", "DynPartner");
System.out.println("Echo response: " + res[0]);

But when I run this program, it has exception :
java.lang.String cannot be cast to javax.xml.namespace.QName

Does anybody know what I am doing wrong?
Thanks in advance,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message