Ok, yes, that's what I'm doing on the REST side.
I've added @WebParam for the SOAP calls, but can't figure out how to access
it by name. Where should I expect to see them?
On Fri, Mar 28, 2014 at 12:37 PM, Sergey Beryozkin sberyoz...@gmail.comwrote:
You probably refer to the names set in
On Mar 31, 2014, at 3:49 PM, David Hay david@enstratius.com wrote:
Ok, yes, that's what I'm doing on the REST side.
I've added @WebParam for the SOAP calls, but can't figure out how to access
it by name. Where should I expect to see them?
On the SOAP side, if you grab the
Hi,
I'm sure this has been asked before, but I can't seem to find the answer.
I need to validate SOAP parameters, so need to access the incoming
parameter name/value in a Interceptor.
How would I do this?
cheers
David
David,
One resource to check out is Glen Mazza's weblog on custom interceptors:
http://www.jroller.com/gmazza/entry/jaxwshandlers_to_cxfinterceptors
You can implement an interceptor based on the AbstractSoapInterceptor as part
of the server inbound interceptor chain. This will give you
2014-03-28 14:46 GMT+01:00 David Hay david@enstratius.com:
Hi,
I'm sure this has been asked before, but I can't seem to find the answer.
I need to validate SOAP parameters, so need to access the incoming
parameter name/value in a Interceptor.
What kind of SOAP parameters ?
How would
You probably refer to the names set in annotations like PathParam(id)
? If so then Soap WebParam should give the same info...
Cheers, Sergey
On 28/03/14 16:34, David Hay wrote:
Thanks...
Unfortunately it looks like Method only gives you the param names if debug
is enabled during
This should give the list of parameters:
final List Object arguments =
MessageContentsList.getContentsList(message);
(the values are in the order the parameters are declared)
and given the Method you can get to the names.
By the way, check Bean Validation feature, it will work for JAXWS,
Hi,
Sorry if I wasn't clear - I'm trying to access the parameters passed to the
backend SOAP Service methods, so x and y in this case...
public void doThis(String x, String y) {...}
On Fri, Mar 28, 2014 at 9:49 AM, Jose María Zaragoza
demablo...@gmail.comwrote:
2014-03-28 14:46 GMT+01:00
Thanks...
Unfortunately it looks like Method only gives you the param names if debug
is enabled during compilation...
CXF has that info for REST calls - it doesn't for SOAP?
On Fri, Mar 28, 2014 at 11:49 AM, Sergey Beryozkin sberyoz...@gmail.comwrote:
This should give the list of parameters: