Hello everyone,
I'm fairly new to CXF, and have been working on adapting a project to
use Distributed OSGi. I've been successful so far by following the
Spring DM example, but I've hit a wall. After some searching online, I
can't quite determine how to proceed. I have some code that works
somethin
i use cxf for integrating with webservices.
One issue i am running into i the date/timstamp that is addedi n the
comments for the genrated client classes.
is there parameter or something that i can pass in the wsdltojava script to
not generate those commets with timestamps.
we have chosen to keep
If you set logging to DEBUG you can see what WSS4J decrypts on the
receiving side.
Colm.
On Mon, May 12, 2014 at 11:05 PM, Giriraj Bhojak wrote:
> Hi,
>
> I am using cxf (2.7.8 )with wss4j(1.6.13).
> For the sake of debugging I need to see the outgoing messages.
> I have added cxf:inInterceptor
Hi
I don't have any specific experience with setting binary tokens. CXF
email is not being delivered right now - Colm may have already replied.
Check CXF sources/tests - there should be some examples,
Cheers, Sergey
On 08/05/14 19:54, NALLA, VENKAT wrote:
Hi Sergey,
I never used BinarySecur
Il 13/05/2014 12:30, Andrei Shakirin ha scritto:
Hi,
I see that generated WSDL contains two bindings and two services(WSTEST,
WSTESTService) using different bindings.
Do you see any reason of that?
no I see no apparent reason for that
Could you post your code configuration and used to creat
On May 12, 2014, at 4:21 PM, Niels Boldt wrote:
> Hi,
>
> I'm trying to connect a apache cxf client to a wcf service that apparently
> uses wsHttpBinding, the wsdl is at
> http://ws.domea.dk/Domeabolig/DomeaService.DomeaData.svc?wsdl
I don’t see anything in that wsdl that shouldn’t work. How
Thank you Daniel and Andrei.
Here is new interceptor I just wrote for outgoing messages:
import org.apache.cxf.interceptor.Fault;
import org.apache.cxf.message.Message;
import org.apache.cxf.phase.AbstractPhaseInterceptor;
import org.apache.cxf.phase.Phase;
import org.w3c.dom.Document;
public cla
None of that worked. I upgraded to 2.7.11 and even tried using the name "bus1"
for all name attributes. I don't believe it is a matter of the bus and the end
point getting hooked together. It looks to me like an issue with routing the
request as if CXFServlet is not finding my named bus. Is ther
Well adding an init-param to the servlet worked.
bus
server
But it begs the question of how to have multiple buses in the same instance?
Our services are both providers and consumers of web services, so my goal is to
have separate client and server buses because th
Hi,
I see that generated WSDL contains two bindings and two services(WSTEST,
WSTESTService) using different bindings.
Do you see any reason of that? Could you post your code configuration and used
to create a service?
Regards,
Andrei.
> -Original Message-
> From: Mailing List SVR [mai
Hi
On 08/05/14 14:38, NALLA, VENKAT wrote:
AccessTokenService returns the following:
{"access_token":"cca251f4e242eb106490ee326891e1c5","token_type":"bearer","expires_in":3600}
Sure, "bearer" is a token type. Client wishing to use such tokens need
to use a "Bearer" authorization scheme -
Hi Sergey,
I never used BinarySecurityToken. How do I populate the OAuth2 token as Binary
Security Token, without any singing and encryption?
Thanks,
Venkat
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz...@gmail.com]
Sent: Thursday, May 08, 2014 11:04 AM
To: NALLA, VENKAT
On May 13, 2014, at 12:20 PM, Sanjeev Chopra wrote:
> Hello Dan, there is no other Content* header in the request. (see http
> log from SOAPUI below). Do you think this behavior is worth safeguarding
> against in the Interceptor ?
Yep. Just wanted to get the full header list and such to se
Hi,
If you make non-proxy based call with headers and prepared body,
org.apache.cxf.jaxrs.client.WebClient or javax.ws.rs.client.Client are optimal.
Code could look like:
WebClient wc = WebClient.create(address);
wc.header(name, values);
wc.put(body);
Regards,
Andrei.
> -Original Message
On May 13, 2014, at 3:50 PM, richard.w.han...@wellsfargo.com wrote:
> None of that worked. I upgraded to 2.7.11 and even tried using the name
> "bus1" for all name attributes. I don't believe it is a matter of the bus and
> the end point getting hooked together. It looks to me like an issue wit
The Logging interceptors run at a byte stream level and only would see the
“secured” message. To log the unsecured message, you would need to write a
different interceptor to handle that. Unfortunately, its also going to be
different for CXF 2.7.x and CXF 3.x due to changes in the security h
On May 8, 2014, at 8:53 AM, Andre-John Mas wrote:
> Hi,
>
> I am in the process of upgrading code that is current using cxf 2.2.2,
> to 2.5.9 (we will see if we can upgrade to a more recent version), and
> discovered two classes used there have gone:
>
> - org.apache.cxf.bus.sprin.BusApplicati
On May 8, 2014, at 10:16 AM, richard.w.han...@wellsfargo.com wrote:
> I'm trying to associate an endpoint with a named cxf Bus but getting the
> 'Can't find the request for Observer' error. The service works fine if no bus
> name is specified in the endpoint. From the server output it appears
Il 13/05/2014 13:40, Andrei Shakirin ha scritto:
Hi,
No generated code is not interesting, but I would like to see how you create
the service: did you use spring configuration (jaxws:endpoint) or did it
programmatically?
Could you post this code or configuration?
I'm running cxf inside dropw
Thanks for the suggestion, issue solved, some details:
1) WebMethod annotations has the proper action parameter
2) in my implementation wsdlLocation is set to "classpath:original.wsdl"
step to solve:
1) I removed the wsdlLocation from @WebService annotation in my
implementation
2) I added wsdl
Hello Dan, there is no other Content* header in the request. (see http
log from SOAPUI below). Do you think this behavior is worth safeguarding
against in the Interceptor ?
Mon May 12 23:07:25 PDT 2014:DEBUG:>> "GET
/restBaseUrl/IRestCustomerServiceBaseUrl/1.0/restservice/customer/1
HTTP/1.1[\
Hi,
I am trying to do Custom Authentication of UsernameToken in WS-Security. I have
done the following:
1. Set ws-security.validate.token property in jaxws:endpoint to false
2. Created a custom authentication class, SoapLoginInterceptor by extending
AbstractPhaseInterceptor
3. Configured SoapLo
That should still work as is. Can you create a small test case? The feature
itself looks OK. Not sure why the feature wouldn’t be applied. How is the
feature being configured for the service?
Dan
On May 12, 2014, at 3:47 PM, Thorsten Höger wrote:
> Hi,
>
> In one of my projects I
If you have the WSDL, why are you not deploying the service using the WSDL. I
think for your case, make sure the @WebService annotation has an appropriate
wsdlLocation attribute.If the WSDL is available, it should use it directly
and not have to generate a new annotation.
Can you check t
Il 13/05/2014 12:30, Andrei Shakirin ha scritto:
Hi,
I see that generated WSDL contains two bindings and two services(WSTEST,
WSTESTService) using different bindings.
Do you see any reason of that?
maybe the location, WSTEST define the location in original wsdl,
WSTESTService the one actuall
Hi,
No generated code is not interesting, but I would like to see how you create
the service: did you use spring configuration (jaxws:endpoint) or did it
programmatically?
Could you post this code or configuration?
Regards,
Andrei.
> -Original Message-
> From: Mailing List SVR [mailto:
Hi,
Likely your implementation somehow creates and publishes multiple services
(WSTESTService is created additionally to WSTEST).
I would recommend to create a simple test case:
- generate a code based on original WSDL
- make a dummy implemention of generated service interface and publish it usi
Hi,
I've a question regarding cxf client and proxy settings:
The http.proxyHost and http.proxyPort values are taken from the system
properties, but not the values for https.proxyPort and https.proxyHost.
Is this the wanted behavior or do I miss something?
p.s.: I've found a similar jira issue re
We don't currently support the combination of SecureConversation + Spnego
policies, although we support either on their own.
Colm.
On Mon, May 12, 2014 at 9:21 PM, Niels Boldt wrote:
> Hi,
>
> I'm trying to connect a apache cxf client to a wcf service that apparently
> uses wsHttpBinding, the
Hi,
I think LoggingOutInterceptor should log clear text message, because it is
invoked on PRE_STREAM phase, before the WSS4JOutInterceptor (PRE_PROTOCOL,
POST_PROTOCOL).
Regards,
Andrei.
> -Original Message-
> From: Giriraj Bhojak [mailto:girira...@gmail.com]
> Sent: Dienstag, 13. Mai
30 matches
Mail list logo