JAX-RS backward compatibility issues in CXF 2.5.2

2012-04-13 Thread Blue Diamond
Hi, I am facing some serious backward compatibility issues on JAX-RS front with CXF 2.5.2 I migrated from 2.3.0 to 2.5.2. @Path() that worked before are not working now. Here's a list of what was working in 2.3.0 & not working with 2.5.2 URL: http://host:8080/odata/$metadata @Path("/\\$metadata

Re: Isn't WS-Addressing MessageID optional?

2012-02-20 Thread Blue Diamond
ot;A required header representing ..." > > regards, aki > > 2012/2/20 Blue Diamond : > > yes its a request-response (sync) call in which replyTo is not required & > > even if its present it shud be anonymous uri. > > > > Thanks & Regards, > > Anil >

Re: Isn't WS-Addressing MessageID optional?

2012-02-20 Thread Blue Diamond
lyTo header is expected but absent? > > > 2012/2/20 Blue Diamond : > > Hello, > > > > We are using CXF 2.5.2 and after upgradation from 2.3.x, we are facing a > > problem because of the missing WS-Addressing MessageID in our SOAP > > messages. Earlier it us

Isn't WS-Addressing MessageID optional?

2012-02-20 Thread Blue Diamond
Hello, We are using CXF 2.5.2 and after upgradation from 2.3.x, we are facing a problem because of the missing WS-Addressing MessageID in our SOAP messages. Earlier it used to work because we designed it based on the spec that says that "MessageID" is optional unless ReplyTo or FaultTo are present

Re: ?wsdl is not being handled by cxf 2.5.x

2012-02-09 Thread Blue Diamond
s. | > http://localhost:8080/**services/doubleit<http://localhost:8080/services/doubleit>(Karaf).| > > Glen > > > On 02/08/2012 01:36 AM, Blue Diamond wrote: > >> Hello, >> >> We are upgrading our CXF from 2.3.x to 2.5.x. We have our >> WebServiceProvi

?wsdl is not being handled by cxf 2.5.x

2012-02-07 Thread Blue Diamond
Hello, We are upgrading our CXF from 2.3.x to 2.5.x. We have our WebServiceProviders implemented. Our components run in OSGi. Everything is fine in 2.3.x where we used to embed CXF jars in our OSGi bundle. Now, we want to use CXF bundles from OSGi thus making our service jars thin. Our WSDL is i

[CXF 2.3.0] Certificate validation in WS-Security

2011-12-12 Thread Blue Diamond
Hi all, We are using CXF 2.3.0 and have a WS-Security policy that has EncryptBody & SignHeader kind of policy. I want client & server to use different certificates and both client & server certs are signed by the same root & that is enough for me to authenticate the client. But WS-Security seems

Re: Decryption of EncryptedParts/EncryptedElements is failing in SOAP Response

2011-10-14 Thread Blue Diamond
e based on the policy. Thanks & Regards, Anil On Fri, Oct 14, 2011 at 7:10 PM, Colm O hEigeartaigh wrote: > Hi Anil, > > Could you paste the SOAP response to the client? Maybe the returned > encrypted token is not in the security header or something? > > Colm. > &

Decryption of EncryptedParts/EncryptedElements is failing in SOAP Response

2011-10-14 Thread Blue Diamond
Hi, We are using CXF 2.3.x, and we have our WS-SecurityPolicy that has something like: /wsse:Security/wsse:SecurityContextToken Requirement is that, we have our custom security token in header that needs to be encrypted. What happens, is that the EncryptedElements section was taken care i

Re: Max. no. of client connections supported by CXF (Jetty)

2011-09-05 Thread Blue Diamond
nt. Or sometime even one powerful > machine can't meet your requirement, so you may consider to use cluster and > load balance in that case. > > Freeman > > On 2011-9-5, at 下午11:19, Blue Diamond wrote: > > Thanks a lot Freeman! >> >> Just another question.

Re: Max. no. of client connections supported by CXF (Jetty)

2011-09-05 Thread Blue Diamond
Thanks a lot Freeman! Just another question. Will there be any performance impact or problems if I set this max_threads to say 16000? Regards, Anil

Re: Max. no. of client connections supported by CXF (Jetty)

2011-09-05 Thread Blue Diamond
My REST client see the following Exception as the no. of parallel clients increase from 1000 to 2000: (3 failures in 2000 client requests). java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputSt

Max. no. of client connections supported by CXF (Jetty)

2011-09-05 Thread Blue Diamond
Hi, We are trying to run some stress testing on our REST service but in that process, we found that there are no issues when we ran 1000 parallel client connections. But when we increased the clients to 2000, we found errors that indicate server could not accept connections. If we configure our cl

Re: Caused by: java.net.SocketException: Unexpected end of file from server

2011-08-19 Thread Blue Diamond
com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(* BaseStreamWriter.java:509*) ... 27 more On Fri, Aug 19, 2011 at 5:24 PM, Blue Diamond wrote: > *Please let me know if this issue was resolved in later versions of 2.3.x. > * > > I am facing a socket issue with CXF 2.3.0. My service request takes

Caused by: java.net.SocketException: Unexpected end of file from server

2011-08-19 Thread Blue Diamond
*Please let me know if this issue was resolved in later versions of 2.3.x.* I am facing a socket issue with CXF 2.3.0. My service request takes around 10 minutes so I have set my socket time out on the client side. But when the service sends response, I see the following exception on the client si

Re: Resetting Service URL in WSDL

2011-08-18 Thread Blue Diamond
Any help on this is greatly appreciated. Thanks. :) On Wed, Aug 17, 2011 at 8:30 PM, Blue Diamond wrote: > Hi, > > I have a service binding provider based on my WSDL. Now, after I start the > endpoint, I want to use the Endpoint and reset the service URLs in the WSDL. > Is this

Resetting Service URL in WSDL

2011-08-17 Thread Blue Diamond
Hi, I have a service binding provider based on my WSDL. Now, after I start the endpoint, I want to use the Endpoint and reset the service URLs in the WSDL. Is this possible in CXF 2.3.x? If so how? Thanks, Anil

Re: Token processor extensions in CXF

2011-06-24 Thread Blue Diamond
Is this possible with CXF 2.3.x? On Fri, Jun 24, 2011 at 5:02 PM, Blue Diamond wrote: > Thatz cool! Thanks a lot Colm. I'll look into it. :) > > > On Fri, Jun 24, 2011 at 4:48 PM, Colm O hEigeartaigh > wrote: > >> Hi Anil, >> >> Yes it is possible to ad

Re: Token processor extensions in CXF

2011-06-24 Thread Blue Diamond
/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/saml/SamlTokenTest.java?view=markup > > Colm. > > On Fri, Jun 24, 2011 at 10:43 AM, Blue Diamond wrote: > > Hi all, > > > > I am using CXF for my web services and have enabled WS-Security. I want > to

Token processor extensions in CXF

2011-06-24 Thread Blue Diamond
Hi all, I am using CXF for my web services and have enabled WS-Security. I want to hook my our security manager to token processors like UsernameTokenProcessor or BinaryTokenProcessor and also want to support something like CustomTokenProcessor. Is this possible (preferably programmatically rather

Re: how to increasing Socket timeout

2011-06-16 Thread Blue Diamond
CXF Version used is 2.3.0. On Thu, Jun 16, 2011 at 6:40 PM, Malisetti, Ramanjaneyulu < ramanjaneyulu.malise...@ca.com> wrote: > Hi, > > I have web service client using CXF. My client use Dispatch > mechanism to make Web Service calls. One of my service is taking long > time to return, henc

Re: Thread Local Storage not working in CXF Interceptors

2011-05-30 Thread Blue Diamond
Sorry. My bad. The value being set in TLS was NULL which created the confusion :) Thanks & Regards, Anil On Tue, May 31, 2011 at 12:40 AM, Sergey Beryozkin wrote: > Hi > > On Mon, May 30, 2011 at 6:27 PM, Blue Diamond wrote: > > Hi Sergey, > > > > Thanks for you

Re: Thread Local Storage not working in CXF Interceptors

2011-05-30 Thread Blue Diamond
> On Mon, May 30, 2011 at 4:29 PM, Blue Diamond wrote: > > Hi, > > > > I have a couple of SoapInterceptors engaged to my REST/WS service. In the > > first interceptor, I am setting a TLS variable. But I am not able to get > the > > TLS variable from inside

Thread Local Storage not working in CXF Interceptors

2011-05-30 Thread Blue Diamond
Hi, I have a couple of SoapInterceptors engaged to my REST/WS service. In the first interceptor, I am setting a TLS variable. But I am not able to get the TLS variable from inside the second interceptor. Does CXF spawn multiple threads for interceptors? Why is TLS not working in this case? What sh

Re: Multiple endpoints on same port

2011-05-06 Thread Blue Diamond
he application into different wars or OSGi bundles, and >> these applications are using cxf-rt-transport-jetty, you may face some kind >> of application classloader issue. >> >> Willem >> >> On 5/6/11 2:53 PM, Blue Diamond wrote: >> >>> Dear CXFers,

Multiple endpoints on same port

2011-05-05 Thread Blue Diamond
Dear CXFers, I am currently starting multiple endpoints on the same port in our application. WS Endpoint: http://localhost:port/app/ws REST Endpoint: http://localhost:port/app/rest I have verified that it is working alright. Even after engaging security, HTTP Auth for REST and WS-Security for WS

Re: Timing issue with WS-Security

2011-05-01 Thread Blue Diamond
tatz gr8.. thanks a lot Daniel :) On Fri, Apr 29, 2011 at 11:26 PM, Daniel Kulp wrote: > On Friday, April 29, 2011 9:10:30 AM Blue Diamond wrote: > > I am getting the following exception with WS-Security when machines from > > different timezones are w

Timing issue with WS-Security

2011-04-29 Thread Blue Diamond
I am getting the following exception with WS-Security when machines from different timezones are working together. javax.xml.ws.WebServiceException: The message has expired (WSSecurityEngine: Invalid timestamp The security semantics of the message have expired) I think there is a way to add toler

Re: HTTPConduit for Dispatch

2011-03-03 Thread Blue Diamond
My bad. I messed up with providers.. Able to fix it :) >From CXF front no issues. Conduit setting programmatically works perfectly! Thanks a lot! Anil On Thu, Mar 3, 2011 at 3:01 PM, Blue Diamond wrote: > Thanks a lot Freeman! :) It worked. > > Unfortunately, I ended up getting t

Re: HTTPConduit for Dispatch

2011-03-03 Thread Blue Diamond
11 at 1:59 PM, Freeman Fang wrote: > Hi, > > You code should be like > > Client client = > ((org.apache.cxf.jaxws.DispatchImpl)dispatchClient).getClient(); > > HTTPConduit conduit = (HTTPConduit) client.getConduit(); > ... > > > Freeman > > > > On 20

HTTPConduit for Dispatch

2011-03-03 Thread Blue Diamond
Hello All! We use CXF for creating dynamic JAX-WS clients (Dispatch) for our service. All is set. Now I want to engage HTTPS. I am able to do it from cxf.xml file but what I need is, this to be done programmatically given the server URL is dynamic. This is where I am stuck. *Code:* *Client client