Re: WSS4J - Protection Order

2008-01-23 Thread Fred Dushin
I see, interesting. In order to do this in a way that does not require a change to CXF, perhaps what you could do is split your encryption and signature actions into 2 separate interceptors, and add a third in between, which peeks at the result of the encryption action (the results object

RE: jms client

2008-01-23 Thread Mayank Thakore
Hi, Got it! Extracted the proxy object from the client proxy, the client from the proxy object, the jmstransport conduit from the client, and finally the AddressType from the conduit. Then added all the address info to the AddressType. :) Regards Mayank -Original Message- From: Mayank

JAX-RS maturity

2008-01-23 Thread brmaguir
Hi, I'm currently deciding on a REST framework to use for an upcoming project and have been looking at a number of possibilities including CXF. Just a few quick questions. How mature is the JAX-RS implementation? Will there be a lot of changes in the near future? Have any of you had experience

Re: JSON and JAX-RS

2008-01-23 Thread Sergey Beryozkin
Hi String is supported already, not sure if more work is needed to support primitive types, it would be trivial to do Cheers, Sergey - Original Message - From: Vespa, Anthony J [EMAIL PROTECTED] To: Daniel Kulp [EMAIL PROTECTED]; cxf-user@incubator.apache.org Sent: Wednesday, January

Re: JAX-RS maturity

2008-01-23 Thread Sergey Beryozkin
Hi At the moment I'm siding towards using JAX-RS via the CXF implementation provided it is pretty stable. If you look at the JAX-RS code you can see it's a pretty simple code and there's a space for a number of enhancements there. Jervis has already done a lot there, and the ability to

Re: WSS4J - Protection Order

2008-01-23 Thread Mayank Mishra
Hi Fred, Yes, sounds interesting. But consider a scenario when I have Sign-Encrypt-Sign or Encrypt-Sign-Encrypt to be done, then the same interceptor need to added twice (before and after the other one). A solution to this will be to see all Actions beforehand and then repeat adding

RE: Any book written on xfire

2008-01-23 Thread Barlotta, Michael [USA]
+1 SOA Using Java Web Services by Hansen Mike Barlotta Associate Booz | Allen | Hamilton -Original Message- From: Mayank Thakore [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 12:41 AM To: cxf-user@incubator.apache.org Subject: RE: Any book written on xfire I would

Flex and CXF

2008-01-23 Thread Vespa, Anthony J
Just curious if anyone has experiences (good/bad/other) working with Flex and web services in CXF? Any input on pitfalls or approaches is appreciated. Thx, Tony

Leaving CXF for Glasshfish Metro

2008-01-23 Thread jonathan doklovic
Hi, After spending about 2 weeks trying to get a very simple service to return JSON in CXF, I found the Glassfish Metro project and it's jaxws-json plugin. I gave it a shot and after 2 hours had my service up and running. Not only that, but the plugin generates pretty api docs at the endpoint

Re: Leaving CXF for Glasshfish Metro

2008-01-23 Thread Sergey Beryozkin
After spending about 2 weeks trying to get a very simple service to return JSON in CXF, I found the Glassfish Metro project and it's jaxws-json plugin. What's the point of this post ? Say to the world that you're not happpy with CXF ? Or tell everyone that you could've commited a patch after

Re: Flex and CXF

2008-01-23 Thread Sergey Beryozkin
My understanding is that for Flex (or indeed Silverlight and similar technologies) to work with a given service all that needs to be done is, in case of Flex, to have some MXML[1] created (tools would do it typically) which would link to a service, but for the purpose of the demo it can be done

Re: Leaving CXF for Glasshfish Metro

2008-01-23 Thread Mayank Thakore
well, i have spent a lot of time getting cxf to work. but migrating from xfire, our code reduced from about 1200 lines to 200 lines. and i find cxf to be very extensible but it's not just coincidence that someone was talking about a book on cxf just today... Regards Mayank On Jan 23, 2008 8:36

@ProduceMime support

2008-01-23 Thread brmaguir
Hi, Does CXF support the JSR311 @ProduceMime annotation fully? Here's the code: import com.sun.ws.rest.api.ConsumeMime; import com.sun.ws.rest.api.HttpMethod; import com.sun.ws.rest.api.ProduceMime; import com.sun.ws.rest.api.UriTemplate; @UriTemplate(/sampleservlet) public class SampleServlet

Re: Leaving CXF for Glasshfish Metro

2008-01-23 Thread Sergey Beryozkin
If all anyone hears about a project is how great it is and never hears why people choose not to use it, then it never progresses. fair enough, it's a good point Cheers, Sergey IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered

Re: JAX-RS maturity

2008-01-23 Thread brmaguir
Okay. Thanks for the replies. -- View this message in context: http://www.nabble.com/JAX-RS-maturity-tp15039120p15043875.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: JSON and JAX-RS

2008-01-23 Thread Daniel Kulp
On Tuesday 22 January 2008, Vespa, Anthony J wrote: Interesting. Would that mean I would have to use seekAlso and list all of the objects that could possibly be returned - I have currently about six types of custom objects. What if I was returning a type like a boolean or just a string? You

Jaxb char mapping

2008-01-23 Thread Marco Piraccini
I'm using CXF with jaxws and jaxb. My problem is that the char java types are mapped to xs:unsignedShort (instead of xs:string with size 1 as i expected). I read the jaxb 2.0 specs, but the char primitive type mapping seems not to be defined. There is a quick way to configure/customize

RE: JSON and JAX-RS

2008-01-23 Thread Vespa, Anthony J
Well it turned out that I had too many jaxb jars in my classpath so now the xmlseealso works, but I get this odd exception as an invalid namespace - I'm not quite sure why I'm getting it though, do I need to specify another namespace somewhere? At this point, I'm not specifying it anywhere - my

Re: JCA demo raises java.lang.UnsupportedOperation when deployed in JBOSS

2008-01-23 Thread YI (William) ZHU
I tested using JBoss4.0.5 and CXF 2.0.2 as Jeff suggested to the sample, it works. But I still found error messages from JBoss 4.0.5 console. I don't know why there are so many ERRORs? although the sample seems function correctly. Is this bug in CXF? Please see the error messages:

cxf-eclipse-plugin

2008-01-23 Thread Yadav, Yogendra (IT)
Hi, Anybody's has used CXF-Plugin, want to share your experience ? Does anybody know if this plugin will make it to production ? And if this will be available as a standard Eclipse plugin with Features and Site.xml Thanx -yogen -Original Message- From: Yadav, Yogendra (IT) Sent: Friday,

RE: Flex and CXF

2008-01-23 Thread Vespa, Anthony J
I have only done some basic Flex work in the past myself, which is why I am soliciting experiences. -Original Message- From: Sergey Beryozkin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 10:04 AM To: cxf-user@incubator.apache.org Subject: Re: Flex and CXF My understanding

Re: JCA demo raises java.lang.UnsupportedOperation when deployed in JBOSS

2008-01-23 Thread Jeff Yu
This ERROR is not a problem, because cxf uses the java.util.logger as default, but jboss uses the log4j, so the log level is a bit of different. you can config the log by using log4j one's in the cxf, and then the ERROR would go away. On Jan 24, 2008 12:42 AM, YI (William) ZHU [EMAIL

Re: Flex and CXF

2008-01-23 Thread Mustafa Egilmezbilek
We are developing a project that utilizes both CXF and Flex. In Flex, there are 3 ways to make a remote call: Http service, Web Service and remote object based on AMF protocol. It is very convenient to have a CXF service layer on top of JPA entity classes. Here I guess you have few options: You

Re: @ProduceMime support

2008-01-23 Thread Frank Lynch
I'm seeing the same thing here, no matter what I do the runtime seems to want to dispatch the call to the method annotated application/json. I also noted that it isn't possible to annotate a single method with multiple mime types. i.e. per the dec4th jsr311 draft it should be possible t0 annotate

Client throws No NamespaceURI exception from server SOAP fault

2008-01-23 Thread Frederick N. Brier
I am writing a client to a VMWare management web service. In working with the API, I made a mistake and a SOAP fault was thrown. That is not the problem. Instead of an WSDL generated exception class being thrown, I got what appears to be a validation error during parsing of the SOAP fault.

Re: Creating and publishing services from wsdl

2008-01-23 Thread Rob Barrett
Basically I'm aiming at deploying many strongly typed services defined in the wsdl, but servicing each of them using a generic (existing) mechanism. If I declare each wsdl defined service in a jaxws:endpoint / then they load and publish successfully. I've subclassed the service factory to do

Re: Creating and publishing services from wsdl

2008-01-23 Thread Benson Margulies
Ideally I'd like to achieve all of this programatically - i.e. without having to knock together a big config file. All that spring config corresponds to plain old Java objects. Some of them are even specified by the JAX-WS specification :-) Beyond the stock JAXWS API, all of CXF can be

Re: Creating and publishing services from wsdl

2008-01-23 Thread Rob Barrett
that's what i'm looking for - got a url? On Jan 24, 2008 12:46 PM, Benson Margulies [EMAIL PROTECTED] wrote: Ideally I'd like to achieve all of this programatically - i.e. without having to knock together a big config file. All that spring config corresponds to plain old Java objects.

Re: Creating and publishing services from wsdl

2008-01-23 Thread Benson Margulies
On Thu, 2008-01-24 at 12:54 +1000, Rob Barrett wrote: that's what i'm looking for - got a url? See what the following page does for you. I'm not 100% sure that I'm following your thread, but if you could express it in Spring, you can do it here.

Re: Creating and publishing services from wsdl

2008-01-23 Thread Rob Barrett
thanks, will give that a go. On Jan 24, 2008 1:02 PM, Benson Margulies [EMAIL PROTECTED] wrote: On Thu, 2008-01-24 at 12:54 +1000, Rob Barrett wrote: that's what i'm looking for - got a url? See what the following page does for you. I'm not 100% sure that I'm following your thread, but if