Hi Francesco

I've done a local test by copying UserService, AbstractServiceImpl, UserServiceImpl and keeping read() and list() methods, and also copying PagedResult, UserTO, and AbstractSubjectTO (and stopping there are adapting PagedResult accordingly), and I'm seeing a schema being generated. I think the code I did few days ago is fine, it should only make the generation better, so I wonder where the problem is.

Can you give me a favor and remind how can I run Syncope in a debug mode from Maven so that I can hit a breakpoint in WADLGenerator ?

Or may be you can try and isolate where the problem is, example, does it get generated for your env if only UserServiceImpl rest service is registered ?

By the way I thought you had WADL prepared during a build time ?

Thanks, Sergey



On 29/04/15 13:30, Sergey Beryozkin wrote:
Hi Francesco

I wonder if it is related somehow to

https://fisheye6.atlassian.com/changelog/cxf?cs=300ace67c507c551b37ba4d99e6863b67bf871f8


I did few days back. Though I'm not immediately seeing how.

I'll have a look shortly, will try to reproduce with a simlplified
version of
https://github.com/apache/syncope/blob/master/core/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserServiceImpl.java


with its list() method only...

Cheers, Sergey

On 29/04/15 12:51, Francesco Chicchiriccò wrote:
Hi,
when using the latest CXF 3.0.5-SNAPSHOT and this configuration [1] I
get an empty

<grammars/>

element when accessing ?_wadl

With 3.0.4 everything works, instead: any relevant configuration change?

Thanks,
Regards.

[1]
https://github.com/apache/syncope/blob/master/core/rest-cxf/src/main/resources/restCXFContext.xml#L81-L89





Reply via email to