Re: [cxf-2.2.9] Retrieve method invoked via interceptor.

2010-10-12 Thread Gabo Manuel
Hi Sergey, Thanks!!! Just to note: 1. OperationInfo opInfo = ex.get(OperationInfo.class); works for SOAP 2. Object nameProperty = ex.get("org.apache.cxf.resource.operation.name"); works for ReST Just curious though. I just noticed that if the method is mapped to the root path (for ReST), e.

Re: [cxf-2.2.9] Retrieve method invoked via interceptor.

2010-10-12 Thread Sergey Beryozkin
Hi Gabo On Tue, Oct 12, 2010 at 11:01 AM, Gabo Manuel wrote: > Hi All, > > I am already able to retrieve the endpoint using the following: > > Exchange exchange = ...;// retrieved from message > exchange.getEndpoint().getEndpointInfo().getName() > > I was wondering if it is possible to retrieve

Response is not getting back to the client

2010-10-12 Thread rangeli nepal
Good Afternoon, In my current implementation of Interceptor, which basically implements org.apache.cxf.jaxrs.ext.RequestHandler return Reponse Object. Response Object either contain xml or a header with location field. Before sending the response I am able to print the object. However I see that s

Problems sending HashMaps with CXF client

2010-10-12 Thread G
Hi all, I am trying to create a client that connects to a Java webservice. I used the wsdl2java tool to create the client. The webservice requires a Hashmap as input and the WSDL2Java tool created a HashMap class that I am not sure how to use. If I construct the HashMap using the regular jav

RE: [ANNOUNCE] Apache CXF 2.3.0 released!

2010-10-12 Thread Jason Chaffee
Yes, I was expecting an attribute. -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: Tuesday, October 12, 2010 11:48 AM To: users@cxf.apache.org; d...@cxf.apache.org Cc: Jason Chaffee Subject: Re: [ANNOUNCE] Apache CXF 2.3.0 released! On Monday 11 October 2010 5:11:38

Re: [ANNOUNCE] Apache CXF 2.3.0 released!

2010-10-12 Thread Daniel Kulp
On Monday 11 October 2010 5:11:38 pm Jason Chaffee wrote: > Is there any documentation for using the @SchemaValidation annotation in > jaxrs? I looked but could not find it. I don't think at this point it can work. The @SchemaValidation annotations really just turns on the validation. There s

Pragmatically sending Response back

2010-10-12 Thread rangeli nepal
Good Afternoon, Currently I am writting an interceptor. During certain condition, it needs to send the message ( a xml document, or location) back to the client and stop further processing. I thought if I do following. I will achieve it but I am not. Any suggestion will be highly appreciated. Than

Re: Datatype in SoapResponse

2010-10-12 Thread Benson Margulies
Aegis would be more helpful here. It's very fond of xsi:type. On Tue, Oct 12, 2010 at 1:42 PM, Daniel Kulp wrote: > On Tuesday 12 October 2010 2:01:41 am blaz wrote: >> Hi, >> I'm calling a cxf webservice from ksoap2, and ksoap2 seems to need the >> datatype directly in the SoapResponse in order

Re: Datatype in SoapResponse

2010-10-12 Thread Daniel Kulp
On Tuesday 12 October 2010 2:01:41 am blaz wrote: > Hi, > I'm calling a cxf webservice from ksoap2, and ksoap2 seems to need the > datatype directly in the SoapResponse in order to unmarshall it, in > fact the datatype is present in the soaprequest from ksoap2. That would be a bug in ksoap2 as it

Re: How to configure the HTTPS in the jax-rs restful webservice based on tomcat ans spring

2010-10-12 Thread Daniel Kulp
On Tuesday 12 October 2010 6:10:08 am Sergey Beryozkin wrote: > Hi, > > Redirecting the users list... > > Please see > > http://svn.apache.org/repos/asf/cxf/trunk/distribution/src/main/release/sam > ples/jax_rs/spring_security/ > > and > > http://svn.apache.org/repos/asf/cxf/trunk/distribution

Re: NPE in CXF with a client API generated with cxf-codegen-plugin

2010-10-12 Thread Daniel Kulp
On Tuesday 12 October 2010 11:28:00 am jean@orange-ftgroup.com wrote: > Hi, > > In my project I'm using CXF 2.2.9 to consume a wsdl (axis server). See in > attachment the wsdl. Are you sure you are using 2.2.9? > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeClas >

Re: implementor and implementorClass

2010-10-12 Thread Daniel Kulp
On Tuesday 12 October 2010 12:33:25 pm Benson Margulies wrote: > I guess this goes onto the list of CXF JAX-WS extensions that we need > to document: that SIB-only annotations work on the SEI. I could have > sworn that I proved that targetNamespace had to be on the SIB to be > fully effective, but

Re: implementor and implementorClass

2010-10-12 Thread Benson Margulies
I guess this goes onto the list of CXF JAX-WS extensions that we need to document: that SIB-only annotations work on the SEI. I could have sworn that I proved that targetNamespace had to be on the SIB to be fully effective, but I guess I was wrong. On Tue, Oct 12, 2010 at 12:14 PM, jaybytez wrote

Re: implementor and implementorClass

2010-10-12 Thread jaybytez
Thank you both very much for your help. I finally got it to work, I had a bug in my web.xml because I thought I could wildcard context files that exist in jars and that appears not to be valid. I appreciate both your responses. Looks like I can point implementor at the SIB and implementorClass

NPE in CXF with a client API generated with cxf-codegen-plugin

2010-10-12 Thread jean.dat
Hi, In my project I'm using CXF 2.2.9 to consume a wsdl (axis server). See in attachment the wsdl. We use maven plugin cxf-codegen-plugin to generate a client API. When invoking web service with this API, I got a NullPointerException in CXF code. Any idea ? Thanks for any help. Following are

Re: AW: WSDL-first CustomServer example as OSGi bundle

2010-10-12 Thread Markus
Hi Christian, thanks a lot. I added javax.activation, javax.xml.bind, javax.xml.bind.annotation, javax.xml.bind.attachment and org.apache.cxf.jaxb.attachment to my Import-Package list and javax.activation to org.osgi.framework.bootdelegation and now it (nearly) works. I now can invoke the methods

Re: [ANNOUNCE] Apache CXF 2.3.0 released!

2010-10-12 Thread S. Ali Tokmen
Hello The fact that CXF 2.3.0 now uses dependencies to Spring version 3 actually saved my life in all projects using Grails. Thank you! S. Ali Tokmen savas-ali.tok...@bull.net Office: +33 4 76 29 76 19 GSM:+33 66 43 00 555 Bull, Architect of an Open World TM http://www.bull.com On 11

Re: SDO support in CXF 2.3 for REST

2010-10-12 Thread Sergey Beryozkin
Hi On Tue, Oct 12, 2010 at 11:47 AM, Koganti, Naga wrote: > Hi, > > > > Is there any support of SDO in REST services of CXF, I know that SDO > support for WS is there. Can anyone let me know the support of SDO data > binding is there for REST or not. > > > Yes, it reuses CXF SDO Databinding, ple

SDO support in CXF 2.3 for REST

2010-10-12 Thread Koganti, Naga
Hi, Is there any support of SDO in REST services of CXF, I know that SDO support for WS is there. Can anyone let me know the support of SDO data binding is there for REST or not. Thanks, -Nagamohan

Re: newbie : using CXF client to HTTP POST to java Servlet

2010-10-12 Thread Sergey Beryozkin
Hi Please see http://cxf.apache.org/docs/jax-rs.html#JAX-RS-ClientAPI alternatively JAXWS Dispatch should also work for you... Sergey On Mon, Oct 11, 2010 at 8:36 PM, Parimal Dhinoja wrote: > Hello Guys, > > I am newbie to Apache CXF. I have a requirement to Http POST third party > web > appl

Re: How to configure the HTTPS in the jax-rs restful webservice based on tomcat ans spring

2010-10-12 Thread Sergey Beryozkin
Hi, Redirecting the users list... Please see http://svn.apache.org/repos/asf/cxf/trunk/distribution/src/main/release/samples/jax_rs/spring_security/ and http://svn.apache.org/repos/asf/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/ cheers, Sergey On Tue, Oct 12, 2010 at

[cxf-2.2.9] Retrieve method invoked via interceptor.

2010-10-12 Thread Gabo Manuel
Hi All, I am already able to retrieve the endpoint using the following: Exchange exchange = ...;// retrieved from message exchange.getEndpoint().getEndpointInfo().getName() I was wondering if it is possible to retrieve the actual service method invoked. Am doing all this at a registered out i

AW: WSDL-first CustomServer example as OSGi bundle

2010-10-12 Thread Schneider Christian
Hi Markus, I also had this problem. You need to import all annotation packages in your bundle. So simply look at the import statements in your generated code and make sure you also import these in the manifest. Best Regards Christian Christian Schneider Informationsverarbeitung Business S

Re: Configuring Web-Services in CXF-DOSGi

2010-10-12 Thread Sergey Beryozkin
Hi Ronald as a side note, if annotations are ignored by say CXF JAXWS or JAXRS runtime then it means that are simply not visible, which is an OSGI-level issue; But if you;re talking about a @wsdlLocation annotation then perhaps indeed you'd be better off with updating a WSDL handler in CXF DSW fo