Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
  • 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 ?
 
Let's get him boys! We'll make him read this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic