• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

spring-boot produce a web service : how to change the input and output class name

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am using spring-boot to produce a web service
but I would like to use as input and output class something like requestBean and responseBean

I have the impression that spring-boot wants to have input and output classes like XXXRequest and XXXResponse

Regards Franck
 
Franck Benault
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am following the example https://spring.io/guides/gs/producing-web-service/.
Now I would like to change the input and output classes. In the example they are GetCountryRequest and GetCountryResponse.
I would like to name them RequestBean and ResponseBean. – Franck Benault 16 hours ago  
 
in the example spring.io/guides/gs/producing-web-service in the file countries.xsd,
the elements must finish by Request or Response. How can I have something different ?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic