question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Swagger UI]: no service was found

See original GitHub issue

Dear, I have 4 resources, a basic auth, and a cxf soap endpoint on the same project of my 4 rest resources. --> I got a “no service was found” white page 😦 do you have an idea of the problem plz ? bellow all my screenshots

Expected behavior: On other project I don’t have the problem, and in this project, when I go to localhost:8080/q/swagger-ui I expected the same behavior of swagger-ui displaying

Actual behavior: I got a “no service was found” on my swagger-ui but I don’t understand why …

Configuration

# Set up the users and roles using properties files
quarkus.security.users.file.enabled=true
quarkus.security.users.file.users=users.properties
quarkus.security.users.file.roles=roles.properties
quarkus.security.users.file.realm-name=Company
quarkus.security.users.file.plain-text=true

quarkus.http.auth.policy.role-employee.roles-allowed=employee
quarkus.http.auth.permission.roles.paths=/q/*
quarkus.http.auth.permission.roles.policy=role-employee

quarkus.cxf.endpoint."/dalkia-ticket-loader".published-endpoint-url=http://localhost:8080/dalkia-ticket-loader
quarkus.cxf.endpoint."/dalkia-ticket-loader".implementor=fr.dalkia.ticketloader.services.front.soap.RequestUpdateServiceImpl

quarkus.smallrye-openapi.path=/swagger
quarkus.swagger-ui.always-include=true
quarkus.swagger-ui.display-request-duration=true
quarkus.swagger-ui.with-credentials=true
quarkus.swagger-ui.doc-expansion=full
quarkus.swagger-ui.theme=original

Screenshots

(If applicable, add screenshots to help explain your problem.)

Environment (please complete the following information):

OpenJDK Runtime Environment GraalVM CE 21.0.0.2 (build 11.0.10+8-jvmci-21.0-b06) Linux adrien 5.4.0-67-generic #75-Ubuntu SMP Fri Feb 19 18:03:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Ubuntu 20.04.2 LTS Quarkus version: 1.12.1.Final Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /home/adrien/.sdkman/candidates/maven/current Java version: 11.0.10, vendor: GraalVM Community, runtime: /home/adrien/.sdkman/candidates/java/21.0.0.2.r11-grl Default locale: fr_FR, platform encoding: UTF-8 OS name: “linux”, version: “5.4.0-67-generic”, arch: “amd64”, family: “unix”

**bellow all attached screen quarkus8 quarkus7 quarkus6 quarkus5 quarkus4 quarkus3 quarkus2 quarkus1

**

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
aruffiecommented, Mar 24, 2021

ok thank @shumonsharif it’s work properly now 😃 because I didn’t think to aggregate the both URL for soap endpoint. You can close de ticket. BTW after trying with “quarkus.cxf.path=/” I realized that can request on “http://localhost:8080**//**dalkia-ticket-loader” … I tried to put:

quarkus.cxf.path= quarkus.cxf.endpoint.“/dalkia-ticket-loader”.implementor=fr.dalkia.ticketloader.services.front.soap.RequestUpdateServiceImpl quarkus.resteasy.path=/services

In order to keep retrocompatibility with ours old calling URL like http://localhost:8080/dalkia-ticket-loader by hope that the URL will be construct with http://localhost:8080/ + “” + “/dalkia-ticket-loader” but not really work … it’s just too bad for this last case not to be able to keep my url. Maybe a point of improvement to think about 😃

But for now @phillip-kruger @shumonsharif you can close the ticket, thank 😃 @shumonsharif I don’t forget to produce a hello-world from wsdl case, for the Quarkus-Cxf Quarkiverse !

1reaction
phillip-krugercommented, Mar 22, 2021

Yes anything that reproduce the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

swagger-ui No mapping found for HTTP request
swagger -ui No mapping found for HTTP request ... I'm trying to document and existing Rest API a Spring MVC project (NOT spring...
Read more >
Configuration - Swagger Documentation
String , REQUIRED if domNode is not provided. The ID of a DOM element inside which SwaggerUI will put its user interface. domNode,...
Read more >
Troubleshooting issues when using Swagger as a REST API ...
The Swagger UI provides a sample request response that helps to integrate AR System server with the REST service.
Read more >
Solved: No service handler defined for service - PTC Community
Solved: Hello, i just created a API class and an endpoint in Java (Using Windchill and Navigate). The endpoint is displayed in Swagger...
Read more >
Using OpenAPI and Swagger UI - Quarkus
The solution is located in the openapi-swaggerui-quickstart directory. ... an example service quarkus.smallrye-openapi.info-terms-of-service=Your terms here ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found