Re: [CXF2.2.3][JAX-WS][Code-First][RPC/Lit] Handling null response

2009-09-08 Thread Gabo Manuel
Just to record for everyone else. Again my thanks to Dan. The specific "rule" is in the WSI Basic Profile: http://www.ws-i.org/profiles/basicprofile-1.1.html Section 4.4.1: R2211 An ENVELOPE described with an rpc-literal binding MUST NOT have the xsi:nil attribute with a value of "1" or "tru

RE: CXF Client: Software caused connection abort: recv failed

2009-09-08 Thread xinxinwang
Eamonn, Thanks for the info. Where can I get the source code or jar of SOAPService and Greeter classes? Xinxin Eamonn Dwyer-2 wrote: > > > Hi Xinxin > the following code works fine for me. I have a CXF Soap Https service that > is requiring mutual authentication. I'm not creating a bus expl

Re: CXF Client: Software caused connection abort: recv failed

2009-09-08 Thread xinxinwang
I see. They are in the org.apache.hello_world_soap_http package. I cheched the CXF samples folder and notices that it is imported by some classes. However, I cannot find the jar file. Where can I dowload this package? Xinxin xinxinwang wrote: > > What SOAP framework you are using on the clien

Re: wsdl containing multiple ports and dynamic client

2009-09-08 Thread Juan David
Hi Benjamin I’m having the same issue, did you manage to find a solution? Thanks in advance Juan David Benjamin Coiffe wrote: > > Hi, > > > > I have a WSDL that contains multiple ports binding. I can easily > generate a Dynamic Client using the wsdl but I could not find how to set > t

Re: Problem with client side cxf:bus after upgrading from 2.2 to 2.2.3

2009-09-08 Thread Daniel Kulp
Thanks for the test case. I'm actually surprised this has ever worked. Or, more specifically, ever produced a bus that is actually usable for anything other than holding onto those couple of interceptors. For example, if you change your testcase to do: @Autowired ApplicationContext

Re: Multiple faults not recognized

2009-09-08 Thread Daniel Kulp
I think that all looks correct. Not sure why that isn't working. Is there any chance you could package it up into a small sample that shows it not working and log a JIRA? Having the full sample (with schemas and wsdl's and such) can help figure out what it going on. Dan On Mon September 7

Re: Is *anyone* sucessfully running CXF with WS-SECURITY in Webshere?

2009-09-08 Thread Daniel Kulp
On Tue September 8 2009 1:27:48 pm cj91 wrote: > cj91 wrote: > > Forgot to mention this is WS 6.1 with Fixpack 23 and CXF 2.2.3. > > > > any help or experience is desperately needed. > > For anyone in a situation like ours, let me share the solution. We are > running WS6.1 FP 23 without the web se

Re: Element is not a valid SOAP version

2009-09-08 Thread Daniel Kulp
That sounds like someone is sending a the XML for the data not in a soap envelope. Basically: ... instead of: ... Dan On Sat September 5 2009 2:19:55 am Naresh Tallapelli wrote: > Hi All, > > I am using cxf-2.1.2 version from last 4 months. Everythign was working > fine from

Can JAXB bindings be placed inside "jaxrs:bindings"?

2009-09-08 Thread KARR, DAVID (ATTCINW)
If I need to customize the Java->XML binding by creating a "jaxb:bindings" element, where would I put that? Would it go in the "jaxrs:bindings" element that is contained within the "jaxrs:server" element? If so, is this possible in 2.2.3, or only in the trunk?

RE: Need help writing JAXBElementProvider that uses "jaxbElementClassMap"

2009-09-08 Thread KARR, DAVID (ATTCINW)
> -Original Message- > From: Sergey Beryozkin [mailto:sergey.beryoz...@iona.com] > Sent: Saturday, September 05, 2009 1:23 PM > To: users@cxf.apache.org > Subject: Re: Need help writing JAXBElementProvider that uses > "jaxbElementClassMap" > > > Hi > > You can extend JaxbElementProvider

RE: Need help writing JAXBElementProvider that uses "jaxbElementClassMap"

2009-09-08 Thread KARR, DAVID (ATTCINW)
> -Original Message- > From: Sergey Beryozkin [mailto:sergey.beryoz...@iona.com] > > You can extend JaxbElementProvider and override > AbstractJAXBProvider.convertToJaxbElemenIfNeeded() and implement it the > way > it's done on the trunk [1]. The "jaxbElementClassMap" map is referenced in

Re: Is *anyone* sucessfully running CXF with WS-SECURITY in Webshere?

2009-09-08 Thread cj91
cj91 wrote: > > Forgot to mention this is WS 6.1 with Fixpack 23 and CXF 2.2.3. > > any help or experience is desperately needed. > For anyone in a situation like ours, let me share the solution. We are running WS6.1 FP 23 without the web services feature pack. Create a shared library with

Re: CXF Client: Software caused connection abort: recv failed

2009-09-08 Thread xinxinwang
What SOAP framework you are using on the client? AXIS2? I found no class SOAPService and Greeter from CXF framework. Xinxin xinxinwang wrote: > > I deployed my service on JBoss 4.2.3/JDK 1.6.0_10 with port 443 over SSL > with the following connector: > > maxThreads="150" scheme="https" s

Re: JAX-RS: Best approach for POST operation of a complex type containing binary object

2009-09-08 Thread Sergey Beryozkin
Hi > The limitation is that multiparts are not supproted by the client api - I > have this JIRA for it : > http://issues.apache.org/jira/browse/CXF-2270 This JIRA has been resolved now, the updated documentation is here : http://cxf.apache.org/docs/jax-rs.html#JAX-RS-SupportforMultiparts chee

Apache CXF & Lazy Loading

2009-09-08 Thread Tom Cassimon
Hi, I use the combination Hibernate, Spring & Apache CXF and I am wondering if Apache CXF supports lazy loading, and if it does how do i configure it. I have Entity class with a BLOB column (defined as byte[]). It's annotated with: @Column(name = "data", columnDefinition="longblob")

RE: CXF Client: Software caused connection abort: recv failed

2009-09-08 Thread Eamonn Dwyer
Hi Xinxin the following code works fine for me. I have a CXF Soap Https service that is requiring mutual authentication. I'm not creating a bus explicitly so all my config is coming from the code. I doubled checked that the config is picked up from the the code below by commenting out the relev

Re: CXF Client: Software caused connection abort: recv failed

2009-09-08 Thread xinxinwang
I tried to use cxf.xml to configure the HttpConduit. I put the cxf.xml in a folder that is in the classpath. However, the config file was not picked up at run-time. xinxinwang wrote: > > I deployed my service on JBoss 4.2.3/JDK 1.6.0_10 with port 443 over SSL > with the following connector: >

RE: CXF Client: Software caused connection abort: recv failed

2009-09-08 Thread xinxinwang
Thanks for the information. However, httpConduit.getTlsClientParameters() = null. Xinxin Eamonn Dwyer-2 wrote: > > > Hi Xinxin > I replied to a similar issue back in May 2009 for Michael Szalay and the > following code seemed to work for him. > http://mail-archives.apache.org/mod_mbox/cxf-u

Re: Questions for JAX-RS Users

2009-09-08 Thread Benson Margulies
The fun here all happens below the level of the service interface, so I'll trim ... On Tue, Sep 8, 2009 at 7:37 AM, Josh Holtzman wrote: > On Mon, Sep 7, 2009 at 2:41 PM, Benson Margulies >wrote: > > > > Do you use JSON, XML, or both? If you use JSON, are you happy with it? > > > > > Both, but I

RE: Problem with primary key in Persisted object list

2009-09-08 Thread Tom Cassimon
Hi, I have an extra problem because the primary key is not passed to the Apache CXF client. When i remove an element from the list it always removes the First element in the list. The equals method returns true. Code snippet: =

Re: Questions for JAX-RS Users

2009-09-08 Thread Josh Holtzman
On Mon, Sep 7, 2009 at 2:41 PM, Benson Margulies wrote: > There have been some email threads on this list about sharing configuration > and code between conventional web services and JAX-RS. At the same time, > we're having a bit of a debate over on the dev side. So I'm writing this > message to s

Re: WebClient fails to unmarshall

2009-09-08 Thread Sergey Beryozkin
ok, thanks for confirming the 2nd test now working... 3rd one failure : Even with a cglib-nodep-2.1_3.jar on the classpath ? cheers, Sergey amichalec wrote: > > Ouch... I have solved that problem -- it was strictly JAXB problem that > works very silently when trying to unmarshall to object th

Re: WebClient fails to unmarshall

2009-09-08 Thread amichalec
Ouch... I have solved that problem -- it was strictly JAXB problem that works very silently when trying to unmarshall to object that has only annotated getters :/ after moving annotation to class members it started to work correctly. So the only case here is very quite JAXB engine, which shoul yel

Re: WebClient fails to unmarshall

2009-09-08 Thread Sergey Beryozkin
Hi Andy I'm nearly sure that the test will start working if you add the setters as well...And may be remove @XmlElement method annotations...Can you try it and let me know if it works ? As far as the CGLIB-related test is concerned : I've updated the 2.2.4-SNAPSHOT client code recently to report

Re: WebClient fails to unmarshall

2009-09-08 Thread amichalec
Hi Sergey Sergey Beryozkin wrote: > > So as far as the NPE is concerned, it's coming from the JAXB layer, which > is then rethrown by JAXBElementProvider, right ? > > or is NPE originating from JAXBElementProvider.unmarshalFromReader() ? > It comes from JAXB layer, that's why I feel reluctan

Re: WebClient fails to unmarshall

2009-09-08 Thread Sergey Beryozkin
Hi Andy > hello after long absence ;) good to hear from you again :-) Just yesterday I updated the client code for it not to lose the exception caught during AbstractClient readBody/writeBody. I've obviously been guilty of writing the code which swallows exceptions (hopefully non of that is lef