This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes how do i make a field mandatory in my WSDL using axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "how do i make a field mandatory in my WSDL using axis2" Watch "how do i make a field mandatory in my WSDL using axis2" New topic
Author

how do i make a field mandatory in my WSDL using axis2

madhup narain
Ranch Hand

Joined: Dec 14, 2004
Posts: 148
I am exposing a simple web service using axis 2.

How do i make sure that the WSDL generates minOccurs=1
Lets say

I have a method


i want to make sure that data1 is mandatory and data2 is not.
WSDL always generated it as minOccurs=0 on runtime in Axis 2. Can i specify that data1 is mandatory and data2 is not in the code so that it can be reflected in WSDL


Money for nothing and Java for Free
SCJP, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how do i make a field mandatory in my WSDL using axis2
 
Similar Threads
Reading multiple CSV files
NX: Bodgitt and Scarper and design/synchronization questions
SQL Database Structure
Encoding and .net/Axis Interoperability
How to read XML data