Re: simple question about ant

2010-02-18 Thread piebetz
http://ant.apache.org/manual/index.html ? On 19 February 2010 04:59, Daniel Kulp wrote: > On Thu February 18 2010 3:15:33 pm Ian Upright wrote: > > Oh yes.. and on that note. How does one easily add custom jars and > custom > > web-files into a .war build, for example? > > > > Is there examples

Re: simple question about ant

2010-02-18 Thread Daniel Kulp
On Thu February 18 2010 3:15:33 pm Ian Upright wrote: > Oh yes.. and on that note. How does one easily add custom jars and custom > web-files into a .war build, for example? > > Is there examples of this anywhere? > > Thanks, Ian You would probably need to edit the targets in the common_build.x

Re: Spring 3.0 Support

2010-02-18 Thread Daniel Kulp
On Thu February 18 2010 12:38:24 pm John Hite wrote: > Does CXF support Spring 3.0? Does anyone have any experience with using CXF > with Spring 3.0? > > Thanks, > John With 2.2.6, we did some testing and fixed a bunch of things related to Spring 3. We have a spring3 profile in the maven build

Re: publishing jaxws service endpoint

2010-02-18 Thread SaravananRamamoorthy
Hi Johan Edstrom, After creating HelloWorld webservice class. I have created a class called HelloWorldServer that extends extends CXFNonSpringServlet and override the loadBus method. CXFServlet cxf= new CXFServlet(); Bus bus = cxf.getBus(); BusFa

Re: Spring 3.0 Support

2010-02-18 Thread Matthew Inger
On second thought, upon doing a fresh build, there's a few compile issues to work out, so I wouldn't assume everything would just work out of the box. On Thu, Feb 18, 2010 at 12:48 PM, Matthew Inger wrote: > I have actually checked out the cxf-2.2.5 tag from subversion and modified > the pom fil

How to get the soap:address location in the "?wsdl" to match the wsdl:import location?

2010-02-18 Thread Jim Talbut
Hi, I have a simple web service created using the following beans: http://localhost:8082/ScheduledEmailUser"; depends-on="jetty-factory" > When I look at the ?wsdl response for it (from http://192.168.1.100:8082/ScheduledEmailUser?wsdl), it contains: http://192.168.1.10

Re: simple question about ant

2010-02-18 Thread Ian Upright
Oh yes.. and on that note. How does one easily add custom jars and custom web-files into a .war build, for example? Is there examples of this anywhere? Thanks, Ian

simple question about ant

2010-02-18 Thread Ian Upright
Ok.. I know there must be a really easy answer to this, but I'm no ant expert. Whats the easiest way to add to the java classpath, for a particular sample, in one of the ant builds in the samples directory? Cheers, Ian

Re: Example of handling SOAP Header with mustUnderstand

2010-02-18 Thread PrSd
Sending the following SOAP Header : http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; mustUnderstand="1"> and getting back a org.apache.cxf.binding.soap.SoapFault: MustUnderstand headers: [{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity

Re: Spring 3.0 Support

2010-02-18 Thread Matthew Inger
I have actually checked out the cxf-2.2.5 tag from subversion and modified the pom file to point to spring 3.0, and had no problems at all. I'm actually using it with the dosgi as well, so I build cxf-2.2.5, and then build dosgi from trunk with spring 3.0 and spring-dm 1.2.1, and everything works

Spring 3.0 Support

2010-02-18 Thread John Hite
Does CXF support Spring 3.0? Does anyone have any experience with using CXF with Spring 3.0? Thanks, John

Re: Specifying an org.osgi.service.http.HttpContext in DOSGi

2010-02-18 Thread Josh Holtzman
Checking the osgi service registry for a custom HttpContext makes sense to me, but it introduces a startup order problem. If CXF can handle that, then we're in good shape. I'll have a look at pax web to see what I can do there in the meantime. Thanks, Josh On Thu, Feb 18, 2010 at 8:35 AM, Serge

Re: Specifying an org.osgi.service.http.HttpContext in DOSGi

2010-02-18 Thread Sergey Beryozkin
Hi Josh We've chatted with David a bit about it... Are you actually proposing for CXF DSW to check for a custom HttpContext implementation registered as an OSGI Service ? It would make sense...It would probaly make sense to have an additional list property passed along during the custom HttpCont

Re: publishing jaxws service endpoint

2010-02-18 Thread Johan Edstrom
Have you configured web.xml? Look here : http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/resources/jaxrs_dispatch/WEB-INF/web.xml On Feb 18, 2010, at 9:06 AM, SaravananRamamoorthy wrote: > > Hi All, > > I have created a Helloworld webservice using cxf.When I publish the endp

CXF + WS - Security web service client issue

2010-02-18 Thread pablo caballero
Hi everyone. I have a cxf based web service client application. Now, I need to integrate WS - Security (UsernameToken - PasswordDigest). I must set the wss user in every call (the username is input from the user) I tried to set it in the password callback but the WSS4JOutInterceptorInternal class c

publishing jaxws service endpoint

2010-02-18 Thread SaravananRamamoorthy
Hi All, I have created a Helloworld webservice using cxf.When I publish the endpoint in standalone server, it works fine. How do I publish the Helloworld service in tomcat without using any spring stuff. I go-through the servlet transport without spring , I have created a servet which extends C

Specifying an org.osgi.service.http.HttpContext in DOSGi

2010-02-18 Thread Josh Holtzman
DOSGi seems to publish JAX-RS endpoints using a null HttpContext, which means that the HttpService will create a default context. This makes it hard to add pluggable authentication handlers using httpContext.handleSecurity(). Does anyone have suggestions for hooking into the request before it's s

Re: RESTful services without annotations

2010-02-18 Thread Sergey Beryozkin
S.B : note that in 2. the test uses sf.setModelRefWithServiceClass(modelref, SomeClass.class) but it could've just used sf.setModelRef(modelref) even with this model describing an interface only. sf.setModelRefWithServiceClass() is used mainly in (D)OSGI where the OSGI runtime has already load

Re: RESTful services without annotations

2010-02-18 Thread Sergey Beryozkin
Hi Please see comments inline. thanks, Sergey - Original Message - From: "fahman_dude" To: Sent: Thursday, February 18, 2010 2:13 PM Subject: RESTful services without annotations Hello, I am trying at the moment to implement a RESTful Service without annotations (as in using "us

Enabling MTOm in DOSGi service?

2010-02-18 Thread FrozenQ
Hello, I want to use MTOM for a DOSGi service and so I have added the DataHandler type for the corresponding arguments in the service interface. When the service is disposed remotely, a WSDL is generated which holds the base64Binary-typed elements. Unfortunately, the access to the inputstream of

RE: how to send Nested object in RESTful webservice

2010-02-18 Thread Sharma, Abhishek
Thanks Sergey for the extensive explanation. For now excluding the property is my biggest concern. Please let me know if there is some solution for the same. Please see my comments inline Regards, Abhishek -Original Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Se

Re: Is it possible to integrate CXF JAX-RS with Spring Security 2.0.5 ?

2010-02-18 Thread Sergey Beryozkin
Hi Christian I updated another test resource[1] to use @RolesAllowed, it is virtually identical to [2] but just causes Spring to create a cglib proxy. I had to update the spring config[3] for Spring to check JSR250 annotations (see security:global-method-security) cheers, Sergey [1] http://s

RESTful services without annotations

2010-02-18 Thread fahman_dude
Hello, I am trying at the moment to implement a RESTful Service without annotations (as in using "user model" instead) and using this (for my taste bit confusing) guide: http://cxf.apache.org/docs/jax-rs.html Since my implementation does not work I am trying to understand the whole mechanics in-

wsdl-first in CXF

2010-02-18 Thread eax
Hi everybody, I am new in CXF (but the topic of the web service is not new for me). I am trying to write a CXF-WS with wsdl-first mode using CXFNonSpringServlet based servlet. I started from a wsdl, then I generated the classes. My first problem how to set wsdllocation (actually this location is

Re: how to send Nested object in RESTful webservice

2010-02-18 Thread Sergey Beryozkin
Hi, thanks for the clarification, lets move the discussion back to the users list... Please see my comments inline... cheers, Sergey - Original Message - From: Sharma, Abhishek To: Sergey Beryozkin Sent: Thursday, February 18, 2010 8:10 AM Subject: RE: how to send Nested object in RE

Re: deploying a jax_rs sample as a .war for tomcat?

2010-02-18 Thread Sergey Beryozkin
Hi If you'd like to use Spring to configure a jaxrs endpoint then you can use CXFServlet otherwise you can use a CXFNonSpringJaxrsServlet. JAXWS java_first_spring_support shows the use of CXFServlet : http://svn.apache.org/repos/asf/cxf/trunk/distribution/src/main/release/samples/java_first_sp

Re: Is it possible to integrate CXF JAX-RS with Spring Security 2.0.5 ?

2010-02-18 Thread Sergey Beryozkin
Hi Andreas, thanks for the clarification. Regarding oneway operations : the JAXRS runtime also supports them now, one can either pass a OnewayRequest (HTTP or JMS) header or set an org.apache.cxf.jaxrs.ext.Oneway annotation on a given method. WADL will show a 202 status for such operations...