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 compilation...
CXF has that info for REST calls - it doesn't for SOAP?
On Fri, Mar 28, 2014 at 11:49 AM, Sergey Beryozkin <[email protected]>wrote:
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,
http://cxf.apache.org/docs/validationfeature.html#ValidationFeature-
Configuration
Andriy Redko has just blogged about it too:
http://aredko.blogspot.ie/2014/03/apache-cxf-30-jax-rs-20-and-bean.html
Sergey
On 28/03/14 15:38, David Hay wrote:
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
<[email protected]>wrote:
2014-03-28 14:46 GMT+01:00 David Hay <[email protected]>:
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 I do this?
cheers
David
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com