Re: Apache CXF with WS-Security

2014-08-14 Thread Daniel Kulp
On Aug 14, 2014, at 4:58 PM, Dennis Sosnoski wrote: > Hi Paul, > > I think I see what's going on here. Your AuthenticationDiacapEndpoint_policy > which specifies the use of RM and AsymmetricBinding doesn't set anything to > be signed, instead leaving that to the individual input and output po

Re: Apache CXF with WS-Security

2014-08-14 Thread Dennis Sosnoski
Hi Paul, I think I see what's going on here. Your AuthenticationDiacapEndpoint_policy which specifies the use of RM and AsymmetricBinding doesn't set anything to be signed, instead leaving that to the individual input and output policies (such as AuthenticationDiacapEndpoint_Activate_Input_po

Re: Apache CXF with WS-Security

2014-08-14 Thread Longsine, Pohl
On 8/13/14 4:32 PM, "Daniel Kulp" wrote: >The policy has aassertion in it so I would >have expected the signatures to be encrypted. The CXF request has two >ncryptedData elements which MAY correspond to the two Signatures that >the .NET client is sending. No really sure though as I don¹t k

Re: Does anyone uses a wadl-to-java inheritResourceParams ?

2014-08-14 Thread Sergey Beryozkin
Sure, sounds like a good idea, thanks Sergey On 14/08/14 13:37, Daniel Kulp wrote: Could we change the flag to: -inheritResourceParams[=first|last] where it would default to first on 3.x and last on 2.7.x, but the user could explicitly set it depending on their needs/compatibility requirements

Re: registering ParamConverterProviders with cxf

2014-08-14 Thread Sergey Beryozkin
I've got a confirmation CXF does it the same way as Jersey so I think CXF is compliant. Thanks, Sergey On 14/08/14 09:49, Sergey Beryozkin wrote: Hi On 14/08/14 08:42, Vassilis Virvilis wrote: On 08/14/2014 09:34 AM, Vassilis Virvilis wrote: Hi, Hope this clears it up. I will take now a rea

Re: When an async request is acknowledged?

2014-08-14 Thread Aki Yoshida
Maybe this is a difficult question to answer. An HTTP 202 response will be returned for a request that has been determined as a oneway service call. If something goes wrong before that happens, there will be some HTTP 4xx/5xx error. The semantics of HTTP 202 may differ depending on what your code

Re: registering ParamConverterProviders with cxf

2014-08-14 Thread Vassilis Virvilis
Hi, I just found on RestyGWT sources and verified with tests that handles correctly the @QueryParam case but not the @FormParam case. So I believe this concludes it unless the standard handles differently @QueryParam from @FormParam. I will try to raise the issue with RestyGWT (https://gith

Re: Question: CXF 'generate Web Service'-issue when using "xsd:redefine"

2014-08-14 Thread Timo Hosters
Aki Yoshida-3 wrote > 2014-08-05 14:35 GMT+02:00 Timo Hosters < > thosters@ > >: >> Aki Yoshida-3 wrote >>> ... and got a fix in their microwave. >> >> I'm not a native speaker, thus unsure if that is colloquialism, sarcasm >> or >> some sort of saying? It could mean "fixing could be quick if som

Re: forwardslash being escaped from json response

2014-08-14 Thread Sergey Beryozkin
On 14/08/14 10:17, franck wrote: Sergey Beryozkin You said : Sergey Beryozkin wrote apparently it is a default in some cases but proper JSON libraries should allow for configuring it. I'll deal with it in the next Jettison release, I'll keep you up-to-date. Please check if Jackson can do it in

Re: Does anyone uses a wadl-to-java inheritResourceParams ?

2014-08-14 Thread Daniel Kulp
Could we change the flag to: -inheritResourceParams[=first|last] where it would default to first on 3.x and last on 2.7.x, but the user could explicitly set it depending on their needs/compatibility requirements? Dan On Aug 14, 2014, at 7:01 AM, Sergey Beryozkin wrote: > Hi > > CXF WADL t

Re: registering ParamConverterProviders with cxf

2014-08-14 Thread Vassilis Virvilis
On 08/14/2014 11:37 AM, Sergey Beryozkin wrote: No problems at all, thanks for the clarifications. It's a bit of a grey area, and I actually sent a message to the JAX-RS group to clarify. You may well be right in the end :-). It's just a bit of a sensitive area, a non-compliance will be addresse

Re: registering ParamConverterProviders with cxf

2014-08-14 Thread Vassilis Virvilis
Hi, On 08/14/2014 11:49 AM, Sergey Beryozkin wrote: Hi On 14/08/14 08:42, Vassilis Virvilis wrote: On 08/14/2014 09:34 AM, Vassilis Virvilis wrote: Hi, Hope this clears it up. I will take now a read on the spec and I will follow up if I spot anything. I opened up an issue with Resty-GWT

Re: forwardslash being escaped from json response

2014-08-14 Thread franck
Sergey Beryozkin You said : Sergey Beryozkin wrote > apparently it is a default in some cases but proper JSON libraries > should allow for configuring it. I'll deal with it in the next Jettison > release, I'll keep you up-to-date. > > Please check if Jackson can do it in meantime > > Sergey I

When an async request is acknowledged?

2014-08-14 Thread Iván Brencsics
Hi, I had a general question about web services. Sorry, it is not related to CXF, but this is a so good community, maybe someone can help me:). In case of an async web service call the receiver acknowledges the request with an HTTP 202 usually. What is the semantics of this acknowledge: 1) We re

Does anyone uses a wadl-to-java inheritResourceParams ?

2014-08-14 Thread Sergey Beryozkin
Hi CXF WADL to Java generator supports an option for the parent resource parameters be added into the current method signature, it is called "inheritResourceParams". It can help with minimizing the duplication across the whole WADL document. Alexey Markevich opened an enhancement request [1]

RE: Issues upgrading to 3.0.1

2014-08-14 Thread Ed Bras
Can somebody please give me some pointers about logging the XmlStreamWriter with the Stax WWS4j (see details below). Thanks, Ed > -Original Message- > From: Ed Bras [mailto:z...@debrasjes.com] > Sent: maandag 11 augustus 2014 21:32 > To: users@cxf.apache.org > Subject: Issues upgrading to

Re: registering ParamConverterProviders with cxf

2014-08-14 Thread Sergey Beryozkin
Hi On 14/08/14 08:42, Vassilis Virvilis wrote: On 08/14/2014 09:34 AM, Vassilis Virvilis wrote: Hi, Hope this clears it up. I will take now a read on the spec and I will follow up if I spot anything. I opened up an issue with Resty-GWT at https://github.com/resty-gwt/resty-gwt/issues/195 I

Re: registering ParamConverterProviders with cxf

2014-08-14 Thread Sergey Beryozkin
Hi Vassilis On 14/08/14 07:34, Vassilis Virvilis wrote: Hi, On 08/13/2014 06:43 PM, Sergey Beryozkin wrote: On 13/08/14 15:43, Vassilis Virvilis wrote: This however transmits the entities as one jsonified array with [{x:"a", y:"b"}, {x:"c", y:"d"}] if you know what I mean. CXF in the other doe

wsdl2java and schemaLocation as url

2014-08-14 Thread lmx2k5
hello, I have got problem with wsdl2java and not sure what is wrong. If there is imports with schemaLocation as URL as following, then cxf generates two packages with same classes - one with normal name from namespace and with package name "generated". And then I get compilation error because of

Re: registering ParamConverterProviders with cxf

2014-08-14 Thread Vassilis Virvilis
On 08/14/2014 09:34 AM, Vassilis Virvilis wrote: Hi, Hope this clears it up. I will take now a read on the spec and I will follow up if I spot anything. I opened up an issue with Resty-GWT at https://github.com/resty-gwt/resty-gwt/issues/195 I am not an expert but looks like that CXF is pe