CXF Distributed OSGI and RESTful

2010-05-17 Thread Georgi Dimitrov
Hi People, I was trying to expose one of my OSGI Services as a Restful Web Service (exposing that same service as a SOAP Web Service works). For that purpose I am writing the appropriate informations (e.g. properties) in the sd.xml and remote-services.xml files. But when I try to reach the

CXF's clients

2010-05-17 Thread Dan King
Hi all, Does anyone know what the dependencies are for CXF's clients? I'd like to get only those dependencies relevant to CXF's clients. Also, as an alternative to CXF's built-in clients, has anyone tried Apache's HttpClient? If yes, is it a viable alternative? How difficult was it to setup

Re: CXF Distributed OSGI and RESTful

2010-05-17 Thread Sergey Beryozkin
Hi How does your sd.xml look like (just would like to see the properties). Also make sure that JAX RS api packages are being imported, though there's an option there to avoid importing them... cheers, Sergey On Mon, May 17, 2010 at 1:31 PM, Georgi Dimitrov m...@abv.bg wrote: Hi People, I

Re: Re: CXF Distributed OSGI and RESTful

2010-05-17 Thread Georgi Dimitrov
Hi Sergey, this is the content of my sd.xml: match interface=test.MyService add-property name=service.exported.interfaces value=test.MyService / !-- add-property name=org.apache.cxf.rs.address

RE: CXF's clients

2010-05-17 Thread Tom Gregory
I've used Apache's HTTPClient with very good results. It is straight forward to implement and does everything that I need it to do. I would say that you should look into it. Please note, however, that it is primarily used as a RESTful client with Get, Put, Post, Delete and other methods.

wsdl2java - How to force generated class to include @WebResult annotation for a given operation

2010-05-17 Thread Alain PANNETIER
Hello everyone, Thanks for all the CXF goodies. I have a quicky for wsdl2java experts. I'm following the wsdl first approach and I'm generating my interface from a doc/lit wrapped WSDL I wrote. I've noticed that in some circumstances, the generated methods in the service has a non void return

Re: wsdl2java - How to force generated class to include @WebResult annotation for a given operation

2010-05-17 Thread Alain PANNETIER
Replying to myself. You can have a web result when there is only one return argument. This is considered 2 return arguments (even though there is a public type) xsd:element name=operationResponse type=tns:OperationResponse xsd:complexType name=OperationResponse

Re: CXF Distributed OSGI and RESTful

2010-05-17 Thread Sergey Beryozkin
Hi On Mon, May 17, 2010 at 3:23 PM, yoMrJ m...@abv.bg wrote: Sorry Sergey, something went wrong with my mail :) I suppose that were the !-- tags - they broke partially my stupid mail account :D o0. no problems So here i try anew: this is the content of my sd.xml: service-decoration

Re: how to instantiate MultiValuedMap in jax rs

2010-05-17 Thread Sergey Beryozkin
It is org.apache.cxf.jaxrs.impl.MetadataMap, ex MultivaluedMapString, Object mam = new MetadataMapString, Object(); cheers, Sergey On Mon, May 17, 2010 at 4:36 PM, SaravananRamamoorthy saravanan.ramamoorth...@gmail.com wrote: Hi All, What is the implementation class for MultiValuedMap

BinaryDataProvider

2010-05-17 Thread Kockert, Timo
Hello everyone, I am using JAX-RS and implemented a method that returns files from disk. The response is handled by the BinaryDataProvider because its isWriteable() method returns true for File objects. However getSize() only returns a useful length for byte arrays. I was wondering why that

Re: BinaryDataProvider

2010-05-17 Thread Sergey Beryozkin
Hi On Mon, May 17, 2010 at 5:45 PM, Kockert, Timo timo.kock...@adesso-mobile.de wrote: Hello everyone, I am using JAX-RS and implemented a method that returns files from disk. The response is handled by the BinaryDataProvider because its isWriteable() method returns true for File objects.

FastInfoSet configuration client and server?

2010-05-17 Thread Kessel, Christopher
I'm trying to figure out a few things related to using FastInfoSet: 1) How do I set up our CXF Servlet to use FastInfoSet? 2) How do I set up our SOAP client to use FastInfoSet? 3) Will this work if I also have other SOAP clients that won't be using FastInfoSet? In a nutshell, we have server

DOSGI and XSLTJaxbProvider

2010-05-17 Thread kdog
To use the XSLTJaxbProvider, you must specify some custom properties like outMediaTemplates (etc). However, I am confused how you would use this as a provider for DOSGI. It is my understanding that to use providers where you set properties with DOSGI, you have to register the provider as an OSGI

RE: [Q] dynamic SOAP client

2010-05-17 Thread Vladislav Papayan
Hi, did not get any pointers yet, I am looking at wsdl_first_dynamic_client, but do not quite understand How to map what I have which is Wsdl URL, method name, arg1 value as Object, arg2 value as Object into this example given wsdl url and method name, how to instantiate the following exerpts

Re: DOSGI and XSLTJaxbProvider

2010-05-17 Thread Sergey Beryozkin
Hi On Mon, May 17, 2010 at 8:50 PM, kdog jon_k...@koppedomain.com wrote: To use the XSLTJaxbProvider, you must specify some custom properties like outMediaTemplates (etc). However, I am confused how you would use this as a provider for DOSGI. It is my understanding that to use providers

Path problem.

2010-05-17 Thread rangeli nepal
I have a custom filter and my application was working nice and fine. I had a configuration as shown in beginning section. My class declaration was something like following: Later on since I have to use this filter in many my service, I changed my configuration as shown in end section. Now I

Re: how to instantiate MultiValuedMap in jax rs

2010-05-17 Thread SaravananRamamoorthy
Hi Sergey, Thanks for your response. Regards Saravanan Ramamoorthy Sergey Beryozkin-5 wrote: It is org.apache.cxf.jaxrs.impl.MetadataMap, ex MultivaluedMapString, Object mam = new MetadataMapString, Object(); cheers, Sergey On Mon, May 17, 2010 at 4:36 PM, SaravananRamamoorthy