> - does it support HTTPS URLs (everywhere)? Especially with SOAP and
XML-RPC
> they're most often carried over HTTP + SSL.
These tags are all just built on top of Java's standard URL and
HttpURLConnection classes so I would have thought HTTPS is supported. I'll
investigate further though.
Do you know if there are any HTTPS services anywhere on the web
(HTTP/SOAP/XML-RPC) that I can test against and add it into the sample
web-app?
> - <http:head> to just do a head request (ie to get the last modified date
of
> a page or something)
All HTTP requests are supported via the action attribute:-
<http:request url="something" action="HEAD"/>
<http:request url="something" action="PUT"/>
<http:request url="something" action="OPTIONS"/>
<http:request url="something" action="TRACE"/>
etc.
I named the attribute "action" so that it is the same as in HTML's FORM
element. e.g. <form action="get"/>
> I'm sure there's more but this is awesome already.
I think I'll make the SOAP and xmlrpc tags always output a standard XML
response rather than throwing JspExceptions on failures. That way its easy
to handle all errors in a similar manner (using say XSL to format the XML
that gets returned).
For example if the URL connection fails with FileNotFoundException or times
out or whatever, I'll format a valid SOAP/XMLRPC response such that those
client side errors can be treated symmetrically with server side errors.
<James/>
James Strachan
=============
email: [EMAIL PROTECTED]
web: http://www.metastuff.com
__________________________________________________________________
If you are not the addressee of this confidential e-mail and any
attachments, please delete it and inform the sender; unauthorised
redistribution or publication is prohibited.
Views expressed are those of the author and do not necessarily
represent those of Citria Limited.
__________________________________________________________________