Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apply schema to the response

Shwetha Sharma
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