Hi Willem,
I am currently trying to recreate the problem at home where I am more
flexible in using stuf from the internet.
I have created a small bundle that should act as a client for the
customerservice from wsdl first example. When doing the service call I
get the following problem:
or
Daniel Kulp wrote:
>
> Actually, it's on the WebServiceContext.
>
> context.getUserPrincipal()
>
> Dan
>
I found that just as I got your reply. :)
The problem is that context.getUserPrincipal() also returns a null object so
that doesn't want to work either.
Something fishy is going on he
Hi
On Thu, Aug 26, 2010 at 9:20 AM, Gary Rudolph wrote:
> I have a JAX-RS implementation where I have an interface that returns a
> Response object. I'm using a custom provider for protocol buffers.
>
> The issue is that on the client I'm registering the providers manually
> like:
> JAXRSClientF
On Thursday 26 August 2010 5:40:44 pm kettch wrote:
> Daniel Kulp wrote:
> > MessageContext mc = context.getMessageContext();
> >
> > Then one of:
> > AuthorizationPolicy policy =
> >
> > (AuthorizationPolicy)mc.get(AuthorizationPolicy.class.getName());
> >
> > or if you want to use JAX-WS sta
Daniel Kulp wrote:
>
> MessageContext mc = context.getMessageContext();
>
> Then one of:
>
> AuthorizationPolicy policy =
> (AuthorizationPolicy)mc.get(AuthorizationPolicy.class.getName());
>
> or if you want to use JAX-WS standard calls:
>
> mc.getPrincipal()
>
> to get the User princip
On Wednesday 25 August 2010 7:05:01 am vijayvaleti wrote:
> Hi Dan,
>
> It is working for me after including following import statements in my
> client config file.
>
>
>
>
> Could you please explain me why we need to add the above imports?
When you don't use the impo
On Thursday 26 August 2010 5:05:54 am Sean Patrick Floyd wrote:
> OK, thanks for your help.
>
> a) Is there another way for me to generate a wsdl from java code in a build
> process (without using jaxws annotations).
Probably not. You MAY be able to add a cxf.xml into src/main/resources or
some
MessageContext mc = context.getMessageContext();
Then one of:
AuthorizationPolicy policy =
(AuthorizationPolicy)mc.get(AuthorizationPolicy.class.getName());
or if you want to use JAX-WS standard calls:
mc.getPrincipal()
to get the User principal from the HTTP stack and pull the username an
On Thursday 26 August 2010 3:20:37 am cooper wrote:
> I've been trying to configure a web service with JMS as transport. The
> implementation of the web service also has to act as web service client to
> an external web service using http as transport. I can get both scenarios
> working seperatly b
>
> factory = new JaxWsProxyFactoryBean();
> factory.setServiceClass(PortalUserSyncService.class);
> factory.setAddress(portal.getUpdateUsersServiceUrl());
> client = (PortalUserSyncService) factory.create();
>
Hi,
I am not sure that it is possible to send HTTP1.0 using CXF. The reason I say
this is because CXF uses HttpUrlConnection under the covers, and this construct
is an HTTP1.1 client. I am not sure if the version can change.
The fact that the connection closed after one request I think is irre
Glen,
Thanks. I am a fan of your weblogs as I was easily able to use one to create
a wsdl first web service using an existing wsdl that needed to be supported
but wasn't necessarily easy to work with. I am currently using 2.1.9 to be
specific and can't upgrade to 2.2.9 yet because of compatibilit
I've tried wsdl2java -v to validate the wsdl and it found one problem,
the soap:body tag specified a namespace when it shouldn't.
However this has not solved the initial error.
I am now debugging the source. The error occurs in:
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor li
With:
HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
httpClientPolicy.setAllowChunking(false);
httpClientPolicy.setConnection(ConnectionType.CLOSE);
HTTPConduit http = (HTTPConduit) client.getConduit();
http.setClient(httpClientPolicy);
it stil
I wonder if it is possible to make CXF send messages using HTTP 1.0 instead
of HTTP 1.1 .
I've read here http://osdir.com/ml/users-cxf-apache/2010-01/msg00260.html
that it can be achieved by disabling chunking and setting connection to
close type (which should be default see
http://cxf.apache.org
Hi,
i am trying to write a client for web service using cxf. I can use
SoapUI as a client with no problems but with cxf i am getting the error
in the subject of this mail.
What does it mean? That the wsdl does not validate against
http://schemas.xmlsoap.org/wsdl/ (the namespace for the defin
Schneider Christian wrote:
Hi Willem,
I have not yet used servicemix (at least the 4.x version). I will try with
servicemix but my target environment will be eclipse rcp. My colleagues want to
call services from a rich client. So I guess even if it works with servicemix
it is not a suitable e
I'd suggest you encrypt the complete UsernameToken, since the
performance difference between doing only part and the whole token would
probably be minor and encrypting the whole token is better for
interoperability. As Dan pointed out in a recent exchange
(http://mail-archives.apache.org/mod_mbox/c
Hi
On Thu, Aug 26, 2010 at 12:39 PM, tapdur wrote:
>
> Hi,
>
> with a rest request with a body , how to specify the body type class in a
> generated wadl ? via annotation ?
>
> per ex
>
> http://.../login
>
>
>
>
>
> witch cxf annoation will i specify the Account class of the body requ
Hi,
with a rest request with a body , how to specify the body type class in a
generated wadl ? via annotation ?
per ex
http://.../login
witch cxf annoation will i specify the Account class of the body request in
the generated wadl ?
regards
Bruno
--
View this message in context:
Any comments on this thread.
--
View this message in context:
http://cxf.547215.n5.nabble.com/SAML-security-with-Apache-CXF-tp2650861p2685247.html
Sent from the cxf-user mailing list archive at Nabble.com.
Hello,
I'm facing up with a strange issue.
I'm using CXF under OSGI (Equinox), using the single bundle lib
(cxf-dosgi-ri-singlebundle-distribution-1.2).
I imported it into Eclipse Galileo RCP (under Windows Vista), and now it is
a plug-in project exactly as my other bundles.
When I start
Hi Willem,
I have not yet used servicemix (at least the 4.x version). I will try with
servicemix but my target environment will be eclipse rcp. My colleagues want to
call services from a rich client. So I guess even if it works with servicemix
it is not a suitable environment.
What do you mean
Yes makes sense. Thanks for the help, right now 'am not looking at multiple
message exchanges. I've one more query, when you say encrypting
UserNameToken with public key you mean to say encrypting only password of
the token or complete UserNameToken?
--
View this message in context:
http://cxf.5
Hello,
I'm facing up with a strange issue.
I'm using CXF under OSGI (Equinox), using the single bundle lib
(cxf-dosgi-ri-singlebundle-distribution-1.2).
I imported it into Eclipse Galileo RCP (under Windows Vista), and now it is
a plug-in project exactly as my other bundles.
When I start
Public key (asymmetric) encryption is slower than secret key (symmetric)
encryption. But unless I'm misunderstanding your original post, you're
saying you would encrypt the secret key using the server's public key,
so you'd be using asymmetric encryption anyway. That being the case,
you're better o
OK, thanks for your help.
a) Is there another way for me to generate a wsdl from java code in a build
process (without using jaxws annotations).
b) Or could you describe what's wrong in the generated wsdl and I'll write a
post-processor script that repairs it.
Sean
-Original Message-
Fro
I have a JAX-RS implementation where I have an interface that returns a
Response object. I'm using a custom provider for protocol buffers.
The issue is that on the client I'm registering the providers manually like:
JAXRSClientFactory.create("http://localhost:/services/rest";,
RegistrationRe
I've been trying to configure a web service with JMS as transport. The
implementation of the web service also has to act as web service client to
an external web service using http as transport. I can get both scenarios
working seperatly but as soon as I try to combine things, the http client
part
29 matches
Mail list logo