Re: finding the number of input output parameters using dynamic client.

2008-02-29 Thread MartyH
Yip, using cxf 2.0.4. Dan, thanks. That worked a treat. I added this to the code and life is good. if (toCall.isUnwrappedCapable()){ toCall = toCall.getUnwrappedOperation(); } one othe strange thing i'm seeing in my unit tests though is occaisonally I'm getting this

finding the number of input output parameters using dynamic client.

2008-02-28 Thread MartyH
Hi, I'm trying to figure out how to get the number of input and output parameters using cxf. I had managed to do this using xfire, but since upgrading I haven't been able to twig this one. Been trying combinations of this: ServiceInfo model =client.getEndpoint().getService().getServiceI

Re: Dynamic Client issue ObjectFactory

2007-08-22 Thread MartyH
Dan, done. https://issues.apache.org/jira/browse/CXF-932 Still need to have a think about the best way to handle this though... -- View this message in context: http://www.nabble.com/Dynamic-Client-issue-ObjectFactory-tf4261045.html#a12270739 Sent from the cxf-user mailing list archive at Na

Re: Dynamic Client issue ObjectFactory

2007-08-17 Thread MartyH
Hi Dan, Not at all :-) I see what you're saying, and thinking of it like that makes sense. If I have to specify customisations, then its not really dynamic at all then is it? And the whole point of what i'm doing is to be dynamic with it. Ok then, as I need to point cxf at a variety of random

Dynamic Client issue ObjectFactory

2007-08-13 Thread MartyH
Hi folks, Having a problem with the Dynamic client on some wsdl. Basically I'm getting this on attempting to generate the client: java.lang.RuntimeException: Error compiling schema from WSDL at { http://localhost:8080/donkey/services/service?wsdl}: Two declarations cause a collision in the Objec

RE: beginner q: classnotfoundexception using DynamicClientFactory

2007-07-25 Thread MartyH
thanks a lot my man! :-) -- View this message in context: http://www.nabble.com/beginner-q%3A-classnotfoundexception-using-DynamicClientFactory-tf4141887.html#a11783635 Sent from the cxf-user mailing list archive at Nabble.com.

beginner q: classnotfoundexception using DynamicClientFactory

2007-07-25 Thread MartyH
Hi folks, Having some diffs with the DynamicClientFactory. On following the example like so: [code] ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); DynamicClientFactory dcf = DynamicClientFactory.newInstance(); Client client = dcf.createClient("ht