cancel
Showing results for 
Search instead for 
Did you mean: 

Optional Mandatory

Former Member
0 Kudos

Hi,

I want to make the filed as optional, so that, if the input value does not come in the payload, the elment is not produced.

Can you help me, how to set this property while creating the Data type/ Message mapping, ASAP

Thanks,

Namadev

Edited by: Namadev Chillal on Aug 27, 2008 7:26 PM

Edited by: Namadev Chillal on Aug 27, 2008 7:27 PM

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Also you max change the xsd file adding minOccurs = "0" to element definition.

Kind regards,

Radek

Former Member
0 Kudos

Thanks, I did that,to make the elements optional.-:)

Thanks, Namadev

hemant_chahal
Contributor
0 Kudos

In Data type you have to select the occurences 0 to 1 or 0 to n. Message mapping would automatically get afftected,

Former Member
0 Kudos

Thanks Aamir. -:)

Former Member
0 Kudos

set the occurrence as 0-1 or 0-unbounded.

Aamir