java - Adding Optional Elements in a new WSDL version -


i exposing webservice multiple versions - 1,2,3 , 4.i have include new optional element in 4th version of webservice. though have different versions of endpoint , point same implementation logic. when map values optional element introduced in 4th version , should add check in implementation logic ensure value mapped if request hitting 4th version of endpoint? if not add such check , implementation logic map element newly added element requests coming in via endpoints. result in exception since other wsdls not have optional element in response or work fine since optional element?

if client side doing sort of schema validation against web service response , response data not conform version of schema client using, exception on client side possible.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -