Re: Design question

2010-07-28 Thread Glen Mazza
I think you just want to make asynchronous web service calls, which JAX-WS supports out-of-the-box. See the first paragraph here[1] for Metro and CXF examples of this. HTH, Glen [1] http://www.jroller.com/gmazza/entry/creating_service_side_asynchronous_web ironman77 wrote: > > Hi All, > > In

Design question

2010-07-28 Thread ironman77
Hi All, In a cxf based webservice if I want do some separate ("parallel") processing depending on request data without effecting the existing flow, is threading the only option? For example, consider the following scenario: Existing cxf service: Request --->BusinessLogic-->Response New cxf se

Re: Missing piece of urn in class name

2010-07-28 Thread Glen Mazza
Done in CXF & submitted a JAXB patch as well: https://jaxb.dev.java.net/issues/show_bug.cgi?id=781 Working on it right now... Daniel Kulp wrote: > > > Yep. Sounds like some CXF bugs... > > The place to look is in: > > common/common/src/main/java/org/apache/cxf/jaxb/JAXBUtils.java > > Spe

Re: Problems understanding the standalone Jetty configuration

2010-07-28 Thread Milisic Aleksandar
Thanks, that makes perfect sense!!! Regards, Aleks - Original Message From: Daniel Kulp To: users@cxf.apache.org Cc: Milisic Aleksandar Sent: Thu, 29 July, 2010 12:03:35 AM Subject: Re: Problems understanding the standalone Jetty configuration On Tuesday 27 July 2010 10:12:30 pm

Re: Problems understanding the standalone Jetty configuration

2010-07-28 Thread Milisic Aleksandar
Sorry, yes, I mean the embedded Jetty. And thanks for the example! - Original Message From: Glen Mazza To: users@cxf.apache.org Sent: Wed, 28 July, 2010 10:35:14 PM Subject: Re: Problems understanding the standalone Jetty configuration Milisic Aleksandar wrote: > > Hi, > > I've a

Re: Bug in CXF JAXRS Client Proxy

2010-07-28 Thread Sergey Beryozkin
Hi On Wed, Jul 28, 2010 at 3:31 PM, Obele, Azubuko < azubuko.ob...@morganstanleysmithbarney.com> wrote: > Hey all, > > We seem to have uncovered a strange bug in the CXF JAXRS client. We have a > service method defined as: > >@GET >@Path("/test") >@Transactional >public List testF

Re: WebClient Failover

2010-07-28 Thread Sergey Beryozkin
Hi On Wed, Jul 28, 2010 at 8:00 PM, Nelson, Chris wrote: > I'm getting close to a solution that works for at least my needs. Basically > I modified the WebClient handleResponse method to look pretty much like the > ClientImpl processResult method. Like ClientImpl a retry method is invoked > on th

RE: WebClient Failover

2010-07-28 Thread Nelson, Chris
I'm getting close to a solution that works for at least my needs. Basically I modified the WebClient handleResponse method to look pretty much like the ClientImpl processResult method. Like ClientImpl a retry method is invoked on the WebClient by the conduit selector if there is an error that re

Re: JAXB bindings and xs:date to java.util.Date conversion

2010-07-28 Thread Bruno Dusausoy
On 07/27/2010 11:30 PM, Glen Mazza wrote: Here's some more info, apparently JAXB requires it (union regulations, I guess). But you can apparently change the package name (possibly the class name too) if you wish: [1] http://forums.java.net/jive/message.jspa?messageID=210403 Ok, I've read that

Re: List of specifications supported

2010-07-28 Thread Daniel Kulp
On Wednesday 28 July 2010 12:26:55 pm Seumas Soltysik wrote: > Hello, > Is there some kind of list that is maintained for various branches that > indicates what versions of various specs are supported? Regards, > Seumas Soltysik I don't think we have one yet. If that's something you'd be interes

List of specifications supported

2010-07-28 Thread Seumas Soltysik
Hello, Is there some kind of list that is maintained for various branches that indicates what versions of various specs are supported? Regards, Seumas Soltysik

Re: Missing piece of urn in class name

2010-07-28 Thread Glen Mazza
Working on it right now... Daniel Kulp wrote: > > > Yep. Sounds like some CXF bugs... > > The place to look is in: > > common/common/src/main/java/org/apache/cxf/jaxb/JAXBUtils.java > > Specifically the method: > public static String nameSpaceURIToPackage(URI uri) > > I would definitely s

RE: SCOPE of WS-Reliable Messaging

2010-07-28 Thread Edumudi Viswanath
Dan Kulp, > 1) node1 send some input for processing to node2, but due to network > failure, it is not reached to Node2. will WS_RM handle this situation? > Dan: Yes. The client would retry sending until it makes it there. Please note that, here node1 is consumer & node2 is producer, then 1)

Bug in CXF JAXRS Client Proxy

2010-07-28 Thread Obele, Azubuko
Hey all, We seem to have uncovered a strange bug in the CXF JAXRS client. We have a service method defined as: @GET @Path("/test") @Transactional public List testFind(@QueryParam("tags") List tag) { ... } We can manually invoke this method through the browser by goin

Re: SCOPE of WS-Reliable Messaging

2010-07-28 Thread Daniel Kulp
On Wednesday 28 July 2010 7:11:44 am Edumudi Viswanath wrote: > Hi CXF Users, > > > > we are interested to know about CXF WS-RM & scope of it. > > > > Can you please let me know what will happen in case of below scenario's? > > > > We have a consumer as well as a provider in our intranet.

Re: Problems using EU CheckVatService

2010-07-28 Thread Daniel Kulp
On Wednesday 28 July 2010 5:32:28 am Marc Schipperheyn wrote: > Hi Daniel, > > That did the trick. I did generate the code with wsdl2java, but the last > part is the hookup through Spring with your local service class. My point is why did you hand generate a service class and not use the one that

Re: Problems understanding the standalone Jetty configuration

2010-07-28 Thread Daniel Kulp
On Tuesday 27 July 2010 10:12:30 pm Milisic Aleksandar wrote: > Hi, > > I've already once asked a similar question but am still a bit unclear of > how the standalone Jetty configuration actually works. > > The documentation I have found suggests that in the Spring context we can > configure the J

Re: Problems understanding the standalone Jetty configuration

2010-07-28 Thread Benson Margulies
We do not default to port 80. Nohow. In general, we don't launch the server until it is needed for an endpoint, but we respect the server options you specify when we do that. I don't know a way offhand to ask us to launch sooner. On Wed, Jul 28, 2010 at 8:35 AM, Glen Mazza wrote: > > > Milisic

Re: Aegis, setDefaultNillable() and null return

2010-07-28 Thread Benson Margulies
File a JIRA? Possibly fairly quickly fixable. On Wed, Jul 28, 2010 at 4:24 AM, Mike Noordermeer wrote: > Hi, > > Benson Margulies wrote: >> >> In theory, with a WHATEVER.aegis.xml file. I don't see a unit test >> that does this, so feel free to squawk if it doesn't work. >> >> >>         >>    

Re: JAXB bindings and xs:date to java.util.Date conversion

2010-07-28 Thread Glen Mazza
Oh, I missed something, Adapter1 *was* using your implementation all along, if you see its implementation of unmarshall and marshall: // Class Adapter1: public Date unmarshal(String value) { return (-->be.ucm.career.converter.jaxb.DateAdapter.parseDate(value)<--); } publi

Re: Problems understanding the standalone Jetty configuration

2010-07-28 Thread Glen Mazza
Milisic Aleksandar wrote: > > Hi, > > I've already once asked a similar question but am still a bit unclear of > how the > standalone Jetty configuration actually works. > Just to clarify, you mean *embedded* Jetty, the servlet container behind the scenes that CXF uses to implement the Endpo

Jaxws Versioning Problem

2010-07-28 Thread ggsoft
Hi all, today i was thrown into the exact same problem as i found described by Goran on this mailing list. Is there any solution to this? Regards ggsoft Hi, I want to add a minor version update with backward compatibility (add service method) to a existing web service build with cxf. What I h

SCOPE of WS-Reliable Messaging

2010-07-28 Thread Edumudi Viswanath
Hi CXF Users,   we are interested to know about CXF WS-RM & scope of it.   Can you please let me know what will happen in case of below scenario's?   We have a consumer as well as a provider in our intranet. 1) node1 send some input for processing to node2, but due to network failure

Re: Problems using EU CheckVatService

2010-07-28 Thread Marc Schipperheyn
Hi Daniel, That did the trick. I did generate the code with wsdl2java, but the last part is the hookup through Spring with your local service class. That's where it went wrong. Thanks for helping me. Regarding CXF: just throwing a nullpointer when there is some config issue: it all could al

Re: can't find the request for observer

2010-07-28 Thread Rice Yeh
After I change the way to starting up the bus to org.springframework.web.context.ContextLoaderListener in web.xml, it works normally now. I originally used CXFServlet's init parameter to start up the bus. After checking the code, I find that the problem is caused by the code at org.apache.cxf.endp

can't find the request for observer

2010-07-28 Thread Rice Yeh
Hi, I run my JAX-RS only on jetty and get the error message can't find the request for ... observer. The following is my beans.xml. As you can see, I have define a endpoint "/rs". But the desitnation in ServletTransportFactory is empty. Any clue? Regards, Rice http://www.springframework.org/sc

Re: Aegis, setDefaultNillable() and null return

2010-07-28 Thread Mike Noordermeer
Hi, Benson Margulies wrote: In theory, with a WHATEVER.aegis.xml file. I don't see a unit test that does this, so feel free to squawk if it doesn't work. Thanks, doesn't seem to work though :-( Aegis finds the map

Re: An invalid security token was provided (Bad UsernameToken Values)

2010-07-28 Thread Antoine Roux
Hi, I know this is a bit dated, but I just wanted to mention that I had exactly the same problem with CXF 2.2.5 and that Dan's solution worked perfectly. In the startup of my application, I added at some point WSSConfig.getDefaultWSConfig() .setAllowNamespaceQualifiedPasswordTypes(true). It worked!