RE: Basic Authentication with the dynamic client

2015-06-24 Thread Talkov, Roger
BasicAuthSupplier is my own custom supplier: class BasicAuthSupplier implements HttpAuthSupplier { boolean preemptive public BasicAuthSupplier(boolean preemptive) { this.preemptive = preemptive } /** * send the encoded user & password */ @Override public String getAuthori

Re: Invalid HTTP method: PATCH

2015-06-24 Thread Sergey Beryozkin
Hi This looks fine, saves on configuring individual clients Cheers, Sergey On 24/06/15 17:00, Jose María Zaragoza wrote: 2015-06-24 16:06 GMT+02:00 Jose María Zaragoza : Hello: I'm using CXF 2.7.8 When I try to invoke an URL with PATCH verb , I'm getting "Invalid HTTP method: PATCH" I've upg

Re: Invalid HTTP method: PATCH

2015-06-24 Thread Jose María Zaragoza
2015-06-24 16:06 GMT+02:00 Jose María Zaragoza : > Hello: > > I'm using CXF 2.7.8 > When I try to invoke an URL with PATCH verb , I'm getting > > "Invalid HTTP method: PATCH" > > I've upgraded httpclient to 4.2.1. (httpclient-4.2.1.jar) but it still fails > > > Any ideas ? > Thanks and regards OK

Apache CXF samples

2015-06-24 Thread Dariusz Małyszko
Hi, My question is how to port Apache CXF samples to Tomcat. I have successfully compiled and deployed (maven) samples - wsdl-first, - ws-addressing - ws-policy to jetty. Now, I am trying to deploy them on Tomcat, the above services are deployed well, but I can not invoke them from Tomcat, it mea

Invalid HTTP method: PATCH

2015-06-24 Thread Jose María Zaragoza
Hello: I'm using CXF 2.7.8 When I try to invoke an URL with PATCH verb , I'm getting "Invalid HTTP method: PATCH" I've upgraded httpclient to 4.2.1. (httpclient-4.2.1.jar) but it still fails Any ideas ? Thanks and regards

Re: Caching and reusing SecureConversationToken - how?

2015-06-24 Thread Andrew
coheigea wrote > What does your client code look like? Caching only works for the same > client proxy. If you are closing the proxy, or else creating a new one, > then the cached SecurityContextToken will not be retrieved. If you are > re-using the same client proxy, then the SecurityContextToken s

Re: Problem with optional @PathParam

2015-06-24 Thread Sergey Beryozkin
Hi I've updated the code to better handle requests like "//resource/12345" against "/{tenant : [^/]*}/resource/{id}". CXF UriTemplate is trying to move to the next group value if the current value is empty/null - and there's a test where a regular expression matching produces an empty value fo

Re: Basic Authentication with the dynamic client

2015-06-24 Thread Sergey Beryozkin
Hi, you might need to implement your own custom supplier, possibly extending BasicAuthSupplier Thanks, Sergey On 24/06/15 03:43, Talkov, Roger wrote: We have Basic Authentication working for the dynamic client with user & password, But have not been able to figure out how to set Host, Port, an