• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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 ?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic