+ Start a Discussion
svidyansvidyan 

Add 'Not Null' checks in Generated WSDL

Hi,

 

I am new to creating webservices using Apex

svidyansvidyan

Sorry, this is a continuation of the earlier message.

 

I am new to creating webservices in apex. How do I add the 'Not Null' constraints in the generated wsdl?

Do I have to edit the wsdl manually for this or I can add this through apex code?

 

Similarly how to add other  contraints like 'Valid Values'?

 

thanks

Svidyan

NaishadhNaishadh

Hi,

 

WSDL is a virtual handshake between your application and outside world. you can't add any validation in wsdl. that part you need to take care in your application only.