Normally the definition in the WSDL says minOccurs="0" which means optional, how can this be changed. See example part of a WSDL:

  <xs:element minOccurs="0" name="param" type="xs:string"/>

asked 18.08.2014 at 16:33

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
accept rate: 77%

To make a whole parameter required is not possible in Ivy, because you have to change the generated webservice class. This is not recommended because ivy has to regenerated the class if something changes int the associated webservice process.

To make an field of an complex attribute required you have to create an own Java class which you then use as parameter. See example Java class below which makes the field param required.

public class MyWsBean {
    private String param;

The generated WSDL looks like this:

  <xs:element name="param" type="xs:string"/>

answered 18.08.2014 at 16:41

Christian%20Strebel's gravatar image

Christian St... ♦
accept rate: 88%

edited 18.08.2014 at 16:43

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 18.08.2014 at 16:33

Seen: 1,842 times

Last updated: 02.06.2015 at 15:10