Hi all,
I'm digging into including SPNEGO support for the web services (based on
CXF 2.2.4) I'm implementing.
On server side, using 'Servlet Transport
http://cxf.apache.org/docs/servlet-transport.html', it shouldn't be an
issue since handling of (SPNEGO) authentication is performed by Tomcat.
On
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 has been
sent in full to the client?
I know this would never be perfect, but it should be at
Hi,
please do
inMessage.getExchange().put(KEY, obj);
and
outMessage.getExchange().get(KEY);
cheers, Sergey
- Original Message -
From: vickatvuuch vlisov...@gmail.com
To: users@cxf.apache.org
Sent: Wednesday, October 21, 2009 10:13 PM
Subject: How-to pass an object from InInterceptor
Hi
For changing the port please update etc/system.properties (sorry, not
etc/config.properties):
org.osgi.service.http.port=9090
'cxf' context :
You can add an
org.apache.cxf.osgi.cfg to /etc directory and set the
'org.apache.cxf.servlet.context' property to say '/' or '/custom' and it
Hi
So, say that my container is helpfully running multiple threads and thus
calling into my service on multiple threads. What happens when there is
request-specific stuff to inject?
In particular, for JAX-RS:
@Context
private org.apache.cxf.jaxrs.ext.MessageContext messageContext;
dkulp wrote:
This isn't an Aegis issue I don't think.
First off, can you try 2.2.4? There are a couple MTOM bugs fixed in
2.2.4,
mostly around streaming, but it's possible it affects this.
Next, any chance you can wireshark the transfers for both 2.2.4 and 2.1.3?
I'd like
Sergey,
Thanks, that's what I ended up doing.
Sergey Beryozkin-2 wrote:
Hi,
please do
inMessage.getExchange().put(KEY, obj);
and
outMessage.getExchange().get(KEY);
cheers, Sergey
- Original Message -
From: vickatvuuch vlisov...@gmail.com
To: users@cxf.apache.org
Thank you Sergey, I got it working with your advice, do you think it should
be added to the project wiki? or is it already there?
On Thu, Oct 22, 2009 at 4:25 AM, Sergey Beryozkin sbery...@progress.comwrote:
Hi
For changing the port please update etc/system.properties (sorry, not
Sounds like a good idea. Can you please open a ServiceMix4 JIRA ? Or post this
suggestion to the service mix users list ?
I've updated ReadMe(s) for demos like cfx-osgi and cxf-jaxrs, but I didn't get to updating the ServiceMix wiki.
By the way you can also edit the alias by using the shell
We probably should have a child page of:
http://cxf.apache.org/docs/transports.html
that at least briefly describes the OSGI transport. The stuff about the
context changing is specific to the CXF transport and could/should be
described at cxf. That could apply to any OSGi runtime.
The
Dan,
Thanks, but it looks like the internal variable does the same thing (put the
values in the HTTP headers). This is not ideal, but I can change my code on
the server side to start reading headers.
Thanks
--
View this message in context:
Hey All,
I'm trying to access the MessageContext (or WebServiceContext) in an aspect
to get access to the HTTPServletRequest for logging purposes. I would like
to inject the context like I did for spring-ws but I have not found a way to
do it. Here is what I used for spring-ws:
beans:bean
Hi
At the moment I can think of the following hack:
have the service endpoint bean injected with (jaxws)WebServiceContext or (jaxrs)MessageContext, and also have a simple bean called,
say, ContextHolder injected into the service endpoint bean too. Next, have @PostConstruct method in the
Hi there, I'm trying to create a jax-ws inside one of the methods I'm
exposing as web services using cxf:
bean id=emrService class=pe.gob.hndac.ws.EmrServiceImpl
property name=service ref=vfpService/property
/bean
bean id=vfpService
class=pe.gob.hndac.soasighhc.wsdl.Soasighhc/bean
All
Has anyone had any success using LogicalHandlerInInterceptor? I can not find
examples of it in the sample code or any way to use it from the
documentation. Any and all help/pointers would be greatly appreciated!!
Thanks in advance
brenda
--
View this message in context:
There's a test here:
http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/handler/LogicalHandlerInterceptorTest.java?view=markup
Hope that helps
/Dave
On Thu, Oct 22, 2009 at 12:12 PM, Brenda Coulson bren...@dystech.com wrote:
All
Has anyone had any
Dave
thanks - that does help to see how it is invoked, however it is being
invoked from Spring for me. I actually need help writing an interceptor that
derives from this interceptor.
brenda
Dave Stanley wrote:
There's a test here:
Hi, I generated a web service skeleton using wsdl2java from cxf and I want
to use it inside servicemix but this is error produced when I try to, it is
worth mentioning that it works very well called from main as a normal Java
application.
12:01:12,463 | INFO | 13764...@qtp1-1 |
222K downloaded (cxf-rt-databinding-aegis-2.2.3.jar)
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Failed to resolve artifact.
Missing:
--
1)
Do you have the incubator repository mirrored in your nexus thing?
The jaxrs pom has the repository entry for it so it should be found (unless
people.apache.org is down) in the absence of a mirror issue.
Dan
On Thu October 22 2009 1:40:56 pm Benson Margulies wrote:
222K downloaded
I think in principal it will be similar to this demo
cxf/samples/jaxws_handlers/src/demo/handlers/common/LoggingHandler.java
but instead of a SOAPMessageContext, you would be handling a
MessageContext as in the testcase.
/Dave
On Thu, Oct 22, 2009 at 12:21 PM, Brenda Coulson bren...@dystech.com
We're hoping CXF users will actually start seeing some real benefits
from CXF shipping the Abdera, there's a number of ideas about making
Abdera more 'active', this includes simplifying the way users can deal
with Feeds, etc... Watch this space :-)
Sergey
-Original Message-
From: Daniel
Hi,
I have JBoss5.1.0 and i installed jbossws-cxf-3.2.0.GA
and its working correctly. Now I would like to
deploy jax-rs/basic sample to this server. Can someone
help as to what i have to do.
Thanks,
Srini
On Thu October 22 2009 3:43:18 pm William Tam wrote:
Are there any downsides (performance, etc) if I always enable MTOM
even if I don't use MTOM feature?
Yes.If mtom is on, we always setup the mime envelopes and such. Thus,
the messages on the wire a bit bigger (extra set of mime
Is CXF JAXRS included ? If yes then it's the good news, I don't know
actually, I can see from
http://lists.jboss.org/pipermail/jboss-cvs-commits/2009-August/104841.ht
ml
the cxf-frontend-jaxrs dependency is listed - but I don't know if it is
included in the final product.
If yes then you
Easiest is to just grab the raw message:
PhaseInterceptorChain.getCurrentMessage()
and pull the stuff off of there. Would need to use the CXF internal names
(defined on Message), but that's not a major issue.
Dan
On Thu October 22 2009 11:27:34 am Adrian M wrote:
Hey All,
I'm trying
Hmm... that's definitely a strange error. Tracing back through that stack,
the only way a NPE would occur there is if:
Method JaxWsServiceConfiguration.getDeclaredMethod(Class? endpointClass,
Method method)
returns null. However, I cannot see why it would return null on a client.
Umm what are you trying to use LogicalHandlerInInterceptor for? It's
pretty much just used by the JAXWS runtime to invoke the jaxws
LogicalHandlers. It's not really something that anyone would normally be
invoking themselves.
Basically, what are you trying to accomplish? Knowing that
On Thu October 22 2009 4:31:21 pm Brenda Coulson wrote:
That is great to know! I am so confused between the difference between
Interceptors and Handlers and when to use them. Ok so I have a Soap message
that I am trying to ultimately validate. However, there are times when I
may receive a
Dan
This does help enormously. I need to process my options to figure out which
works best. Our system already runs like a dog so performance is a real
issue. Just a quick question - since the Soap message I am receiving is
technically wrong, is there any way to get the validator/parser to choke
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 has been
sent in full to the client?
On Thu October 22 2009 5:08:26 pm Brenda Coulson wrote:
Dan
This does help enormously. I need to process my options to figure out which
works best. Our system already runs like a dog so performance is a real
issue. Just a quick question - since the Soap message I am receiving is
technically
Well, one option may be to look into the http-client code and see if the
SPNEGO stuff is easily pulled out into a
org.apache.cxf.transport.http.HttpAuthSupplier thing.At one point, I did
pull out the DIGEST stuff so digest auth is supported with CXF. I don't know
anything about SPNEGO
Dan
sorry to bother you again - just a little confused. So I am using JAXWS
endpoints and I added the line below to my spring.xml file and it didn't
make a difference. Do I still need to add the interceptor you mentioned
before? Your recent message implies I should be able to acheive what I want
34 matches
Mail list logo