Hi, Phillip,
Have you tried using PolicyReference and classpath? like this:
{code}
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:cxf="http://cxf.apache.org/core";
xmlns:jaxws="http://cxf.apache.org/jaxws";
xmlns:p="htt
Hi,
This exception may because that you had provided a wrong key password (password
for alias). Please check again.
Regards.
Xilai Dai
-Original Message-
From: Giriraj Bhojak [mailto:girira...@gmail.com]
Sent: Thursday, July 10, 2014 5:36 AM
To: users@cxf.apache.org
Subject: Using SSL
Hi,
message.getContextualProperty("myKey")
will works for you.
Regards.
-Original Message-
From: Frizz [mailto:frizzthe...@googlemail.com]
Sent: Wednesday, June 25, 2014 12:23 PM
To: users@cxf.apache.org
Subject: How to access jaxws:properties in a CXF Interceptor
I have defined a WS
Hi,
Did you try with these properties on your JAX-WS provider?
Regards.
Xilai
-Original Message-
From: zsolt.szloboda [mailto:zsolt.szlob...@gmail.com]
Sent: Saturday, June 21, 2014 7:19 PM
To: users@cxf.apache.org
Subject: JAX-WS Provider with a
Hi,
Seems the address in WebClient.create() doesn't match the endpoint which your
REST service exposed:
Available RESTful services:
Endpoint address: http://localhost:7400/ean-services/rs/hotel/v3
WADL : http://localhost:7400/ean-services/rs/hotel/v3?_wadl
Regards.
-Original Message-
F
Regards.
Xilai Dai
-Original Message-
From: Frizz [mailto:frizzthe...@googlemail.com]
Sent: Wednesday, May 21, 2014 4:49 AM
To: users@cxf.apache.org
Subject: wsdl2java - Encountered illegal extension attribute 'message'
Hi there,
I am using CXF 2.7.7. I have a WSDL that is corre
Hi,
Please try with these code:
@Context
private org.apache.cxf.jaxrs.ext.MessageContext mc;
..
String userName = mc.getSecurityContext().getUserPrincipal().getName();
..
Regards.
Xilai Dai
-Original Message-
From: Paul Avijit [mailto:paulavi...@yahoo.com
ntKeystore.jks
Alias: myclientkey
Password: ckpass
-------
Regards.
Xilai Dai
Hi,
Have you already tried to config conduit following the description in
https://cxf.apache.org/docs/client-http-transport-including-ssl-support.html ?
also the TLS Configuration info can be found here:
https://cwiki.apache.org/confluence/display/CXF20DOC/TLS+Configuration
Regards.
Xilai
Hi,
You can distinguish REST and SOAP by Binding type, for example:
boolean isRestMessage(Message message) {
return !(message.getExchange().getBinding() instanceof SoapBinding);
}
Regards.
Xilai Dai
-Original Message-
From: New Groovy [mailto:newtogro...@gmail.com]
Sent: Tuesday
Hi,
Just for your information. We create XXXExceptionMapper class which implements
javax.ws.rs.ext.ExceptionMapper and add it into , for example,
In case bad parameter value, the exception (e.g. IllegalParameterException)
06 PM
To: users@cxf.apache.org
Subject: Re: How to get Subject (user) from jaxrs context
You can cast the mc.getSecurityContext() to a LoginSecurityContext (if this is
applicable). This has a "getSubject()" method.
Colm.
On Tue, Mar 11, 2014 at 6:09 AM, XiLai Dai wrote:
> Hi,
>
>
mc.getSecurityContext().getUserPrincipal().getName());
..
}
}
Seems only the principlal name can be retrieved from MessageContext, how to get
the Subject (user) name from the operation? Thanks!
(CXF 2.7.10 used)
Thanks.
Xilai Dai
Hi, there
We have SAML Token (STS) policy defined as below (saml.policy):
http://www.w3.org/ns/ws-policy";
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702";>
: users@cxf.apache.org; XiLai Dai
Subject: Re: How to set a property to Client after it's created from FactoryBean
On Aug 6, 2013, at 11:14 PM, XiLai Dai wrote:
> Hi, there
>
> I got a quick question: how to set a property value to Client after it's
> already creat
Hi, there
I got a quick question: how to set a property value to Client after it's
already created from an FactoryBean?
ClientFactoryBean clientFactory = new JaxWsClientFactoryBean();
clientFactory. setProperties(...);
Client client = clientFactory.create();
Then, how to add a new property name
Could you try adding to the element in the
WSDL file? And what your callback handler class looks like?
Regards.
Xilai
-Original Message-
From: simonlmartin [mailto:si...@cambridgesemantics.com]
Sent: Thursday, April 25, 2013 6:11 AM
To: users@cxf.apache.org
Subject: Plain text password
riginal Message-
From: Daniel Kulp [mailto:dk...@apache.org]
Sent: Tuesday, April 09, 2013 11:31 PM
To: users@cxf.apache.org; XiLai Dai
Subject: Re: how to add bus extension to the existing bus on the osgi env?
On Apr 9, 2013, at 5:32 AM, XiLai Dai wrote:
> Hi,
> I've trie
day, April 08, 2013 10:38 PM
To: users@cxf.apache.org; XiLai Dai
Subject: Re: how to add bus extension to the existing bus on the osgi env?
This isn't something that's "easy" to do right now, but it is possible.
In your bundle activator, you can do something like:
Hi,
We have a CustomerFactoryBeanListener looks like:
public class RegistryFactoryBeanListener implements FactoryBeanListener {
public void handleEvent(Event ev, AbstractServiceFactoryBean factory, Object...
args) {
switch (ev) {
case CLIENT_CREATED: {
// do something
Hi,
There is a jaxrs server defined like this in spring:
http://common.demo/";
serviceName="serviceNamespace:OrderService">
It works well but will throw ClassCastException when adding wsa:addressing
his ?
Thanks, Xilai
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: Monday, September 03, 2012 9:16 PM
To: users@cxf.apache.org; XiLai Dai
Subject: Re: No any Attachment will throw IndexOutOfBoundsException in
org.apache.cxf.jaxrs.ext.MessageContextImpl
Hi,
The WADL fragment :
..
And code in the implement class:
public Response lookupABC(String str) {
...
List atts = new LinkedList();
return Resp
Hi,
We have a SomethingListener class like this:
public class SomethingListener implements xxx {
private MyObj myObj;
public void setMyObj(MyObj myObj){
this.myObj = myObj;
}
}
And add this class into the META-INF/cxf/bus-extensions.txt of the bundle.
my.SomethingListener::true
is there a
.@apache.org]
Sent: Tuesday, July 10, 2012 11:24 AM
To: users@cxf.apache.org
Cc: XiLai Dai
Subject: Re: How to set wsdlLocation using API
On Tuesday, July 10, 2012 01:47:36 AM XiLai Dai wrote:
> Thanks Dan!
> Really don't understand what the meaning of your codes :(
e.org
Cc: XiLai Dai
Subject: Re: How to set wsdlLocation using API
On Friday, July 06, 2012 01:58:27 AM XiLai Dai wrote:
> Thanks Freeman!
> Is there any Listener can be implemented at the stage of jaxws
> endpoint/client creating?
Not easily, no. You COULD create a Bus lifecycle list
al Message-----
From: XiLai Dai [mailto:xl...@talend.com]
Sent: 09 July 2012 07:22
To: users@cxf.apache.org
Subject: How to register ServerLifeCycleListener/ClientLifeCycleListener accoss
multi cxf bus?
Hi,
There are impls for ServerLifeCycleListener/ClientLifeCycleListener within one
bundle w
Hi,
There are impls for ServerLifeCycleListener/ClientLifeCycleListener within one
bundle with spring configuration:
And there has a Service1 project which has a jaxws:endpoint with spring
configuration like this:
All these bundles can be deployed into OSGi container. My que
e(new
DoubleItImpl());
ep.setWsdlLocation(wsdl.getPath());
ep.publish();
Server server = ep.getServer();
Freeman
On 2012-7-5, at 下午2:17, XiLai Dai wrote:
> Hi,
>
> With spring xml configuration, we can set wsdlLocation like this:
> wsdlLocation="file
Hi,
With spring xml configuration, we can set wsdlLocation like this:
How to set wsdlLocation with API? E.g. I have a ServerLifeCycleListener impl
class:
public class ServiceListenerImpl implements ServerLifeCycleListener{
public void startServer(Server server) {
//set a specific WSDL to s
f using Jetty.
>
> Colm.
>
> On Thu, Jan 19, 2012 at 4:00 AM, XiLai Dai wrote:
>> Hello,
>>
>> We have a jaxws:endpoint defined like this:
>> http://my.org/examples/";
>> id="greeter_Https"
>>
Hello,
We have a jaxws:endpoint defined like this:
http://my.org/examples/";
id="greeter_Https"
implementor="demo.service.Greeter_HttpsImpl"
serviceName="tns:Greeter_HttpsService"
address="/Gree
Hello,
We have a interceptor which is used to get operation name and something else.
It works for most of use cases but not works with the security fault case.
After some debugging, the order of the interceptors like this:
org.apache.cxf.ws.policy.PolicyInInterceptor@4db9dc
(message.getExchan
with a wsp:Optional of "false"?
HTH,
Glen
On 12/30/2011 09:59 PM, XiLai Dai wrote:
> Hi,
>
> We have a service endpoint spring configuration like this:
> implementor= ...>
>
>xmlns:wsa=
Hi,
We have a service endpoint spring configuration like this:
http://cxf.apache.org/ws/addressing"/>
Hello,
We have configured the WS-Addressing policy in the wsdl.
http://localhost:/soap/CRMServiceProvider/"/>
http://www.w3.org/ns/ws-policy";>
http://www.w3.org/2007/02/addressing/metadata";>
Hello,
When I added a interceptor try to get something from Message based on the
samples/jms_spring_config, I got wrong transport type from SoapBindingInfo.
The implementation of the interceptor like this:
public void handleMessage(Message message) throws Fault {
if (message.getExcha
cument) to CXF Message?
Hi Xilai
On Wed, Aug 24, 2011 at 2:44 AM, XiLai Dai wrote:
> Hi, there,
>
> Now, we've implemented a Provide like this:
>
> @javax.xml.ws.ServiceMode(value = javax.xml.ws.Service.Mode.PAYLOAD)
> @javax.xml.ws.WebServiceProvider()
>
Hi, there,
Now, we've implemented a Provide like this:
@javax.xml.ws.ServiceMode(value = javax.xml.ws.Service.Mode.PAYLOAD)
@javax.xml.ws.WebServiceProvider()
public class ProviderBase implements
javax.xml.ws.Provider {
//@javax.jws.WebMethod(exclude=true)
public final Source invok
();
...
}
..
}
Regards
Xilai Dai
-Original Message-
From: Fabio souza [mailto:fabio.nogueira.so...@gmail.com]
Sent: 2011-3-11 (星期五) 23:31
To: users@cxf.apache.org
Subject: How to log service interface name?
Hi,
I am using cxf to build WS solutions and I'd like t
40 matches
Mail list logo