ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sathwik B P <sathwik...@gmail.com>
Subject Re: Apache CXF DynamicClientFactory
Date Wed, 06 May 2015 17:13:15 GMT
I would suggest you to use a simple web service testing tool like SoapUI to
understand the service request and response. Make sure your service calls
to ODE are working.

Then use any web service stack like CXF to implement your requirements.


On Wed, May 6, 2015 at 10:06 PM, Sathwik B P <sathwik.bp@gmail.com> wrote:

> You should be asking CXF related questions in the CXF mailing list, not in
> ODE mailing list.
>
> On Wed, May 6, 2015 at 9:16 PM, Marzie Dehghanipour <
> marzie.dehghani@gmail.com> wrote:
>
>> 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("
>> http://localhost:8080/ode/processes/DeploymentService?wsdl");
>>
>> Object[] res = client.invoke("undeploy", "DynPartner");
>> System.out.println("Echo response: " + res[0]);
>> }}
>>
>> But when I run this program, it has exception :
>> org.apache.cxf.interceptor.Fault:
>> java.lang.String cannot be cast to javax.xml.namespace.QName
>>
>> Does anybody know what I am doing wrong?
>> Thanks in advance,
>> Marzie
>>
>
>

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