CXF 2.0 client and Websphere 6.1 with WS feature pack

2008-01-17 Thread Rodriguez, Jose
Hi All, I need some help with Websphere 6.1 and CXF. I wrote a Web Services client (using basic authentication) with CXF. I followed these instructions nto setup Websphere: http://cwiki.apache.org/confluence/display/CXF20DOC/AppServerGuide#AppServerGuide-Websphere But I have the same issue

Regarding elementFormDefault

2008-01-17 Thread Mayank Mishra
Hi, I am using CXF 2.0.2. I am facing the same issues discussed in the following thread, http://www.nabble.com/Created:-(CXF-1226)-Missing-input-output-param-namespace-in-SOAP-td13870857.html Using java first approach, with Service class or Interface, generated WSDL has,

RE: Issues with JSON based Service and Jettison

2008-01-17 Thread Vespa, Anthony J
Hi Benson, Thank you for the insights. I feel quite honestly like I'm swimming through Jello a bit, as I cannot find an end to end JSON/CXF/Jettison example, so I'm gleaming info from past mails on the mailing list and some general common sense - I certainly believe it could be my error in so

Re: Maven dependency problem upgrading from CXF 2.0.2 to 2.0.3

2008-01-17 Thread Daniel Kulp
Geln, You aren't, by any chance, on a Mac? Are you? Dan On Thursday 17 January 2008, Glen Mazza wrote: Hello, I'm having difficulty upgrading from CXF 2.0.2 to CXF 2.0.3 using Mavenized builds. With CXF 2.0.3 (not 2.0.2), Maven keeps trying to download nonexistent versions of jars (in

JMS Topic and CXF

2008-01-17 Thread Benjamin Coiffe
Hi, I was wondering if it is possible to open a JMS topic or queue using CXF. I know from the mailing-list and the doc that it is possible to send messages to a topic and a queue but I could not find anything to answer my question... If the answer is no, has anybody ever tried a lightweight

Re: Maven dependency problem upgrading from CXF 2.0.2 to 2.0.3

2008-01-17 Thread Daniel Kulp
Hmm... OK Not sure what to say then although it's probably the same issue as ServiceMix had on the Mac. There is a bug in Maven where system properties can overwrite and affect anything that uses ${project.version} and/or ${pom.version} like we do. The issue is that some XML

RE: Issues with JSON based Service and Jettison

2008-01-17 Thread Benson Margulies
On Thu, 2008-01-17 at 09:06 -0500, Vespa, Anthony J wrote: Hi Jervis, I was able to get past that part yesterday - but I seem to be having some more problems with just the general namespace. Anthony, A general caveat. You are combining Aegis with JSON, which is not a heavily tested

RE: Issues with JSON based Service and Jettison

2008-01-17 Thread Vespa, Anthony J
Hi Jervis, I was able to get past that part yesterday - but I seem to be having some more problems with just the general namespace. I can submit the data in but it is being marshalled out incorrectly and exceptionin - I believe I have set up the xml attributes correctly on each of my objecrs,

Maven dependency problem upgrading from CXF 2.0.2 to 2.0.3

2008-01-17 Thread Glen Mazza
Hello, I'm having difficulty upgrading from CXF 2.0.2 to CXF 2.0.3 using Mavenized builds. With CXF 2.0.3 (not 2.0.2), Maven keeps trying to download nonexistent versions of jars (in particular, Version 1.0 of cxf-api and cxf-rt-core, neither of which have 1.0 versions anywhere) and fails

Re: Maven dependency problem upgrading from CXF 2.0.2 to 2.0.3

2008-01-17 Thread Glen Mazza
No, Windows XP Professional, SP2. dkulp wrote: Geln, You aren't, by any chance, on a Mac? Are you? Dan On Thursday 17 January 2008, Glen Mazza wrote: Hello, I'm having difficulty upgrading from CXF 2.0.2 to CXF 2.0.3 using Mavenized builds. With CXF 2.0.3 (not 2.0.2),

CXF Servlet setup problem

2008-01-17 Thread yulinxp
All the sample use the following to start Spring and loads beans.xml file. context-param param-namecontextConfigLocation/param-name param-valueWEB-INF/beans.xml/param-value /context-param listener listener-class

Re: JMS Topic and CXF

2008-01-17 Thread Ian Roberts
Benjamin Coiffe wrote: I was wondering if it is possible to open a JMS topic or queue using CXF. I know from the mailing-list and the doc that it is possible to send messages to a topic and a queue but I could not find anything to answer my question...

Polymorphic dispatch, JAXB REST.

2008-01-17 Thread TonyTheFish
I have an rd project on the go and I'm having difficulty getting a rest service to dispatch correctly. I have these two classes @XmlTransient public class Transaction implements Serializable { ... } @XmlRootElement(name = transactionType1) public class TransactionType1 extends Transaction

Re: CXF Servlet setup problem

2008-01-17 Thread Adrian Corcoran
you can add an init parameter to your servlet, the cxf bus must already be loaded by the spring context already thou init-param param-nameconfig-location/param-name param-valuews.context.xml/param-value /init-param On Jan 17, 2008 4:59 PM, yulinxp [EMAIL

RE: JMS Topic and CXF

2008-01-17 Thread Bhole, Ulhas
We have samples in the binary kit showing how to use queue and topic with CXF. Regards, Ulhas Bhole -Original Message- From: Ian Roberts [mailto:[EMAIL PROTECTED] Sent: 17 January 2008 17:57 To: cxf-user@incubator.apache.org Subject: Re: JMS Topic and CXF Benjamin Coiffe wrote: I

Re: Maven dependency problem upgrading from CXF 2.0.2 to 2.0.3

2008-01-17 Thread Glen Mazza
Thanks for the help Dan. I think I'm getting a solution--I just need to explicitly state the version of cxf-api and cxf-runtime-core that I need in the DependencyManagement/ section, rather than rely on Maven's default dependency resolution. Another option that seems to work is using dependency

Re: Maven dependency problem upgrading from CXF 2.0.2 to 2.0.3

2008-01-17 Thread Daniel Kulp
Hmm... OK Not sure what to say then although it's probably the same issue as ServiceMix had on the Mac. There is a bug in Maven where system properties can overwrite and affect anything that uses ${project.version} and/or ${pom.version} like we do. Questions: 1.) Do you know

RE: Issues with JSON based Service and Jettison

2008-01-17 Thread Vespa, Anthony J
Jervis, I actually got it working end to end - once I added the namespace as a property in my jettison settings of my beans.xml - it works quite nicely and even deals with my wrapper/anytypes. Out of curiousity, there have been some oblique mentions here and there of having the incoming JSON

Re: Validation error using document/literal/wrapped

2008-01-17 Thread Daniel Kulp
When you run the java2wsdl, add the -s source-dir and -classdir dir options. This will cause it to generate wrapper types for the messages that the validator can use. Dan On Thursday 17 January 2008, howesld wrote: Hi, I'm doing java to wsdl using cxf 2.0.3 and jaxb 2.0 on Java 5,

Validation error using document/literal/wrapped

2008-01-17 Thread howesld
Hi, I'm doing java to wsdl using cxf 2.0.3 and jaxb 2.0 on Java 5, running on Tomcat and I have turned on schema validation. I would like to use document/literal/wrapped, but when I do I get the following error: Unmarshalling Error: cvc-elt.1: Cannot find the declaration of element 'theInt'.

Re: CXF Servlet setup problem

2008-01-17 Thread Daniel Kulp
The CXF servlet always looks for WEB-INF/cxf-servlet.xml and loads it. However, it does that after inializing the bus you any imports you have to classpath:META-INF/cxf-. should be removed as they would already be grabbed. Dan On Thursday 17 January 2008, yulinxp wrote: All the

Re: CXF 2.0 client and Websphere 6.1 with WS feature pack

2008-01-17 Thread Daniel Kulp
On Thursday 17 January 2008, Rodriguez, Jose wrote: Hi All, I need some help with Websphere 6.1 and CXF. I wrote a Web Services client (using basic authentication) with CXF. I followed these instructions nto setup Websphere:

Re: CXF Servlet setup problem

2008-01-17 Thread Willem Jiang
Yes , here is another way which will not use the org.springframework.web.context.ContextLoaderListener to start the endpoints. You can find the example form CXF's hello world examples [1] As Dan Kulp has said , you don't need imports any of classpath:META-INF/cxf-. [1]

Still having problems with LocalTransport

2008-01-17 Thread SBixby
My project has a bucketload of JUnit tests that used XFire's 'xfire' Spring bean to get an XFireProxyFactory object, and create a local instance of the service. This code works like this: XFire xfire = (XFire) applicationContext.getBean(xfire); ServiceRegistry serviceRegistry =

WebMethod parameter is null - JAXB binding failure?

2008-01-17 Thread mcobery
Hi, I have been trying to convert the JAXB 2.0 example from XFire to use CXF and am having trouble with what I believe is a JAXB binding issue. I am using CVF 2.0.3. I am using the generated JAXB 2.0 java source files from the XFire example which are annotated. They are not generated with

CXFServlet

2008-01-17 Thread tog
Me again ... Usually when I create a server I use jetty (pretty simple), I want to move to other container like tomcat. Using the CXFServlet (or the nonSpring servlet) how can I set my data binding to aegis ? ususally I do a sf.getServiceFactory().getServiceConfigurations().add(0, new