Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Apply schema to the response  RSS feed

Ranch Hand
Posts: 34
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Spring web services. My web xml has

My wsdl is generted on the following url : http://localhost:8080/MyProject/services?wsdl
I get the xml response of one of my service methods by http://localhost:8080/MyProject/services/getStudents
The getStudents method return an array of StudentBean which is displayed in xml format by the web service
StudentBean has the folowing attributes : name, class, height, weight, isMember
I want to display isMember as a attribute of student node, nut currently it is is showing as an element of student node
i want to include a schema which i have made to customize my student node in the response of my web service.
How can i do this?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!