I understood that I can register an interceptor like this:
I have a Karaf container that hosts a number of Web Services, each has it's
own CXF bus. Now I'd like to activate my Interceptor for all those Web
Services. How can I do this? How can I
,
André Costa Lima
2015-06-07 15:40 GMT+01:00 Frizz frizzthe...@googlemail.com:
I have published a Web-Service in Tomcat with cxf-servlet.xml
jaxws:endpoint id=myService
implementor=#MyServiceImpl address=/MyService
/jaxws:endpoint
So far, so god.
Now I wanted
I have published a Web-Service in Tomcat with cxf-servlet.xml
jaxws:endpoint id=myService
implementor=#MyServiceImpl address=/MyService
/jaxws:endpoint
So far, so god.
Now I wanted to add a CXF ServerLifeCycleListener, but it seems this has to
be done BEFORE the service is
. ...
Is this really true? I mean if I have to provide a SAML token AND a
UsernameToken (or X.509 cert) this kinda contradicts the idea of an STS, no?
On Sun, Feb 22, 2015 at 5:53 PM, Andrei Shakirin ashaki...@talend.com
wrote:
Hi Frizz,
Very briefly: in case of asymmetric binding, client signs parts of request
I'd like to use CXF STS in an X.509 authentication based scenario. What I
don't understand right now is how it does proof-of-possession. I mean
anyone can present a certificate to the STS - it does not mean that she has
the private key.
How does this work in CXF?
.
cheers,
Frizz
of CXF (2.7.x and 3.0.x)
in one Karaf container?
cheers,
Frizz
, Security));
}
}
public SetQName getUnderstoodHeaders() {
return HEADERS;
}
Colm.
On Thu, Jun 26, 2014 at 8:45 AM, Frizz frizzthe...@googlemail.com wrote:
I have a Consumer that sends messages with Security enabled, so something
like this:
soap:Envelope xmlns:soap=http
I have a Consumer that sends messages with Security enabled, so something
like this:
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
...
wsse:Security xmlns:wsse=
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;
I have a custom interceptor. In case the SoapMessage is an Exception, I'd
like to skip all my other interceptors and return a SOAP Fault.
public void handleMessage(SoapMessage message)
...
if (message.getContent(Exception.class)!=null) {
skip other interceptors and return SOAP Fault
}
...
Is
I have defined a WS client in an XML file like this:
beans ...
jaxws:client name={http://www.example.org/contract/DoubleIt
}DoubleItService
jaxws:properties
entry key=myKey value=12345/
/jaxws:properties
/jaxws:client
/beans
How can I access jaxws:properties in a CXF
Hi there,
I am using CXF 2.7.7. I have a WSDL that is correct and valid (imho).
But when running wsdl2java it doesn't seem to like the 'message' attribute
in my binding/operation definition.
Here is the error message from wsdl2java:
WSDLToJava Error: org.apache.cxf.wsdl11.WSDLRuntimeException:
Hi,
I have a similar problem, so I would also be interested to know more
technical details. Especially about this choice/sequence thing.
I have a WSDL file with the following content:
...
xsd:complexType name=Scenario mixed=true
xsd:sequence
xsd:element name=Description
I have a WSDL with the following content:
...
xsd:complexType name=Scenario mixed=true
xsd:sequence
xsd:element name=Description type=xsd:anyURI minOccurs=0/
xsd:any namespace=##other minOccurs=0 maxOccurs=unbounded
processContents=lax/
/xsd:sequence
xsd:anyAttribute
? Or or or ...
cheers,
Frizz
Thanks for your reply Dennis.
The more I tinker with WS-RM the more I come to the conclusion that this
reliable messaging should NOT be handled on the transport level - but on
the business level.
I don't want to start a religious war here ... and it's more of a gut
feeling anyway - but: do you
Hello,
I have an Interceptor. So in the handleMessage() method I get an object of
type org.apache.cxf.message.Message.
Is there an example on how to get meaningful information out of this
object? I am especially interested how to figure out what's a SOAP and
what's REST call.
regards,
F.
Hello,
I have an Interceptor like this:
public void handleMessage(Message msg) throws Fault {
BindingOperationInfo binding =
msg.getExchange().getBindingOperationInfo();
if (binding != null) {
String requestUri = (String)msg.get(Message.REQUEST_URI);
Session session
Hi,
I've just added an IN and an OUT interceptor to the CXF bus. That works.
My IN interceptor is for Phase.PRE_INVOKE.
In my IN interceptors handleMessage(Message msg) method I try to figure out
whether it's a REST or a SOAP message. But the REST_MESSAGE property is
always null.
=org.apache.cxf.buslifecycle.BusCreationListener /
...
On Tue, Sep 10, 2013 at 10:17 PM, Sergey Beryozkin sberyoz...@gmail.comwrote:
Hi
On 10/09/13 21:09, Frizz wrote:
Hi,
I've just added an IN and an OUT interceptor to the CXF bus. That works.
My IN interceptor is for Phase.PRE_INVOKE.
In my
context.
What's the correct way to figure out if my message is JAX-WS or JAX-RS?
On Tue, Sep 10, 2013 at 10:17 PM, Sergey Beryozkin sberyoz...@gmail.comwrote:
Hi
On 10/09/13 21:09, Frizz wrote:
Hi,
I've just added an IN and an OUT interceptor to the CXF bus. That works.
My IN interceptor
21 matches
Mail list logo