Opened 5 years ago
Closed 4 years ago
#2243 closed enhancement (fixed)
WSClient - parse the error message in XML exception from petascope
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.0 |
Component: | wcsclient | Version: | 9.8 |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu, Peter Baumann | |
Complexity: | Medium |
Description
The error message from Petascope is wrapped inside XML according to the standard. WSClient can parse the error message inside it and shows to users. Example:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ows:ExceptionReport version="2.0.1" xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink"> <ows:Exception exceptionCode="InvalidSubsetting"> <ows:ExceptionText>slicing '2015-01-31' is not valid for irregular axis 'unix'.</ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>
Then it should show only in WSClient
slicing '2015-01-31' is not valid for irregular axis 'unix'.
Change History (3)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
..or even better: