Hi Max

To have WADL links you need to add cxf-rt-rs-service-description

Can you try again please with 3.1.8-SNAPSHOT

Cheers, Sergey
On 19/08/16 04:15, Maxim Solodovnik wrote:
hmm,

just have tested, not working :( details:

libraries in classpath
webapps/openmeetings/WEB-INF/lib/cxf-core-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-bindings-soap-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-bindings-xml-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-databinding-jaxb-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-frontend-jaxrs-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-frontend-jaxws-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-frontend-simple-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-rs-extension-providers-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-transports-http-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-ws-addr-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-wsdl-3.1.8-SNAPSHOT.jar
webapps/openmeetings/WEB-INF/lib/cxf-rt-ws-policy-3.1.8-SNAPSHOT.jar

servlet configuration:
        <servlet>
                <servlet-name>CXFServlet</servlet-name>

<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
                <init-param>
                        <param-name>config-location</param-name>

<param-value>classpath:openmeetings-applicationContext.xml</param-value>
                </init-param>
                <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
                <servlet-name>CXFServlet</servlet-name>
                <url-pattern>/services/*</url-pattern>
        </servlet-mapping>

SOAP services are configured in spring config, REST are configured via
annotations
I'm using java only no XML approach :)

What am I missing?


On Fri, Aug 19, 2016 at 8:29 AM, Maxim Solodovnik <[email protected]>
wrote:

Thanks for the quick answer Sergey :)
I'll check SNAPSHOT and will write back here :)

What additional dependencies need to be added to display the list of both
SOAP and REST services?

On Thu, Aug 18, 2016 at 10:38 PM, Sergey Beryozkin <[email protected]>
wrote:

Hi Max

I updated CXF 3.1.7 to show the available endpoints if they exist,
previously, if you only used either JAXWS or JAXRS you could get for
example:

SOAP endpoints:
(empty space)

REST endpoints:
some endpoints listed here

or

SOAP endpoints:
some endpoints listed here

REST endpoints:
(empty space)

which was 'noisy' so now in such case you'd either get only

SOAP endpoints:
some endpoints listed here

or

REST endpoints:
some endpoints listed here

So far it all should be fine.

Additionally, for JAXRS, I made it conditional on the availability of the
bus property. Some users now use Swagger, some WADL, so until 3.1.7 you'd
get an empty WADL link even if you use Swagger or if no WADL dependency
exist.
So in CXF 3.1.7 WADLGenerator, if loaded, will set a bus property that
WADL is available, and if Swagger feature is loaded it will set a property
indicating Swagger is available.

This helps to present JAX-RS links correctly in Services page, but we've
found with Lukasz that in Blueprint one can get an empty bus reference in
the Service list formatter - it looks like you may be seeing such a case
too. So in 3.1.8-SNAPSHOT I added the code that checks a default bus in
such cases in the services page formatter

Can you please check 3.1.8-SNAPSHOT ?

Thanks, Sergey




On 18/08/16 15:45, Maxim Solodovnik wrote:

Hello,

recently I find out the list of all REST/SOAP services is not available
anymore (CXF 3.1.7)
It was working some time ago

Should I make any changes to make it work again?

I tried to add cxf-rt-rs-service-description-3.1.7.jar as dependency,
but
it doesn't help :(

Thanks a lot for your help





--
WBR
Maxim aka solomax





Reply via email to