Re: Understanding the WS-Trust client

2009-06-25 Thread Mayank Mishra
Fintan Bolton wrote: Hi, I'm having a hard time getting to grips with WS-Trust in CXF. The interoperability demo works just fine, but I find it difficult to understand exactly what is going on. The following properties don't seem to be documented anywhere on the CXF Web site: ws-security.signa

RE: Exception when calling a CXF web service deployed under WebSphere 7.0...

2009-06-25 Thread Steven Thein
Hi Glen, I am using CXF2.2.2. Do you mean, I need to add SAAJ jar files to the endorsed directory? Thanks Steve -Original Message- From: Glen Mazza [mailto:glen.ma...@gmail.com] Sent: Thursday, June 25, 2009 4:06 PM To: users@cxf.apache.org Subject: Re: Exception when ca

Re: How to handle exceptions in server side?

2009-06-25 Thread Glen Mazza
IIRC, no. I don't think JAX-WS allows hierarchies/subclassing for SOAP fault classes. Glen tutu wrote: > > Just a question about your example: > Do these classes implements or extends any class? > > org.example.employee.BasicFault and > org.example.employee.DataProcessingFault > > thanks, >

Re: Exception when calling a CXF web service deployed under WebSphere 7.0...

2009-06-25 Thread Glen Mazza
Perhaps the SAAJ libraries are different between the IBM JDK and the Sun JDK? Glen Steve2001 wrote: > > Hi all, > > I deployed CXF Web services under WebSphere 7.0 using IBM > JDK. When I made a call to a service I got the following exception. This > CXF Web services works fi

MustUnderstand headers Exception while working on User Token Profile

2009-06-25 Thread bharath thippireddy
We are using the user name token headers for authentication .As we use the provider based implementation we are not using any server side password callbacks and we are reading the soap headers directly .I have not configured the WSS4J interceptors in the cxf-servlet.xml as we handle everything i

RE: Question about WADL support in JAX-RS CXF

2009-06-25 Thread Sergey Beryozkin
I'd rather see Spring 3.0 using CXF JAX-RS through the pluggable mechanism if needed - so that people could swap implementations if needed. cheers, Sergey Bugzilla from sj...@macrovision.com wrote: > > Hi, > > I have a related question about REST support that's provided in Spring > 3.0. > D

Re: CXF - WSDL : Newbie question

2009-06-25 Thread xpsytor
Nice. I know where to start looking then. Thanks!! --- On Wed, 6/24/09, Daniel Kulp wrote: From: Daniel Kulp Subject: Re: CXF - WSDL : Newbie question To: users@cxf.apache.org Cc: "xpsytor" Date: Wednesday, June 24, 2009, 4:29 PM Both are related to JAXB spec.   For 2, JAXB ONLY ever creates

Re: xsd Validation and CXFNonSpringJaxrsServlet and ssl

2009-06-25 Thread Sergey Beryozkin
Hi I think ssl is not the issue here. I've used CXFNonSpringJaxrsServlet when working on TCK and to bypass this issue I had to copy org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet (only) to a given web app classes folder, I presuming CXF libs are in shared tomcat folder. May be we can do

Exception when calling a CXF web service deployed under WebSphere 7.0...

2009-06-25 Thread Steven Thein
Hi all, I deployed CXF Web services under WebSphere 7.0 using IBM JDK. When I made a call to a service I got the following exception. This CXF Web services works fine under WebLogic. Any suggestions why I got the following exception? javax.xml.ws.soap.SOAPFaultException: Un

Re: Understanding the WS-Trust client

2009-06-25 Thread Fintan Bolton
Oops! Sorry, I used the wrong property names in the original post. I meant to say: ws-security.sts.token.properties ws-security.sts.token.properties.decrypt See below the fold for the corrected posting. Fintan Bolton wrote: > > Hi, > > I'm having a hard time getting to grips with WS-Trust in

Understanding the WS-Trust client

2009-06-25 Thread Fintan Bolton
Hi, I'm having a hard time getting to grips with WS-Trust in CXF. The interoperability demo works just fine, but I find it difficult to understand exactly what is going on. The following properties don't seem to be documented anywhere on the CXF Web site: ws-security.signature.properties ws-sec

Re: OSGi distribution for CXF

2009-06-25 Thread rbaumx
Hi Dan, thank you for your answer. Your tool might be a real help for migrating normal Java projects / dependencies into OSGi projects. But the mapping file seems to be the critical point. To gather this infomation is exactely the point where I'm investigating (wasting?) a lot of time at the mome

Re: WS-Addressing and Asynchronous processes

2009-06-25 Thread gregory.lebonniec
That's totally what I want to do. I am gonna try to mix the two examples...I promess ;-) Thank you everybody for your help ! Eoghan Glynn-4 wrote: > > Hi Gregory, > > You're conflating asynchrony with decoupled addressing. > > JAX-WS asynch helps you to build asynchrony into the application

Re: How to handle exceptions in server side?

2009-06-25 Thread tutu
Just a question about your example: Do these classes implements or extends any class? org.example.employee.BasicFault and org.example.employee.DataProcessingFault thanks, tugdual Glen Mazza wrote: > > I'm not an expert at this but this is what I was able to manage with > wsdl:faults: > http

Re: WS-Addressing and Asynchronous processes

2009-06-25 Thread Eoghan Glynn
Hi Gregory, You're conflating asynchrony with decoupled addressing. JAX-WS asynch helps you to build asynchrony into the application (see the jaxws_async demo). This avoids tieing up an application-level thread for the duration of the invocation. WS-Addressing allows the response to be sent back

RE: Configuring streaming web services: error on the call to invoke

2009-06-25 Thread Monica Ferrero
JDK6 I'll try to send you something later on today that you can play with. Thanks, Monica -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: 24 June 2009 22:25 To: users@cxf.apache.org Cc: Monica Ferrero Subject: Re: Configuring streaming web services: error on the cal

xsd Validation and CXFNonSpringJaxrsServlet and ssl

2009-06-25 Thread . LX Max Länzlinger
Hello all, I need a REST-Service preferable with CXFNonSpringJaxrsServlet. Given is Tomcat, ssl, java 6. I defined the servlet in web.xml with init param jaxrs.serviceclasses the name of my service Class. When starting Tomcat, CXFNonSpringJaxrsServlet.loadClass throws an ClassNotFoundException

AW: WS-Addressing and Asynchronous processes

2009-06-25 Thread Diefenbach Anne
Hi Gregory, concerning your second question, there is a callback example in the samples directory. Is that what you're looking for? Regards, Anne > -Ursprüngliche Nachricht- > Von: gregory.lebonniec [mailto:kergadi...@yahoo.fr] > Gesendet: Donnerstag, 25. Juni 2009 12:41 > An: users@cxf

WS-Addressing and Asynchronous processes

2009-06-25 Thread gregory.lebonniec
Hello, I have two questions concerning WS-Addressing and Asynchrony : 1. Concerning the CXF WS-Addressing example, I don't understand the purpose of WS-Addressing in this case because when the client calls the service, it is blocked (no callback method). So why send the response on another port

Re: Create XML response from REST service

2009-06-25 Thread Sergey Beryozkin
Hi Sorry, missed your original query. Yes, returning DOMSource should do the trick. I'm wondering, may be we can start supporting users returning XMLStreamWriters/Readers ? CXF ships with quite a few DOM-based stream writers/readers. I need to look more into it cheers, Sergey - Origi

Re: JAXB RESTful service example

2009-06-25 Thread Sergey Beryozkin
Hi, yes I agree, but the same approach should work for posting complext objects, it' sreally up to JAXB itself how to handle it. You might want to check the JAXB list for a sample on how to ensure that a complex JAXB object is de(serialized)... What happens when you attempt to post such an obje

Re: Create XML response from REST service

2009-06-25 Thread Eugeny N Dzhurinsky
On Thu, Jun 25, 2009 at 10:47:02AM +0300, Eugeny N Dzhurinsky wrote: > Hello, everybody! > > I need to return the complex XML as a result of the REST call to the service. > I've looked at the documentation and realized that it is possible to > > - use JAXB and serialize the complex object > - use

Re: How to handle exceptions in server side?

2009-06-25 Thread tutu
Thanks for this example Glen, I think that will be very helpfull for me. That's what I want to do! Tugdual Glen Mazza wrote: > > I'm not an expert at this but this is what I was able to manage with > wsdl:faults: > http://www.jroller.com/gmazza/entry/database_crud_actions_with_web > > HTH, >

Create XML response from REST service

2009-06-25 Thread Eugeny N Dzhurinsky
Hello, everybody! I need to return the complex XML as a result of the REST call to the service. I've looked at the documentation and realized that it is possible to - use JAXB and serialize the complex object - use custom message body handlers - simply return String with the XML content However