Dan ,
thanks a lot for the input response. But when I generated the client with
using Wsdl2Java i am getting
the client as follows(below code snippet). Is there anything wrong in my
wsdl (see my prev posting).
It would be great help if you giude me ,
public final class
Hi,
I'm using cxf 2.2 to provide a REST Service which produces XML and JSON. I
have a Dto which contains two String fields and two fields of type
VectorString.
What happens is, that all fields, that are declared after the first vector,
are returned as elements of this vector.
Example:
Hi All,
I have a service deployed using CXF and was planning to test it using a
CXF client as well. Attached is a zip file containing the service and
the wsdl generated.
However, when I issue the following:
D:\java\cxf\apache-cxf-2.2\binwsdl2java -ant -client
-autoNameResolution -exsh true
Hello All,
I am working on web service that should support SSL (the requirement is to
publish webservice using port 443).
I have following server-config.xml
beans xmlns=http://www.springframework.org/schema/beans;...
http:conduit
Hi Gabo
Just to add, the exception does not have a cause. fault.getCause() returns
null. :(
I think it's because in this case (no appropriate constructor or factory nethod is available) the RuntimeException you get is the
original WebApplicationException and thus there's no cause is
Hi Gabo
By the way, a WebApplicationException instance which is thrown in this case
contains Response object with the message.
Perhaps you might want to provide both RuntimeException and WebApplicationException mappers or explicitly check in the
RuntimeException mapper if it's
Are you running on Linux perchance?
AFAIK most *nix variants disallow non-root users from listening on ports
less than 1024.
To avoid running your server with root privileges, you can use xinetd to
re-direct any traffic from the standard SSL port 443 to some other port
1024.
Cheers,
Eoghan
Hi Gabo
NPE is always a bug - so I need to investigate.
Can you please post the spring configuration which you use (in sample form but
with the same relationships between beans, etc...) ?
And a sample MyService bean ?
By the way is there any chance that spring 2.0.6 is still hanging around
Hi Gabo
It apperas that the root cause of it is that a subresource method is invoked
and it returns null.
Now, JAXRSInvoker does check for 'null' but I can see now that the check is faulty, as the null is wrapped in a CXF specific wrapper
initiallyI'll update the code nowCan you
I am having problems generating client code from a WSDL, which I suspect may
be because the WSDL imports a schema which has a targetNamespace which
includes a port number.
the WSDL types:
types
xsd:schema
xsd:import namespace=http://www.biomart.org:80/MartServiceSoap;
Hi Sergey,
Thanks for your reply.
I tried the ParameterHandler way by creating a ArrayParamHandler class for
my Integer[].
public Integer[] fromString(String ids) {
String[] idsArr = ids.split(,);
return getIntArr(idsArr);
}
private Integer[] getIntArr(String[] arrStr) {
Hi
What CXF version are you using ? Support for ParameterHandlers should be
available in 2.1.4.
How are you registering it ?
thanks, Sergey
- Original Message -
From: subh sube...@aol.com
To: users@cxf.apache.org
Sent: Wednesday, March 25, 2009 3:38 PM
Subject: RE: Passing array as
Hi,
I got it working. I forgot to change the @PathParam to String.
Thanks for your help.
Rgds
Subh
subh wrote:
Hi Sergey,
Thanks for your reply.
I tried the ParameterHandler way by creating a ArrayParamHandler class for
my Integer[].
public Integer[] fromString(String ids) {
OK Dan, I finally got back to this problem I was having and thought I would
post what I've found in case you have a simple solution. Spring property
resolution works fine for http:client http:proxyAuthorization and
http:tlsClientParameters as you said...however...
What I found is that having a
Hi,
I'm sorry for a very late reply - hope you've found all the info you need in
the CXF docs.
Another possible source is the system tests and demos in the source tree.
here is what I'm working with :
CXF2.1.4(JAX-RS; JAX-WS); ActiveMQ(as JMSImplementation);
It's an interesting
Hi,
I'm trying to get session in the web service implementation class. But I'm
webservicecontext is coming as null.. The class and the configuration is as
below. How can i get the session or session cookie? It will be great if
anyone can provide some help or some example.
***class*
Hi Benson
Aegis does not implement a specification. There is no compliance test.
Every time we change anything in Aegis, we are likely to change the
mappings. As a result, the safe policy is to use Aegis as a client
only when the two ends of the connection have exactly the same version
of CXF.
Has anyone integrated CXF and JAMon (http://jamonapi.sourceforge.net/)
successfully? I would like to track web service hits using JAMon but I don't
know where to *centralize* the code. We are converting an existing XML over
HTTP app to SOAP using CXF. In the current app we have a central point
Can it be done programatically on the server side? The problem is the client
doesn't want Spring, they are an ATG shop. So I need to enable validation
without using the spring config.
thanks
dkulp wrote:
On May 27, 2008, at 5:48 PM, Bharath Thippireddy wrote:
Can this be done
This is a VFAQ: http://cxf.apache.org/faq.html
2009/3/25 dave sinclair dsincl...@chariotsolutions.com:
Can it be done programatically on the server side? The problem is the client
doesn't want Spring, they are an ATG shop. So I need to enable validation
without using the spring config.
On Wed March 25 2009 2:28:32 pm jeffrey.constan...@cox.com wrote:
Has anyone integrated CXF and JAMon (http://jamonapi.sourceforge.net/)
successfully? I would like to track web service hits using JAMon but I
don't know where to *centralize* the code. We are converting an existing
XML over HTTP
That is using a Spring configuration of an endpoint. I need to do it without
using Spring.
Andrew Clegg-2 wrote:
This is a VFAQ: http://cxf.apache.org/faq.html
2009/3/25 dave sinclair dsincl...@chariotsolutions.com:
Can it be done programatically on the server side? The problem is the
What version of CXF are you using? I just tried with 2.2 and modified the
wsdl_first sample to put :80 on the schema targetNamespace and it properly
resulted in the soap message:
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Body
sayHi
Hmmm... in RPC/Lit, those checks shouldn't be applying. The zip got
stripped off by Apache's mailer. Could you file a JIRA and attach?
Thanks!
Dan
On Wed March 25 2009 5:55:20 am Gabo Manuel wrote:
Hi All,
I have a service deployed using CXF and was planning to test it using a
CXF
Alright, I dug into this one a bit more and learned that this is one of the
features they are trying to fix in Spring 3.*. For now, I will post my
solution so that others may benefit...
CXF has a solution for turning off schema validation if you are using their
application context. Since I
On Wed March 25 2009 2:35:48 pm dave sinclair wrote:
Can it be done programatically on the server side? The problem is the
client doesn't want Spring, they are an ATG shop. So I need to enable
validation without using the spring config.
Without spring, how are you creating your endpoints? I
I'm porting an application from XFire to CXF. The XFire implementation was
a code-first design with a customized serializer for one of the types.
That code obtained a reference to the type registry using this Spring
reference:
xfire.typeMappingRegistry
and then registered a custom type with
I'm trying to deploy CXF-based webservices on Apache Felix. I've got
almost everything working, thanks to the generous help of Guillaume
Nodet (thanks again!). The one piece I haven't figured out is how to
configure a JAX-WS endpoint to use the existing osgi http service (I'm
using Pax).
hello ,
can you anybody give a hint on this?
regards
Brijesh N K
brijesh wrote:
hello ,
I have generated cxf client using wsdl2java, wsdl as follows.
?xml version='1.0' encoding='UTF-8'?wsdl:definitions name=NotifyEvent
targetNamespace=http://www.ekaplus.com/NotifyEvent/;
29 matches
Mail list logo