Re: [JAXRS][IE] subresource locator feature getting confused

2009-05-26 Thread Gabo Manuel
Hi Sergey, Sorry for the late reply. I have just tested 2.2.1 and it works for both IE and firefox. Thanks again! Gabo Sergey Beryozkin wrote: Hi Gabo > Either way, I'll get it fixed for 2.2 (the issue highlighted by your original example) Not in a rush. :) I doubt the client is going to

Re: [JAXRS][IE] subresource locator feature getting confused

2009-05-26 Thread Gabo Manuel
Hi Sergey, Sorry for the late reply. I have just tested 2.2.1 and it works for both IE and firefox. Thanks again! Gabo Sergey Beryozkin wrote: Hi Gabo > Either way, I'll get it fixed for 2.2 (the issue highlighted by your original example) Not in a rush. :) I doubt the client is going to

RE: When will CXF treat an element as CDATA?

2009-05-26 Thread Ron Grimes
Vladan, I doubt it's CXF. Maybe Xerces? Anyway, I would look at the text wrapped inside CDATA. I'm betting there is a character or two that, if not wrapped in CDATA, would render the xml document invalid. Something that might be interpreted as an extra closing tag that really isn't? I would lo

Re: [CXF2.2][wsdl2java][RPC/Lit] Unable to create stubs

2009-05-26 Thread Gabo Manuel
Hi Dan, Just want to say thanks. I checked the latest release (2.2.1) and works like a charm. Gabo Daniel Kulp wrote: On Tue April 14 2009 6:14:29 am Gabo Manuel wrote: Hi Dan, Any update on this issue? I mean, if there is a work around (use Aegis data binding perhaps?)? Just log

RE: When will CXF treat an element as CDATA?

2009-05-26 Thread Radovanovic, Vladan
Thanks Ron, I suspected I wasn't clear enough the first time. Basically I am trying to find out when does CXF treats data as CDATA and when it does not. That's the part that I don't know. In first instance I have build a web service that returns a fairly complex xml document. That's the in

RE: When will CXF treat an element as CDATA?

2009-05-26 Thread Ron Grimes
Maybe if you explain why you think the data has to be treated as CDATA, someone might have a better solution. I find it's often better to describe "what" I'm trying to accomplish, instead of "how" I'm trying to accomplish it, since the latter might be wrong. Ron -Original Message- From

When will CXF treat an element as CDATA?

2009-05-26 Thread Radovanovic, Vladan
Please excuse my ignorance but I hope someone can help me out with this simple issue. I have simple web service that's returning xml document as a response. I simply can't figure out what document needs to have in order for CXF to surround that response with

Tracking WSDLToJava Error: Thrown by JAXB : Two declarations cause a collision

2009-05-26 Thread cmarshall
I have been experimenting with CXF and the wsdl2java through Eclipse 3.5RC1 and have run into several situations where the code generation does not work. We have a large application that interacts as a client with search engines such as Google, MSN and Yahoo and I have been attempting the code ge

Re: AW: AW: Send X509Certificate with request

2009-05-26 Thread Mary Thompson
Hi Eamonn, In TLS mutual authentication the client does not send a certificate. If the server has been configured for clientAuthentication, the server sends a challenge message to the client requesting that it reply with a signed version of the challenge. The client looks to see what user it

Re: differences between codegen and wsimport (jaxws related)

2009-05-26 Thread Glen Mazza
Yes, CXF goes a little bit beyond the spec and provides additional methods--you can rely on them if you wish but you will lose web service stack independence as a result (i.e., can't switch easily to Metro). Glen Valerio Schiavoni wrote: > > My question is: is cxf 'richer' than jaxws 'referenc

RE: Invalid UTF-8 middle byte 0x64

2009-05-26 Thread Ron Grimes
Hi Fernando, I ran across this problem before. The problem didn't originate with the service, but in the data sent to the service from the client. In my case, the user was cutting and pasting Outlook emails into a comment field, which included some characters that aren't well liked when trying

Re: When will CXF treat an element as CDATA?

2009-05-26 Thread Benson Margulies
I don't think that CXF is ever likely to use CDATA. From a data model standpoint, CDATA is no different from judicious use of <. If you are using the JAXB data binding, you might try asking them. On Tue, May 26, 2009 at 4:00 PM, Radovanovic, Vladan < vradovano...@cghtech.com> wrote: > Please ex

Re: How to use a SNAPSHOT release

2009-05-26 Thread Benson Margulies
If you are using a POM, don't download. Add the apache snapshot repository to your repositories. Or wait another bit for 2.2.2 to be released. On Tue, May 26, 2009 at 2:14 PM, Mary Thompson wrote: > I'm new to maven and can't figure out how to use the cxf 2.2.2-SNAPSHOT > release. I downloaded

When will CXF treat an element as CDATA?

2009-05-26 Thread Radovanovic, Vladan
Please excuse my ignorance but I hope someone can help me out with this simple issue. I have a simple web service that's returning xml document as a response. I simply can't figure out what document needs to have in order for CXF to surround that response with

Re: DOSGI and DS, CXF-2173

2009-05-26 Thread Josh Holtzman
Thanks David. I didn't realize that the syntax for setting properties makes such a difference. Although it seems like subtle trivia, it's really important! 2173 is now closed. Josh David Bosschaert wrote: Hi Josh, I've just committed a further fix for this. I've also added a Declarative S

Re: about CXF plugin for Eclipse 3.4

2009-05-26 Thread Oisin Hurley
> I'm a new hand in CXF. A simple problem is which CXF plugin for Eclipse 3.4 > is available? I want install a CXF plugin in Eclipse3.4, but I can't find > anyone! If you just want to do CXF services based on JAX-WS and WSDL, then you could take a look at the Eclipse JAX-WS project, which lives

about CXF plugin for Eclipse 3.4

2009-05-26 Thread 孙星
Hi! I'm a new hand in CXF. A simple problem is which CXF plugin for Eclipse 3.4 is available? I want install a CXF plugin in Eclipse3.4, but I can't find anyone! Thanks! Regards! Aaron.s

How to use a SNAPSHOT release

2009-05-26 Thread Mary Thompson
I'm new to maven and can't figure out how to use the cxf 2.2.2-SNAPSHOT release. I downloaded the tar ball and found the jars in lib and modules. I changed my pom to have cxf-version= 2.2.2-SNAPSHOT and copied all the cxf jars to my maven repository into cxf//2.2.2-SNAPSHOT directories. When th

Attachments

2009-05-26 Thread zbale
Hi, When using CXF 2.1.2 and this code to get attachments: BindingProvider bp = (BindingProvider) client; java.util.Map responseContext = bp.getResponseContext(); return (Map) responseContext.get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS); Attachment was returned successfully.

AW: AW: Send X509Certificate with request

2009-05-26 Thread Michael Szalay
Hi yes, thats that I was looking for. Its just the tls authentication... Is there a programmatic way to set that property you mentioned to a client to send a specific certificate? Regards Michael -Ursprüngliche Nachricht- Von: Eamonn Dwyer [mailto:eamdw...@progress.com] Gesendet: Dien

RE: AW: Send X509Certificate with request

2009-05-26 Thread Eamonn Dwyer
Hi Michael I'm just getting back to your original question, - does the authentication have to be done "above" the transport or could you just let the TLS mutual authentication mechanism do the work for you? For example just setting the following on endpoint's tlsServerParameter configuration wo

differences between codegen and wsimport (jaxws related)

2009-05-26 Thread Valerio Schiavoni
Hello, I've noticed subtle differences between the classes generated by wsimport and the codegen plugin. In particular: JAX-WS RI 2.1.1 in JDK 6 and CXF 2.2.1 Consider this meteo web-service : http://www.webservicex.net/globalweather.asmx?WSDL It defines only 1 service, GlobalWeather. According

Re: cxf-codegen plugins fails (xmlschema 1.4.5) but wsimport does not

2009-05-26 Thread Valerio Schiavoni
Hello. On Tue, May 26, 2009 at 3:50 AM, Benson Margulies wrote: > You had better make a JIRA with an actual POM that produces this problem. A > simple test case that I made fails to fail. Done. https://issues.apache.org/jira/browse/CXF-2239 Thanks for the support valerio -- http://www.li

Invalid UTF-8 middle byte 0x64

2009-05-26 Thread Fernando Avalos García
Hi, I am getting an error in a CXF service. I think I could solve this problem changing the encoding to ISO-8859-1. How could I do that? Here is the complete stack trace. Thanks in advance... 02:04:00,263 ERROR [STDERR] May 26, 2009 2:04:00 AM org.apache.cxf.phase.PhaseInterceptorChain do