Re: Uri prefixes of DestinationFactory wrong?

2011-01-05 Thread Christian Schneider
Got a little error here. For the servlet transport you will of course need the servlet import like you did already instead of the jetty transport. Best regards Christian Am 05.01.2011 13:54, schrieb Christian Schneider: Hi Oliver, you should import some more stuff in caseService.xml. For

Re: Uri prefixes of DestinationFactory wrong?

2011-01-05 Thread Willem Jiang
On 1/5/11 8:54 PM, Christian Schneider wrote: Hi Oliver, you should import some more stuff in caseService.xml. For a client you need the following imports: import resource=classpath:META-INF/cxf/cxf.xml / import resource=classpath:META-INF/cxf/cxf-extension-soap.xml / import

Re: Fwd: IllegalArgumentException setting WebServiceContext in jax:ws endpoint.

2011-01-05 Thread Ron Wheeler
On 05/01/2011 7:04 AM, Juan Pedro Silva Gallino (UPM) wrote: Thank you very much, Ron, for your suggestion. I may have to adopt a similar policy. I agree with you on the transitive dependencies. I'm using maven inside wclipse (Spring tool suite, to be more precise), and the dependencies graph

Re: Annotated bean not getting injected

2011-01-05 Thread Sergey Beryozkin
H On Wed, Jan 5, 2011 at 5:38 AM, Andrew subo...@gmail.com wrote: Note: I originally posted this via Nabble, and for some reason it appears to have been treated as spam, so here it goes again. Hi, I'm looking for some guidance on how to inject a Spring bean into a JAX-RS service (via

Re: Failure building latest trunk

2011-01-05 Thread Sergey Beryozkin
This is a new JAAS test that is failing on Windows now, the Windows build would be green if I did not add it :-). I'll look at at asap. Hope it's a test issue only... cheers, Sergey On Tue, Jan 4, 2011 at 9:59 PM, Daniel Kulp dk...@apache.org wrote: Applied the patch, but there still seems to

Re: How to get @Path annotation value in cxf client

2011-01-05 Thread Sergey Beryozkin
Hi Contexts do not work on the client side... You can probably use UriBuilder.fromUri(/).path(RegistrationService.class).path(registrationMethod).toUri(); where registrationMethod is a java Method. May be it's simpler to write a reflection code yourself :-). You can also do it the CXF specific

Re: Uri prefixes of DestinationFactory wrong?

2011-01-05 Thread Daniel Kulp
Oli, I think you are a little confused as to what the purpose of the uri prefixes are in the factories. I'll try and explain: When we create a client or endpoint, we need to figure out a transport for it. In MOST cases, we have some sort of trandport ID.That can come the wsdl

wsdl2java with external xsd binding help

2011-01-05 Thread zahid
hello, Im new to CXF and webservices in general. Can anybody explain to me how I can add xsd bindings to the JaxWsClientProxy? Basicaly I have used the wsdl2java tool to generate my bindings as defined in the WSDL for the webservie I am connecting to. This is all good and I have a client that

Re: HTTPConduit doubt

2011-01-05 Thread Daniel Kulp
On Tuesday 04 January 2011 10:29:53 pm pablo caballero wrote: Looking at http://www.docjar.com/html/api/org/apache/cxf/transport/http/HTTPConduit.j ava.html I can see that a HttpURLConnectionFactory is used to obtain the actual connection. My doubt is: the factory used in the default

Re: Annotated bean not getting injected

2011-01-05 Thread Andrew
Yep, jaxrs:server/jaxrs:serviceBeans solved the issue. Thanks On Wed, Jan 5, 2011 at 7:49 AM, Sergey Beryozkin sberyoz...@gmail.comwrote: H On Wed, Jan 5, 2011 at 5:38 AM, Andrew subo...@gmail.com wrote: Note: I originally posted this via Nabble, and for some reason it appears to have

Re: Overriding JAXB annotations

2011-01-05 Thread cj91
That is exactly what i need! Is there a way to do that with JAX-WS??? It doesn't seem JAXBElementProvider is part of the JAXB or JAXWS CXF bindings -- View this message in context: http://cxf.547215.n5.nabble.com/Overriding-JAXB-annotations-tp3320779p3329611.html Sent from the cxf-user mailing

Re: How would I turn on keepalives?

2011-01-05 Thread Benson Margulies
So, if keepalives are on, do either of you have a clue as to why every so often Jetty declares a live connection to be 'idle' and closes it, with destructive effects? On Sat, Jan 1, 2011 at 2:52 PM, Daniel Kulp dk...@apache.org wrote: On Saturday 01 January 2011 4:07:21 am Freeman Fang wrote:

Re: wsdl2java with external xsd binding help

2011-01-05 Thread Freeman Fang
Hi, You can inject extra classes into jaxb context both for the client and server side. I''ll show the example how to do it with client side(server side isn't much difference) JaxWsClientFactoryBean cfBean = new JaxWsClientFactoryBean(); cfBean.setAddress(http://localhost/Hello;);