GetESDLDefinition returns false positive

Description

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

Conclusion

None

Activity

Show:

Rodrigo Pastrana May 20, 2016 at 7:39 PM
Edited

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>

Rodrigo Pastrana May 20, 2016 at 6:25 PM

6.0.2 fix

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Affects versions

Created May 18, 2016 at 3:38 PM
Updated May 23, 2016 at 1:00 PM
Resolved May 23, 2016 at 8:57 AM