Java Web Services Indicating Requirement Levels of Attributes

allany

New Member
I have implemented web services at my application. When I want to send an object to my server via web services over SOA with Soap UI I get something like this:\[code\]<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="http://impl.arg.lou.com/"> <soapenv:Header/> <soapenv:Body> <impl:addStudent> <!--Optional:--> <student> <!--Optional:--> <name>?</name> </student> </impl:addStudent> </soapenv:Body></soapenv:Envelope>\[/code\]I don't want name field to be optional, it should be a required field. How can I do it? I use Apache cxf.Link for Requirement Levels: http://www.ietf.org/rfc/rfc2119.txt
 
Back
Top