Re: WS-Security Problem ( [WSS4JInInterceptor] Security processing failed (actions mismatch))

2012-08-01 Thread Alejandro
I've solve my problem, I must use Regards -- View this message in context: http://cxf.547215.n5.nabble.com/WS-Security-Problem-WSS4JInInterceptor-Security-processing-failed-actions-mismatch-tp5711868p5711908.html Sent from the cxf-user mailing list archive at Nabble.com.

MTOM failing when attaching a tiff, but works with pdf

2012-08-01 Thread jaybytez
We are using CXF 2.4.5, WLS 11, Spring 3.0.5, JAXB 2, etc. Our Message Model has fields that are defined as : @XmlElement(name = "Data", namespace = "##default") @XmlMimeType("application/octet-stream") private DataHandler data; We create the DataHandler as such: import org.apache.commons.codec

Re: WS-Security Problem ( [WSS4JInInterceptor] Security processing failed (actions mismatch))

2012-08-01 Thread Alejandro
I've found the problem, the keystore password was wrong. Now I get another error: Caused by: org.apache.ws.security.WSSecurityException: An invalid security token was provided (Bad ValueType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";) This is the in

Re: status 406 from cxf server

2012-08-01 Thread java kurious
The option was supposed to override jersey libraries in Glassfish with the ones in war. As a last effort I removed all the jersey related jar files from glassfish/modules directory and Started the glassfish. That made the application work. But, it failed to start the glassfish admin console. But

Re: WS-Security Problem ( [WSS4JInInterceptor] Security processing failed (actions mismatch))

2012-08-01 Thread Daniel Kulp
Well, that looks a little better, but there still isn't a signature on the message. If you remove the signature from the in interceptor action, it may work. Dan On Wednesday, August 01, 2012 12:16:16 PM Alejandro wrote: > Sorry this is the right message. > > >

Re: cxf-codegen-plugin does not generate XmlElement annotations

2012-08-01 Thread Daniel Kulp
On Wednesday, August 01, 2012 10:48:54 AM Bengt Rodehav wrote: > After some testing (by editing the code generated by cxf-codegen-plugin) > it turns out that its not the missing @XmlElement that causes my problem > but the missing @XmlRootElement. > > Since the XML I'm trying to unmarshal is not a

Re: WS-Security Problem ( [WSS4JInInterceptor] Security processing failed (actions mismatch))

2012-08-01 Thread Alejandro
Sorry this is the right message. ID: 1 Address: http://localhost:8080/biometria/BiometricService Encoding: UTF-8 Http-Method: POST Content-Type: text/xml;charset=UTF-8 Headers: {accept-encoding=[gzip,deflate], connection=[Keep-Alive], Content-Length=[3610], content-typ

Re: ws-security and javascript

2012-08-01 Thread Daniel Kulp
On Wednesday, August 01, 2012 12:10:45 PM Vassilis Virvilis wrote: > Hello everybody, > > We are evaluating the use of CXF directly in the browser and we have the > following problem. > > Some of our services are WS-security enabled. For these services we > cannot get the http://server/service?js

Re: Kerberos authentication using delegation from Principal Ticket

2012-08-01 Thread Daniel Kulp
On Wednesday, August 01, 2012 01:12:31 PM Josef Bajada wrote: > Nice! > > Sergey, is it maybe possible to have getToken() (line 130 I think) split > into 2 methods, with the second one taking the GSSCredential as a > parameter and being protected rather than private? So the second > getToken() wou

Re: WS-Security Problem ( [WSS4JInInterceptor] Security processing failed (actions mismatch))

2012-08-01 Thread Daniel Kulp
The incoming message is completely invalid. What is being used to produce that? The security header in there should have a LOT more information in it include information about the EndryptedKey (that is then referenced in the body), the signature, etc... Dan On Wednesday, August 01, 2012

WS-Security Problem ( [WSS4JInInterceptor] Security processing failed (actions mismatch))

2012-08-01 Thread Alejandro
Hi, I'm using cxf 2.6.1 and wss4j 1.6.6, and I get this error when I've invoke the webserives: [WSS4JInInterceptor] Security processing failed (actions mismatch). I've google this error but I can't find a solution. This is may configuration:

RE: Kerberos authentication using delegation from Principal Ticket

2012-08-01 Thread Josef Bajada
Nice! Sergey, is it maybe possible to have getToken() (line 130 I think) split into 2 methods, with the second one taking the GSSCredential as a parameter and being protected rather than private? So the second getToken() would look like private getToken(GSSCredential delegatedCred ...) and cont

Re: WS-Trust Version and WCF

2012-08-01 Thread Sarafian
Hi Colm. In collaboration with the STS side we have gathered a package of files that you can see below. Here are the logs from the .NET stack. Client name is Agent and Service name is BookingService. *WCF Client*: http://cxf.547215.n5.nabble.com/file/n5711830/Agent_-_WCF-ML.svcLog Agent_-_WCF-M

REST client generation

2012-08-01 Thread Michael Prieß
Hello, I developed a REST webservice bottom up. Have someone a good concept to integrate the client build into the server build. Regards, Michael

Re: Kerberos authentication using delegation from Principal Ticket

2012-08-01 Thread Sergey Beryozkin
Hi All I've linked to this thread from https://cwiki.apache.org/confluence/display/CXF20DOC/Client+HTTP+Transport+%28including+SSL+support%29#ClientHTTPTransport%28includingSSLsupport%29-CredentialDelegation Thanks, Sergey On 19/07/12 23:30, Josef Bajada wrote: Hi Christian, Well, I guess yes

Re: WS-Trust Version and WCF

2012-08-01 Thread Colm O hEigeartaigh
Also, could you attach the WSDL you are using for the Fediz STS? Colm. On Wed, Aug 1, 2012 at 9:13 AM, Colm O hEigeartaigh wrote: > > I'm more interested in the Tomcat log when you turn Fediz logging to > "INFO" from when the message is received, to when it is output (for the > ValidateFinal cas

Re: status 406 from cxf server

2012-08-01 Thread Sergey Beryozkin
Also see this section: http://cxf.apache.org/docs/application-server-specific-configuration-guide.html for what may need to be done to make CXF JAX-WS work on Glassfish Sergey On 01/08/12 12:45, Sergey Beryozkin wrote: Hi On 31/07/12 01:11, java kurious wrote: Hi Sergey, Thanks for bearin

Re: status 406 from cxf server

2012-08-01 Thread Sergey Beryozkin
Hi On 31/07/12 01:11, java kurious wrote: Hi Sergey, Thanks for bearing with me while I try to debug the problem, and help me move further. I disabled the jaxrs library being used by Glassfish by setting following jvm option: -Dcom.sun.enterprise.overrideablejavaxpackages=javax.ws.rs

Re: CXF time out issue

2012-08-01 Thread Aki Yoshida
there are two timeout values. One is relevant for getting a connection (ConnectionTimeout) and the other is relevant for receiving data from the connection (ReceiveTimeout). http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport%28includingSSLsupport%29-The

ws-security and javascript

2012-08-01 Thread Vassilis Virvilis
Hello everybody, We are evaluating the use of CXF directly in the browser and we have the following problem. Some of our services are WS-security enabled. For these services we cannot get the http://server/service?js auto-generated script to produce any proxies to our services. For the non W

Re: cxf-codegen-plugin does not generate XmlElement annotations

2012-08-01 Thread Bengt Rodehav
After some testing (by editing the code generated by cxf-codegen-plugin) it turns out that its not the missing @XmlElement that causes my problem but the missing @XmlRootElement. Since the XML I'm trying to unmarshal is not a root element, no @XmlRootElement is generated (which I assume is as it

Re: Different return types

2012-08-01 Thread Sergey Beryozkin
Hi On 01/08/12 10:56, Michael Prieß wrote: Hi, have anyone a example how I can use different return types in JAX-RS? Pseudocode: @GET public ? getMessage() { if(IsBinary) { return binary; } return xml; } Something like this should do @GET public javax.ws.rs.core.Response getMessage() {

Re: WS-Trust Version and WCF

2012-08-01 Thread Colm O hEigeartaigh
I'm more interested in the Tomcat log when you turn Fediz logging to "INFO" from when the message is received, to when it is output (for the ValidateFinal case). Colm. On Wed, Aug 1, 2012 at 7:07 AM, Sarafian wrote: > Hi Colm, > If you need it I can provide the full WCF Message logs. > One work

Different return types

2012-08-01 Thread Michael Prieß
Hi, have anyone a example how I can use different return types in JAX-RS? Pseudocode: @GET public ? getMessage() { if(IsBinary) { return binary; } return xml; } Cheers, Michael

Re: No message body writer has been found for response class JSONObject.

2012-08-01 Thread Sergey Beryozkin
Hi On 31/07/12 19:11, kdesin wrote: Hi all, I am facing this issue after trying out on few solutions: No message body writer has been found for response class JSONObject. a)I have made sure that the JSONProvider is defined: