Hi,
I just check the stack trace , current CXF trunk add a null pointer
checker at that point , can you try the latest SNAPSHOT?
If you want to use the ServletTransport with the simple front end API,
you still need to add the CXFServlet into you web.xml.
The cxf-servlet.xml just contains the
I guess I'm interesting in seeing any code that could be shared between
users come into CXF. Specifically, if I remember correctly from the
solutions that I've seen, the WS-Security integration in particular
takes an extra bit of coding. Would be very happy to include your
contributions.
I'm getting ClassCastExceptions from within a dynamically created proxy
when using CXF as a client against a webservice. The WSDL for the
service is attached, but some parts are shown here:
message name='InvoiceDS_getInvoiceData'
part element='tns:getInvoiceData' name='parameters'/
/message
Something like the following? It's isn't CXF, but it's from the main
function of a plain old java command line that uses Spring to set up
some things.
GenericApplicationContext appContext = new GenericApplicationContext();
XmlBeanDefinitionReader reader = new
XmlBeanDefinitionReader(appContext);
What are you using to generate the jaxb stubs?
Can't the annotations drive it all?
-Original Message-
From: Eric Miles [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 18, 2007 10:00 AM
To: cxf-user@incubator.apache.org
Subject: Re: contract-first with only xsd
Los,
It is just as
This is what we do too.
Generate mapping code from XSD using JAXB, then create endpoints using those
stubs as argument/return value.
You end up controlling the payload of your SOAP requests, which is what is
important.
Cheers,
J-F
-Message d'origine-
De : Eric Miles [mailto:[EMAIL
Hi--
Having gone through the Spring Web Services (SWS) manifesto about
contract-first as well as their sample examples, I wonder how CXF matches up
with SWS. I know that CXF allows contract-first development, but is it as
simple as SWS? For example, with SWS, all I need to do is define the XSD
We're using the Maven2 JAXB plugin. You need stubs for the schema to
manipulate the objects within your endpoint implementation.
On Tue, 2007-09-18 at 10:05 -0400, Mulligan, Patrick wrote:
What are you using to generate the jaxb stubs?
Can't the annotations drive it all?
-Original
I suppose that would be using the JaxMe plugin.
I see there are other toolkits as well to do this. Anyone care to
comment on those?
I guess I was wondering if there was a tool to take the type info, the
annotations, etc, all in one shot?
-Original Message-
From: Eric Miles
On the service endpoints. As I understand it, the annotations on the
classes are mainly done by the compiler from the XSD? I suppose you can
tweak them as well for runtime stuff.
I am exploring the code-first approaches. Like when I use a tool to go
from IDL as a starting point, it generates
Are you talking about the annotations on your JAXB stubs? Or on your
service endpoints?
FWIW, we're not using JaxMe, we're using the JAXB2 maven plugin from
dev.java.net:
https://maven-jaxb2-plugin.dev.java.net/
On Tue, 2007-09-18 at 10:25 -0400, Mulligan, Patrick wrote:
I suppose that would
Hello All,
Please refer to this blog. Seems to be one of the most popular blog. Please
look at the client code! (Test case).
Any ideas? If some one has a complete ACEGI security solution and posts it
it will be Awesome! Ray do you mind posting a complete sample. It will be
greatly beneficial to
Eric,
Do you mind posting a complete example. May be we can have a very
constructive discussions based on that.
Thanks
Matt
BigEHokie wrote:
Dan,
What sort of solution are you looking for? We are using an
Acegi/Spring/CXF implementation at our company where we are using
WS-Security
Hello,
I downloaded the latest snapshot,
apache-cxf-2.1-incubator-20070918.014642-3, I'm still getting the same
error:
java.lang.NullPointerException
at
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpointInfo(AbstractEndpointFactory.java:172)
at
I decided to convert one of my servicemix services over to cxf which was
working great on xfire. I added the cxf wsdl2java plugin for maven like
this:
plugin
groupIdorg.apache.cxf/groupId
artifactIdcxf-codegen-plugin/artifactId
version${cxf-version}/version
Hi,
I've just started to look at CXF, and have successfully managed to
quickly develop/deploy.
The scenario I have is that I will have multiple web services running
in Tomcat, and I want to maintain a session across them. I'm defining
the services using JAX-WS (newbie here too!)
I can
Hello,
i wrote a small webapplikation to display some small webservice results.
but on the first call i got these error
javax.xml.ws.WebServiceException: Cannot create SAAJ factory instance.
org.apache.cxf.jaxws.binding.soap.SOAPBindingImpl.getSOAPFactory(SOAPBindingImpl.java:118)
Exceptions that I throw are not rendered as Fault's to web service clients
even after specifying WebFault annotations on the Exception class. I can
see the ServiceException in the WSDL but the methods themselves are just
ignoring the fact that I'm throwing exceptions. Can anyone point me in the
I cannot seem to get a HashMap to work as a parameter when making a web
service call via PHP. Has anyone else experienced this? I want to
encapsulate my parameters in a more complex object that extends HashMap.
Regards,
Kaleb
Sorry, I wasn't clear. You only need the .aegis.xml if you don't like
what Aegis comes up with on its own. It will come up with Something for
a map. I'll look into what it does.
-Original Message-
From: kayteeem [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 18, 2007 8:54 PM
To:
Hmm. Let me check the inventory of test cases.
-Original Message-
From: kayteeem [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 18, 2007 8:55 PM
To: cxf-user@incubator.apache.org
Subject: RE: Map contains no data when returned from remote call -
Aegis
databinding - empty Map?
Searching through the forum, it seems that no-one else seems to have issues
with returning java.util.Map.
Is this true? Is anyone returning a Map from CXF with no issues?
I think this is a known issue with BEA Weblogic 9.2 then, from there web
site:
Weblogic Workshop 8.1 supported returning the
I have a bean property which is a List that doesn't seem to be marshaling in
correctly. When the array is empty in the soap request and xsi:nil=true,
the List is being set with a single null item. Multiple items are passed in
correctly.
wsdl snippet:
xs:element maxOccurs=unbounded minOccurs=0
When I expanded an existing test case to send some data containing a
map, it failed. See CXF-1036. I'm not 100% sure that I did the test case
correctly, but I'm reasonably clear. More news as I get it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Ok, I see the tricks. MultipleEndpointObserver only steps in when there are
more than one endpoint registered on the same address. MultipleEndpointObserver
is the one who initializes the endpoint set. So the config below works:
bean id=aegisBinding class=
Hi Matt
I did not see any url in your mail below :(.
Could you send them again ?
Willem.
mattmadhavan wrote:
Hello All,
Please refer to this blog. Seems to be one of the most popular blog. Please
look at the client code! (Test case).
Any ideas? If some one has a complete ACEGI security
Jaxb is quite plugable, you can use XmlTypeAdapter to marshal/unarshal
to/from HashMap
James
HashMap is not supported by JAXB binding. More discussions about this can be
found from
http://www.nabble.com/DataBinding-problems-%28Timestamp-and-HashMap%29-using-JAXB-tf4283645.html#a12193877
FYI , this blog shows you how to use HashMap in the JAXB.
http://weblogs.java.net/blog/kohsuke/archive/2005/04/xmladapter_in_j.html
Willem.
James Mao wrote:
Jaxb is quite plugable, you can use XmlTypeAdapter to marshal/unarshal
to/from HashMap
James
HashMap is not supported by JAXB binding.
I can give you more information on this (you probably already know), in
java2wsdl, if we detected there's java.util.Date, java.util.Calendar,
we will generate the binding file automatically, so if you generate the
stub from the generated wsdl and binding files, you got the DateAdapter
already.
Which version of cxf are you using? I would suggest try the 2.0.2 [1]
If the problem still there, then, you should file an issue in jira, and
mark the affected version as 2.0.2, and we will fix it for 2.1
Regards,
James
[1] http://people.apache.org/~dkulp/stage_cxf/2.0.2-incubator-take2/
moraleslos wrote:
Hi--
Having gone through the Spring Web Services (SWS) manifesto about
contract-first as well as their sample examples, I wonder how CXF matches up
with SWS. I know that CXF allows contract-first development, but is it as
simple as SWS? For example, with SWS, all I need to
31 matches
Mail list logo