How to generate WADL?
up vote
0
down vote
favorite
I have a REST api written with spring and I'm interested in generating a WADL from that service.
I saw few posts talking about that it's built in into spring & jersey and should be available from this url (using browser in my case):
http://< host >:8080/< Project Name >/management/application.wadl
in web.xml:
<servlet-mapping>
<servlet-name>rest</servlet-name>
<url-pattern>/management/*</url-pattern>
Controller:
@RestController
@RequestMapping(value = "/management" )
public class MyConroller {
But I'm getting: HTTP Status 404
The requested resource is not available.
I tried following these instructions, but still not working for me:-
https://github.com/autentia/wadl-tools
(can reffer to this issue: wadl-tools)
How can I enable it?
Thanks.
spring rest jersey wadl
add a comment |
up vote
0
down vote
favorite
I have a REST api written with spring and I'm interested in generating a WADL from that service.
I saw few posts talking about that it's built in into spring & jersey and should be available from this url (using browser in my case):
http://< host >:8080/< Project Name >/management/application.wadl
in web.xml:
<servlet-mapping>
<servlet-name>rest</servlet-name>
<url-pattern>/management/*</url-pattern>
Controller:
@RestController
@RequestMapping(value = "/management" )
public class MyConroller {
But I'm getting: HTTP Status 404
The requested resource is not available.
I tried following these instructions, but still not working for me:-
https://github.com/autentia/wadl-tools
(can reffer to this issue: wadl-tools)
How can I enable it?
Thanks.
spring rest jersey wadl
Possible duplicate of What is the reason for using WADL?
– K.Nicholas
Nov 11 at 15:05
Hi, could you share your code with controller?
– Mykhailo Moskura
Nov 12 at 1:47
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a REST api written with spring and I'm interested in generating a WADL from that service.
I saw few posts talking about that it's built in into spring & jersey and should be available from this url (using browser in my case):
http://< host >:8080/< Project Name >/management/application.wadl
in web.xml:
<servlet-mapping>
<servlet-name>rest</servlet-name>
<url-pattern>/management/*</url-pattern>
Controller:
@RestController
@RequestMapping(value = "/management" )
public class MyConroller {
But I'm getting: HTTP Status 404
The requested resource is not available.
I tried following these instructions, but still not working for me:-
https://github.com/autentia/wadl-tools
(can reffer to this issue: wadl-tools)
How can I enable it?
Thanks.
spring rest jersey wadl
I have a REST api written with spring and I'm interested in generating a WADL from that service.
I saw few posts talking about that it's built in into spring & jersey and should be available from this url (using browser in my case):
http://< host >:8080/< Project Name >/management/application.wadl
in web.xml:
<servlet-mapping>
<servlet-name>rest</servlet-name>
<url-pattern>/management/*</url-pattern>
Controller:
@RestController
@RequestMapping(value = "/management" )
public class MyConroller {
But I'm getting: HTTP Status 404
The requested resource is not available.
I tried following these instructions, but still not working for me:-
https://github.com/autentia/wadl-tools
(can reffer to this issue: wadl-tools)
How can I enable it?
Thanks.
spring rest jersey wadl
spring rest jersey wadl
edited Nov 12 at 10:26
asked Nov 11 at 13:04
zbeedatm
669
669
Possible duplicate of What is the reason for using WADL?
– K.Nicholas
Nov 11 at 15:05
Hi, could you share your code with controller?
– Mykhailo Moskura
Nov 12 at 1:47
add a comment |
Possible duplicate of What is the reason for using WADL?
– K.Nicholas
Nov 11 at 15:05
Hi, could you share your code with controller?
– Mykhailo Moskura
Nov 12 at 1:47
Possible duplicate of What is the reason for using WADL?
– K.Nicholas
Nov 11 at 15:05
Possible duplicate of What is the reason for using WADL?
– K.Nicholas
Nov 11 at 15:05
Hi, could you share your code with controller?
– Mykhailo Moskura
Nov 12 at 1:47
Hi, could you share your code with controller?
– Mykhailo Moskura
Nov 12 at 1:47
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
Managed using wadl-tools.
see: https://github.com/autentia/wadl-tools/issues/7
But I understood that this is an old aproch, so switched to OpenApi with swagger which looks much better:
A 'simple' way to implement Swagger in a Spring MVC application
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Managed using wadl-tools.
see: https://github.com/autentia/wadl-tools/issues/7
But I understood that this is an old aproch, so switched to OpenApi with swagger which looks much better:
A 'simple' way to implement Swagger in a Spring MVC application
add a comment |
up vote
0
down vote
accepted
Managed using wadl-tools.
see: https://github.com/autentia/wadl-tools/issues/7
But I understood that this is an old aproch, so switched to OpenApi with swagger which looks much better:
A 'simple' way to implement Swagger in a Spring MVC application
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Managed using wadl-tools.
see: https://github.com/autentia/wadl-tools/issues/7
But I understood that this is an old aproch, so switched to OpenApi with swagger which looks much better:
A 'simple' way to implement Swagger in a Spring MVC application
Managed using wadl-tools.
see: https://github.com/autentia/wadl-tools/issues/7
But I understood that this is an old aproch, so switched to OpenApi with swagger which looks much better:
A 'simple' way to implement Swagger in a Spring MVC application
edited Nov 14 at 13:09
answered Nov 12 at 12:49
zbeedatm
669
669
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53249008%2fhow-to-generate-wadl%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Possible duplicate of What is the reason for using WADL?
– K.Nicholas
Nov 11 at 15:05
Hi, could you share your code with controller?
– Mykhailo Moskura
Nov 12 at 1:47