Skip to:
Whenever passing in an ID into GetESDLDefinition if the id is invalid the response status still returns: 0. This is a false positive and should be -1
FYI:
New failure response:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"><soap:Body><GetESDLDefinitionResponse xmlns="urn:hpccsystems:ws:wsesdlconfig"><Id>sda.1</Id><XMLDefinition/><status><Code>-1</Code><Description>Unable to fetch ESDL Service definition from dali: 'sda.1'</Description></status></GetESDLDefinitionResponse></soap:Body></soap:Envelope>
Also, remember to handle unexpected SOAP exceptions:
<Exceptions xmlns="urn:hpccsystems:ws:wsesdlconfig" xsi:schemaLocation="urn:hpccsystems:ws:wsesdlconfig http://10.0.2.15:8010/WsESDLConfig/?xsd"><Source>Esp</Source><Exception><Code>401</Code><Audience>user</Audience><Message>Unauthorized Access</Message></Exception></Exceptions>
6.0.2 fix
Whenever passing in an ID into GetESDLDefinition if the id is invalid the response status still returns: 0. This is a false positive and should be -1