This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Does saxon:output do an HTTP POST? (Using XSLT as a Web Services bridge)
- From: michael dot h dot kay at ntlworld dot com
- To: xsl-list at lists dot mulberrytech dot com
- Cc: paul at prescod dot net
- Date: Mon, 27 May 2002 16:38:00 +0000
- Subject: Re: Re: [xsl] Does saxon:output do an HTTP POST? (Using XSLT as a Web Services bridge)
- Reply-to: xsl-list at lists dot mulberrytech dot com
Saxon 7.1 provides an OutputURIResolver which works the same for output documents as the JAXP URIResolver works for input documents: it allows you to intercept the URI passed to xsl:result-document and send the document where you will.
Michael Kay
>
> From: "Roger L. Costello" <costello@mitre.org>
> Date: Mon, 27 May 2002 09:13:17 -0400
> To: xsl-list@lists.mulberrytech.com
> CC: paul@prescod.net
> Subject: Re: [xsl] Does saxon:output do an HTTP POST? (Using XSLT as a Web
> Services bridge)
>
> "Roger L. Costello" wrote:
> >
> > Can the SAXON:output element be used to send XML data to the Web
> > service? In other words, does the SAXON:output element do an HTTP
> > POST? If so, we can use XSLT as a bridge between Web services...
>
> I just did a test. I created a Web service on my local machine which
> consumes XML. I created a stylesheet that did SAXON:output to that
> service. When I ran it SAXON gave me an error message,
>
> "Failed to create output file http://localhost:8080/servlet/sample"
>
> xalan also bombed. It gave me an error:
>
> java.lang.reflect.InvocationTargetException
>
> I am very disappointed. This means that it's possible to input from a
> Web service (using document()), but it is not possible to output to a
> Web service. In my mind, I see this as a major inconsistency between
> the input capability and the output capability. Does anyone know of
> what is planned for XSLT 2.0? I believe that there will be a built-in
> output element, correct? Will it be able to do an HTTP POST to any
> consumer of XML (such as a Web service)? /Roger
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list