Re: CXF 2.2.x uses Spring 2.5.5 as opposed to 2.5.6, any reason not to use 2.5.6?

2009-09-17 Thread Sergey Beryozkin
Hi Dan, In this specific case it was to do with the fact the user code used a JAXRS FormParam annotation but the request media type was application/json, so the runtime naively assumed it was a multipart/form-data request. I''m about to add an extra protection check... I know Sergey made

Re: Problem with GZIP and mtom attachments

2009-09-17 Thread Vitaly Litvak
Thanks for your answer. I've submitted a bug https://issues.apache.org/jira/browse/CXF-2440 here with my small test case attached. After some testing I noticed that it reproduces only on client side. On the server side everything works fine (the file is downloaded, unpacked and read

Re: Distributed OSGi – A Simple Example

2009-09-17 Thread David Bosschaert
Hi Miguel, (copying users@cxf.apache.org) Yes, you can return certain objects, have a look at the Greeter Demo on the CXF-DOSGi wiki: http://cxf.apache.org/distributed-osgi-greeter-demo-walkthrough.html It has the following Service Interface: public interface GreeterService {

How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread Jim Talbut
Hi, I hope this is a simple question, but I'm new to CXF. I have a CXF web service running with Spring and created from a WSDL document via the maven plugin. I need this web service to respond on a different HTTP port - I will have lots of web services and they all need to be on different

Re: Distributed OSGi – A Simple Example

2009-09-17 Thread Miguel
thank you very much for the quick answer, in my case the data object contains setters and getters (you can see it below this lines) and I get a null pointer error: java.lang.NullPointerException at org.coderthoughts.auction.client.Activator.printServiceInfo(Activator.java:35) at

Re: Distributed OSGi – A Simple Example

2009-09-17 Thread David Bosschaert
Hi Miguel, So I guess you're using a modified version of that tutorial. Could it be the case that something else in the Activator is null? Could you send your version of the Activator class? David 2009/9/17 Miguel m...@moviquity.com thank you very much for the quick answer, in my case the

Re: Distributed OSGi – A Simple Example

2009-09-17 Thread Miguel
yes, I modified the tutorial to return a data Object. I have just seen the error. It was a problem of the implementation, a code line resulted null and this was the value returned. Ohh, I m really sorry for the inconveniences. thank you very much David. best regards, Miguel On Thu,

Re: How do I specify SOAP Address Location using maven cxf-codegen-plugin?

2009-09-17 Thread dahoffer
Did you find a solution to this? I have the same issue, seems to cause problems for PHP clients. sgomez wrote: Hi. I'm using the Maven cxf-codegen-plugin to generate a WSDL from a few Java classes. Everything works OK except for the soap:address location, that always has the same value:

RE: How do I specify SOAP Address Location using maven cxf-codegen-plugin?

2009-09-17 Thread Pydipati, Karuna
Regarding customization url and port, I did the following way. It may be helpful (Any way, I am using cxf with spring and Java-first approach) STEP 1: Have cxf.xml file as mentioned below ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans;

Re: How do I specify SOAP Address Location using maven cxf-codegen-plugin?

2009-09-17 Thread Glen Mazza
Note #2 here: http://www.jroller.com/gmazza/entry/creating_a_wsdl_first_web1#notes ? HTH, Glen dahoffer wrote: Did you find a solution to this? I have the same issue, seems to cause problems for PHP clients. sgomez wrote: Hi. I'm using the Maven cxf-codegen-plugin to generate a

RE: How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread KARR, DAVID (ATTCINW)
-Original Message- From: Jim Talbut [mailto:jtal...@spudsoft.co.uk] Sent: Thursday, September 17, 2009 4:01 AM To: users@cxf.apache.org Subject: How can I configure a CXF web service to listen on a specific port? Hi, I hope this is a simple question, but I'm new to CXF. I

Re: How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread Jim Talbut
KARR, DAVID (ATTCINW) wrote: I hope this is a simple question, but I'm new to CXF. I have a CXF web service running with Spring and created from a WSDL document via the maven plugin. I need this web service to respond on a different HTTP port - I will have lots of web services and they all need

Re: gSOAP client failing to call Apache-CXF/XFire server...

2009-09-17 Thread sbrock
This did the trick, changing the default qualifiers, in the package-info.java file, from unqualified to quailified did the trick. The client is now sending and receiving messages from the web service. The reply is being properly parsed as well. Thank you, everyone, for your assistance; it is

Re: How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread Jim Talbut
Unfortunately that doesn't help. The main point of #2 is that the port and URL are specified by the container, which is no good for me. And the publishedEndpointUrl doesn't work unless Tomcat is configured with that as a connector - in which case it responds on that port for all web services

RE: How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread KARR, DAVID (ATTCINW)
-Original Message- From: Jim Talbut [mailto:jtal...@spudsoft.co.uk] Sent: Thursday, September 17, 2009 11:48 AM To: users@cxf.apache.org Subject: Re: How can I configure a CXF web service to listen on a specific port? Unfortunately that doesn't help. The main point of #2 is that

Re: How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread Daniel Kulp
On Thu September 17 2009 2:47:56 pm Jim Talbut wrote: Unfortunately that doesn't help. The main point of #2 is that the port and URL are specified by the container, which is no good for me. And the publishedEndpointUrl doesn't work unless Tomcat is configured with that as a connector - in

Re: How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread Stan Lewis
On Thu, Sep 17, 2009 at 2:47 PM, Jim Talbut jtal...@spudsoft.co.uk wrote: Unfortunately that doesn't help. The main point of #2 is that the port and URL are specified by the container, which is no good for me. And the publishedEndpointUrl doesn't work unless Tomcat is configured with that as

Re: How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread Jim Talbut
Daniel Kulp wrote: You could definitely do this. In your application context, import META- INF/cxf/cxf-extension-http-jetty.xml instead of the cxf-servlet. Any jaxws:endpoint things, use a full URL (http://blah:8081/Foo) or whatever and CXF should bring up jetty on that port and put the

URIMappingInterceptor and ServletController

2009-09-17 Thread Roger Abelenda
I think that I found a bug in line 251 of URIMappingInterface (version 2.2.3). When a parameter is specified in a URL of a web service without a value (like : http://localhost/myws?param1=val1param2=param3=val3) the code throws an exception of array out of index, I think that a solution is to put

Re: How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread Benson Margulies
Why are you using tomcat at all if you don't want it to control the endpoint? Why not just launch the endpoint from a plain Java main via the embedded jetty? On Thu, Sep 17, 2009 at 3:16 PM, Jim Talbut jtal...@spudsoft.co.uk wrote: Daniel Kulp wrote: You could definitely do this. In your

Re: How can I configure a CXF web service to listen on a specific port?

2009-09-17 Thread Jim Talbut
Benson Margulies wrote: Why are you using tomcat at all if you don't want it to control the endpoint? Why not just launch the endpoint from a plain Java main via the embedded jetty? Because when I have 100+ endpoints I want to have a place where I can see them all; start and stop them all;