//p[class='ErrorMessage']/text() and
//p[class='ErrorDescription']/text().
X-Jersey-Trace-Accept
HTTP request header with any value to the
request. This will cause the 404 response to have
X-Jersey-Trace-nnn
headers that will describe the failed attempts to match the request to
a Web service implementation.//p[class='ErrorMessage']/text()
value described above is accessible by //p[2]/text()
in
the error response from both these web services and their hosting
application server. Likewise, the //p[class='ErrorDescription']/text()
value described above is accessible by //p[3]/text()
in
the error response from both these web services and their hosting
application server.
curl
,
xsltproc
, and xmllint
. Here is the output from running the example.java.net.HttpURLConnection.
com.sun.jersey.api.client
).Operation |
Implementation |
Details |
---|---|---|
Get WADL |
OPTIONS / |
Details |
Get About Info. |
GET /about |
|
Get Privacy Info. |
GET /privacy |
|
Get Terms of Use Info. |
GET /termsOfUse |
|
Get an Eventlist |
GET /eventlists/{listname:
[a-zA-Z][a-zA-Z_0-9]*} |
Details |
Search Eventlists |
GET
/eventlists?keyword={keyword}&xpathp={xpathp} |
Details |
Eventlist Union |
GET /union?listUrl={listUrl} |
Details |
Eventlist Intersection |
GET
/intersection?listUrl={listUrl} |
Details |
Shift
Times of Eventlist |
GET
/shiftTimes?quantity={quantity}&listUrl={listUrl} |
Details |
POST
/shiftTimes?quantity={quantity} |
Details |
|
Adjust
TimeSpans of Eventlist |
GET
/adjustTimeSpans?quantity={quantity}&listUrl={listUrl} |
Details |
POST
/adjustTimeSpans?quantity={quantity} |
Details |
$ curl --request OPTIONS http://helm.gsfc.nasa.gov/WS/helm/1/ | xmllint --format -
HTTP Method |
GET |
|
URI |
/eventlists/{listname:[a-zA-Z][a-zA-Z_0-9]*} |
|
Significant
Request Headers |
Accept |
application/xml |
application/json | ||
If-Modified-Since |
||
Request Entity |
none |
|
Significant Response Headers |
Last-Modified |
|
Reponse
Entity |
Content-Type: application/xml | As specified by Eventlist in helm.xsd |
Content-Type: application/json | JSON representation of Eventlist in helm.xsd | |
Most
Likely Response Codes |
200 |
Ok |
304 |
Not Modified |
|
404 |
Not Found |
[a-zA-Z][a-zA-Z_0-9]*
.HTTP Method |
GET |
|
URI |
/eventlists?keyword={keyword}&xpathp={xpathp} |
|
Significant
Request Headers |
Accept |
application/xml |
application/json | ||
application/xhtml+xml |
||
Request Entity |
none |
|
Reponse
Entity |
Content-Type: application/xml | As specified by EventlistDescriptions in helm.xsd |
Content-Type: application/json | JSON representation of EventlistDescriptions in helm.xsd | |
Content-Type:
application/xhtml+xml |
A very basic XHTML page with an
unordered list (<ul>) containing the spase:Name values and an
href link to the actual Eventlist. This is intended primarily for
debugging and not expected to be very useful for general clients. |
|
Most
Likely Response Codes |
200 |
|
400 |
||
404 |
HTTP Method |
GET |
|
URI |
/union?listUrl={listUrl} |
|
Significant
Request Headers |
Accept |
application/xml |
application/json | ||
Request Entity |
none |
|
Reponse
Entity |
Content-Type: application/xml | As specified by Eventlist in helm.xsd |
Content-Type: application/json | JSON representation of Eventlist in helm.xsd | |
Most
Likely Response Codes |
200 |
|
400 |
||
404 |
HTTP Method |
GET |
|
URI |
/intersection?listUrl={listUrl} |
|
Significant
Request Headers |
Accept |
application/xml |
application/json | ||
Request Entity |
none |
|
Reponse
Entity |
Content-Type: application/xml | As specified by Eventlist in helm.xsd |
Content-Type: application/json | JSON representation of Eventlist in helm.xsd | |
Most
Likely Response Codes |
200 |
|
400 |
||
404 |
HTTP Method |
GET |
|
URI |
/shiftTimes?listUrl={listUrl}&quantity={quantity} |
|
Significant
Request Headers |
Accept |
application/xml |
application/json | ||
Request Entity |
none |
|
Reponse
Entity |
Content-Type: application/xml | As specified by Eventlist in helm.xsd |
Content-Type: application/json | JSON representation of Eventlist in helm.xsd | |
Most
Likely Response Codes |
200 |
|
400 |
||
404 |
Eventlist/Event/TimeSpan/StartDate
and Eventlist/Event/TimeSpan/StopDate
value within the
specified Eventlist. The Duration value may be positive or
negative.HTTP Method |
POST |
|
URI |
/shiftTimes?quantity={quantity} |
|
Significant
Request Headers |
Accept |
application/xml |
application/json | ||
Request Entity |
As specified by Eventlist in helm.xsd |
|
Reponse
Entity |
Content-Type: application/xml | As specified by Eventlist in helm.xsd |
Content-Type: application/json | JSON representation of Eventlist in helm.xsd | |
Most
Likely Response Codes |
200 |
|
400 |
||
404 |
Eventlist/Event/TimeSpan/StartDate
and Eventlist/Event/TimeSpan/StopDate
value within the
specified Eventlist. The Duration value may be positive or
negative.HTTP Method |
GET |
|
URI |
/adjustTimeSpans?listUrl={listUrl}&quantity={quantity} |
|
Significant
Request Headers |
Accept |
application/xml |
application/json | ||
Request Entity |
none |
|
Reponse
Entity |
Content-Type: application/xml | As specified by Eventlist in helm.xsd |
Content-Type: application/json | JSON representation of Eventlist in helm.xsd | |
Most
Likely Response Codes |
200 |
|
400 |
||
404 |
Eventlist/Event/TimeSpan
value within the specified Eventlist. The Duration value may be
positive or negative. Half of the Duration value is subtracted
from the each Eventlist/Event/TimeSpan/StartDate
value
and half of the Duration value is added to the Eventlist/Event/TimeSpan/StopDate
value.HTTP Method |
POST |
|
URI |
/adjustTimeSpans?quantity={quantity} |
|
Significant
Request Headers |
Accept |
application/xml |
application/json | ||
Request Entity |
As specified by Eventlist in helm.xsd |
|
Reponse
Entity |
Content-Type: application/xml | As specified by Eventlist in helm.xsd |
Content-Type: application/json | JSON representation of Eventlist in helm.xsd | |
Most
Likely Response Codes |
200 |
|
400 |
||
404 |
Eventlist/Event/TimeSpan
value within the specified Eventlist. The Duration value may be
positive or negative. Half of the Duration value is subtracted
from
the each Eventlist/Event/TimeSpan/StartDate
value and
half of the Duration value is added to the Eventlist/Event/TimeSpan/StopDate
value.Questions or comments concerning these Web services should be sent to HELM Feedback.