cancel
Showing results for 
Search instead for 
Did you mean: 

ByDesign, call webservice remove and empty tags

SamueleBarzaghi
Participant
0 Kudos

Hi,

Is possible in ByDesign call a SOAP webservice and remove empty tags in sending payload?

Payload instead of:

<Name>Sam

<SecondName/>

</Name>

should be:

<Name>Sam</Name

Thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

SamueleBarzaghi
Participant
0 Kudos

Hi Michael,

In the WSDL these fields have " minOccurs="0" ", the SoapUI generated request for these fields contains "<!--Optional:-->", we don't fill them however the empty tags in the payload are generated.

Is there any option to control this behavior?

Thank you so much

Best Regards

0 Kudos

Dear Samuele,

please see the wsdl (that you can download from the Service Explorer view in the Application and User Management Workcenter) for the information which fields are optional and can be omitted.

When using e.g. Soap UI to view the wsdl then optional fields are announced as "<!--Optional:-->"

I hope this answers your question.

Best regards
Michael