The handler is registered as an object on the bus. You can register yours
instead.
On Fri, Oct 23, 2009 at 6:19 PM, vickatvuuch wrote:
>
> Some digging led me to the WSDLQueryHandler.updateDoc method.
> I could add my header elements as a sibling of each input element in there;
> now the questio
Some digging led me to the WSDLQueryHandler.updateDoc method.
I could add my header elements as a sibling of each input element in there;
now the question is how can I override WSDLQueryHandler with my
implementation? is it possible to give CXF my derived class that extends
WSDLQueryHandler?
vic
Tried copying that jaxp-api-1.4.2.jar file to the endorsed dir,
unfortunately that caused the WAS server to not be able to startup :S
*sigh*
Craig.
On Fri, Oct 23, 2009 at 1:10 PM, Daniel Kulp wrote:
>
> Was afraid of that. :-(
>
> OK. Couple options.
>
> 1) Somehow endorse the jaxp-api-1.4.
Thanks Sergey, for helping, as always.
But, I am confused a bit here as to how the request is going to be delegated
to any of subresourceclass
handler.
Do we assume that getItemHandler method will do the delegation?
If yes, can you please help me understand how?
And will it handle following
I am trying to write a simple hello world web service using CXF and the
Spring-DM Server in Eclipse. Right now, I just want to see an auto-generated
wsdl so that I know it is working. I have been playing with this for a
couple of weeks now, and have hit a wall. Any assistance that could be given
w
Was afraid of that. :-(
OK. Couple options.
1) Somehow endorse the jaxp-api-1.4.2.jar as that is where that class lives.
2) Use java 6 which I believe has that class built in
3) Remove the jaxp-ri jar and saaj jars entirely. The version of SAAJ built
into WAS may work. If using Java6,
Hi CXF gurus!
I need to add a custom header element to all my endpoints as a place for
client to stick a session token.
For example I need to add this message xml element once:
and a chunk of xml in bold below, to every port and every operation:
http://schem
Ok, got further. Now I'm getting:
===
[10/23/09 12:18:28:899 CDT] 002b WebAppE [Servlet
Error]-[CXFServlet]: java.lang.NoClassDefFoundError:
javax.xml.transform.stax.StAXResult
at
com.sun.org.apache.xalan.internal.
Hi
you can have something like
public class BaseRESTResource {
@Path("{id}/{action}")
public CatalogueItemHandler subresourceLocatorItemHandler(@PathParam("id") int id,
@PathParam("action") String action) {
CatalogueItem item = findItem(id);
CatalogueItemHandler handler = getItemHandler(
Thanks all for the suggestions.
I ended up going the PhaseInterceptorChain route:
In spring config (injected as Message or even Map type)
adrian
dkulp wrote:
>
>
> Easiest is to just grab the raw message:
>
> PhaseInterceptorChain.getCurrentMessage()
>
> and pu
Try removing or endorsing:
jaxp-api-1.4.2.jar
That should be built into the JDK/WAS. And that would certainly conflict
with:
xmlParserAPIs-2.6.2.jar
which should be removed.
You also have:
> stax-api-1.0-2.jar
> geronimo-stax-api_1.0_spec-1.0.1.jar
which are both the same thing basically.
Been having a heck of a time getting my CXF application running on WAS
6.1.0.19. After getting this error:
Error 500: Error creating bean with name 'chirophysioEndpoint':
Invocation of init method failed; nested exception is
java.lang.IncompatibleClassChangeError
Followed the instructions listed
My thoughts got a little garbled while writing so let me rephrase that:
If using JBoss with CXF integrated, you need to put the jetty /
jetty-util jars in the deployers/jbossws.deployer directory otherwise
you will get a ClassNotFound exception while CXF tries to initialize the
client endpoint
Thank you Daniel, it works as advertized.
One extra note to anybody using JBoss to do this: You will need to
manually add the Jetty to JBoss' CXF integration deployer as discussed
in the following topic of the JBoss forum:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162775
Daniel
2009/10/22 Daniel Kulp
> On Thu October 22 2009 3:31:15 am Kent Närling wrote:
> > In a CXF webservice implementation on the server, is there any way of
> being
> > able to log/track wether the client received the response?
> >
> > eg. to only do a final commit on a transaction after the response
Hi,
I am using the NON SPRING CXF-2.2.2 REST implementaion. My web.xml looks
like this:
===
CXFServlet
CXF Servlet
org.apache.cxf.jaxrs.servlet.CXFNonS
Hi
Few weeks ago, while looking at the issue reported against deploying the jaxrs services I also tested the deployment of jaxws
services and I updated the reference guide a a result.
I had no problems with updating a greeter demo to use JAXWS - note that you have to ensure JAXWS and/or JAXB a
Hi guys,
I have a problem configuring a DOSGi/CXF service to use JAXB databinding and
JAX-WS frontend. I have set the following bundle registration properties in
the service activator as described on the DOSGi/CXF reference page
(http://cxf.apache.org/distributed-osgi-reference.html):
1) org.apa
Dan
Ok - so I switched back to using the Spring Framework's XMLValidator instead
of SAXParser. I had switched to SAXParser because I couldn't customize
XMLValidator. But using it combined with adding the
schema-validation-enabled property to my spring.xml means it checks the
schema of the Soap b
19 matches
Mail list logo