Re: xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified"

2007-11-06 Thread Jim Ma
Hi , You can annotate the package-info.java with " XmlNsForm.QUALIFIED" like this : @javax.xml.bind.annotation.XmlSchema(namespace = "http://example.org";, attributeFormDefault=javax.xml.bind.annotation.XmlNsForm.QUALIFIED,

RE: Bus has no BindingFactoryManager extension in AbstractBindingFactory.registerWithBindingManager

2007-11-06 Thread Jiang, Ning (Willem)
Hi Tom, I found Dan Klup's merging email to CXF2.0.x in cxf-commits mail list. The patch of CXF-1060 should be also in CXF2.0.x branch now. Please feel free to try the CXF 2.0.3 which is still been voting. Willem. -Original Message- From: Tom Davies [mailto:[EMAIL PROTECTED] Sent: Wed

RE: Return direct XML

2007-11-06 Thread Roshan A. Punnoose
Cool I'll look into this and the Aegis bindings. Roshan -Original Message- From: Liu, Jervis [mailto:[EMAIL PROTECTED] Sent: Tue 11/6/2007 9:32 PM To: cxf-user@incubator.apache.org Subject: RE: Return direct XML In your case, looks like the easiest way is to use JAX-WS Provider API wit

RE: Return direct XML

2007-11-06 Thread Benson Margulies
I believe that Aegis allows you to have a return type of org.w3c.Document or the JDOM equivalent, and XML will appear. > -Original Message- > From: Liu, Jervis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 06, 2007 9:32 PM > To: cxf-user@incubator.apache.org > Subject: RE: Return dir

RE: Return direct XML

2007-11-06 Thread Liu, Jervis
In your case, looks like the easiest way is to use JAX-WS Provider API with XML Binding. You will find a bunch of different type of Provider implementations under system test: https://svn.apache.org/repos/asf/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/. Of course

Re: Return direct XML

2007-11-06 Thread James Mao
XML is not a Java Type before Java7, it'll be at that time. Not sure what you really mean, do you mean a DOM or something else James Hi, What is the easiest way to return XML directly? For example, in my function, if I create XML, I want to be able to send that object directly back to the

Re: Bus has no BindingFactoryManager extension in AbstractBindingFactory.registerWithBindingManager

2007-11-06 Thread Tom Davies
On 07/11/2007, at 1:18 AM, Willem Jiang wrote: Hi Tom, Can you try your application with the Spring 2.0.6? We did not develop and test CXF with Spring 2.5-rc1. Thanks Willem. In fact I was using 2.1-m4, not 2.5-rc1, my mistake. I have other dependencies on Spring 2.5, so I would like to tr

Re: Return direct XML

2007-11-06 Thread Glen Mazza
I was about to say just return the XML in an xsd:string, it should work fine. But that raises an interesting question: when are the <'s escaped so they don't interfere with the rest of the SOAP Message (which is in XML itself?) I'm guessing they're escaped automatically by the web services stack

RE: Help! Aegis not mapping Java.Util.Collection properly

2007-11-06 Thread Vespa, Anthony J
I downloaded the current 2.0.3 build and I am still getting this error in SoapUI 1.7.6 - I took it from this location: http://people.apache.org/~dkulp/stage_cxf/2.0.3-incubator-take1/ Please advise. From: Vespa, Anthony J Sent: Monday, November 05, 2007 6:19 PM To: Daniel Kulp; cxf-use

Return direct XML

2007-11-06 Thread Roshan A. Punnoose
Hi, What is the easiest way to return XML directly? For example, in my function, if I create XML, I want to be able to send that object directly back to the calling client. Is this possible? Roshan

RE: Java first: Binding classes not exposed in service APIs

2007-11-06 Thread Segal, Jeffrey
Update: I have verified that this is in fact supported by CXF, just not well documented yet. Here is my Spring configuration, which changes the default nillable and minOccurs settings to avoid stubs which wrap every Object with JAXBElement: 1

RE: Aegis databinding and Java 5 Generic List creating extra "anyType" field

2007-11-06 Thread Benson Margulies
The 'flat' feature is an attribute in the mapping schema that was intended to control some cases of either adding an extra level of type/element or not. Apparently, it isn't this one. While the code to parse the attribute exists, the code to actually pay attention to it does not. __

Re: Help! Aegis not mapping Java.Util.Collection properly

2007-11-06 Thread Kaleb Walton
After reviewing this thread it seems like this problem is similar to the one I just submitted titled 'Aegis databinding and Java 5 Generic List creating extra "anyType" field'. Looking forward to trying out the next snapshot! Regards, Kaleb |> | From: | |> >-

RE: Aegis databinding and Java 5 Generic List creating extra "anyType" field

2007-11-06 Thread Kaleb Walton
Thanks for the reply. Unfortunately nillable is already set to false. What is the 'flat' feature? I can't imagine that I'm the only person having the problem. Do you know if there is a way to specify something in an aegis.xml config that tells the 'items' list to not add the 'anyType' property?

Re: JAX-RPC versus JAX-WS

2007-11-06 Thread Glen Mazza
Am Dienstag, den 06.11.2007, 09:27 -0500 schrieb Daniel Kulp: > On Tuesday 06 November 2007, Patrick Mulligan wrote: > > Anohter way to phrase the question is: Can I have a jax-rpc client > > talk to a CXF jax-ws server "wire-wise" with no modifications to the > > client or server? > > If it's us

Re: pojo object return type not included in wsdl as complextype

2007-11-06 Thread Daniel Kulp
Ah.. That would explain it. JAX-WS/JAXB only handles concrete Java beans, not interfaces. You cannot use interfaces for marshalled objects. Dan On Monday 05 November 2007, Mark Clarke wrote: > Hi Dan, > > Thanks for the info. I only started using the response wrapper as I > couldn't get

Re: JAX-RPC versus JAX-WS

2007-11-06 Thread Daniel Kulp
On Tuesday 06 November 2007, Patrick Mulligan wrote: > Hi, > > We have a jax-rpc client running in a servlet that I want to make talk > to a CXF service. Between these two technologies, I believe is is > mostly an API and data binding difference verus a soap/wire > difference. Is this correct? W

Re: Bus has no BindingFactoryManager extension in AbstractBindingFactory.registerWithBindingManager

2007-11-06 Thread Willem Jiang
Hi Tom, Can you try your application with the Spring 2.0.6? We did not develop and test CXF with Spring 2.5-rc1. Willem. Tom Davies wrote: I'm using apache-cxf-2.0.3-incubator-20071102.144221-7 (although I see the same problem with 2.0.2) and Spring 2.5-rc1 I have a simple servlet configurat

RE: Aegis databinding and Java 5 Generic List creating extra "anyType" field

2007-11-06 Thread Benson Margulies
If you set nillable to false it might do what you want. On the other hand, it might be that this is the never-implemented 'flat' feature of Aegis. > -Original Message- > From: Kaleb Walton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 06, 2007 8:55 AM > To: cxf-user@incubator.apache.

Aegis databinding and Java 5 Generic List creating extra "anyType" field

2007-11-06 Thread Kaleb Walton
Thanks to Aegis databinding I can specify the minOccurs on my primitive fields so the WSDL contract doesn't force them to be required. However, Aegis has introduced something else that I'm not familiar with. It may be "proper" but I'm not familiar with it and it seems to add one more level of a p

Re: ClientFactoryBean AbstractMethodError

2007-11-06 Thread Todd Orr
I understand what you're saying. I do think that a simple client for packaging the data in a restful way and handling all the http plumbing is a nicety. It's especially useful in unit testing. I can use the same unit tests that I ran on my business object implementation with just a subclass and an

JAX-RPC versus JAX-WS

2007-11-06 Thread Patrick Mulligan
Hi, We have a jax-rpc client running in a servlet that I want to make talk to a CXF service. Between these two technologies, I believe is is mostly an API and data binding difference verus a soap/wire difference. Is this correct? Anohter way to phrase the question is: Can I have a jax-rpc

Re: possible problems in mixing https and http?

2007-11-06 Thread Christian Vest Hansen
Now we've implemented HTTPS between the content switch and our services like so: (A) ---HTTPS---> (CS) ---HTTPS---> (S) And CXF generates the correct URLs, however, all is still not good. Now, the CXF clients gives the following error message: log4j:WARN No appenders could be found for logger (

xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified"

2007-11-06 Thread Monica Ferrero
Hi! The wsdl generated from cxf has in the schema definition: attributeFormDefault="unqualified" elementFormDefault="unqualified" I need these to be generated as "qualified". What do I need to do for these to be generated as qualified? Is there any annotation for this? Or any specific way of de

Re: Still missing wsdl import elements for inline schemas, this time in jaxb with 2.0.3 snapshot

2007-11-06 Thread Daniel Dienhardt
Benson Margulies wrote: chema validation error on node xs:element Error