Using CXF's Failover Feature

2008-03-13 Thread Ayush Gupta
I'm trying to use the failover feature. The documentation for this seems thin; it is mentioned at http://cwiki.apache.org/CXF20DOC/featureslist.html and javadocd at http://incubator.apache.org/cxf/javadoc/latest/org/apache/cxf/clustering/pac kage-summary.html I understand that I need to enable

CXF with Clustered JMS using ActiveMQ Network of Brokers

2008-03-10 Thread Ayush Gupta
Has anyone here used CXF with a clustered JMS using ActiveMQ's "Network of Brokers"? Before I get much further along in setting this up, I was hoping to get some words of wisdom or hear cautionary tales from folks who have already treaded down this path. More specifically though, as long as I'v

RE: no luck with JMS transport

2008-03-06 Thread Ayush Gupta
f.xml http://service.test/}IHelloPort.jms-conduit";> The example service interface however is named HelloWorld I corrected this but I still get the same problem. -Original Message- From: Ayush Gupta [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 9:51 AM

RE: no luck with JMS transport

2008-03-06 Thread Ayush Gupta
Are you sure that cxf.xml is present in the root of your classpath? -ayush -Original Message- From: Mac Case <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2008 1:38 AM To: cxf-user@incubator.apache.org Subject: no luck with JMS transport http://cwiki.apache.org/CXF20DOC/jax-ws-java-first

RE: Configure JMS Transport With Code?

2008-03-02 Thread Ayush Gupta
That worked great. Thanks again! An update to the wiki for this might be a good idea. -ayush -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Friday, February 29, 2008 5:54 PM To: cxf-user@incubator.apache.org Cc: Ayush Gupta Subject: Re: Configure JMS Transport

RE: Configure JMS Transport With Code?

2008-02-29 Thread Ayush Gupta
ailable via the API Remember that a lot of users won't touch XML configuration. Example: a user creates a Client and they want to change the proxy server. We should make this as easy as possible instead of forcing them to use XML or navigate a bunch of objects. -Original Message----- From:

RE: Maps and Interfaces as params/returns sample....

2008-02-29 Thread Ayush Gupta
@incubator.apache.org Cc: Ayush Gupta Subject: Re: Maps and Interfaces as params/returns sample Right... That's the limitation of how the XmlJavaTypeAdapter stuff works. It's the concrete class that COMPLETELY drives the generated schema and what gets written to the wire. Al

RE: Maps and Interfaces as params/returns sample....

2008-02-29 Thread Ayush Gupta
Daniel, I tried this and am indeed able to use interfaces as parameters. However, I did encounter one problem: "The marshalling is being done based on the concrete class of passed object and not based on the interface itself" So, consider this example: - Lets say that UserImpl has a few additio

Configure JMS Transport With Code?

2008-02-29 Thread Ayush Gupta
The documentation talks about configuring JMS transport for a service via either WSDL or through cxf.xml. Is there a way that I can set or override these properties using code? More specifically, I'd like to set the following things at runtime: 1. jndiDestinationName 2. jndiReplyDesti

RE: Maps and Interfaces as params/returns sample....

2008-02-29 Thread Ayush Gupta
Sweet! Thanks for looking at this so promptly. I'll try this tomorrow. -ayush -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 12:09 PM To: cxf-user@incubator.apache.org Cc: [EMAIL PROTECTED] Subject: Maps and Interfaces as params/returns

RE: Does CXF Support Interfaces as Web Params?

2008-02-27 Thread Ayush Gupta
;m not > certain. > > Glen > > Am Dienstag, den 26.02.2008, 15:07 -0800 schrieb Ayush Gupta: > > In my web service, there is a method which takes an interface as its > > parameter, instead of a concrete class. Reference code is at the bottom > of > > th

Does CXF Support Interfaces as Web Params?

2008-02-26 Thread Ayush Gupta
In my web service, there is a method which takes an interface as its parameter, instead of a concrete class. Reference code is at the bottom of this email. When I run the client, I get an exception "Caused by: javax.xml.bind.JAXBException: com.passenger.test.ComplexObjectInterface is not known