Re: [xml] Using HTTP POST from XSLT to access webservices



It seems this idea is not new, but still nobody implemented it.

http://www.biglist.com/lists/xsl-list/archives/200212/msg00068.html

There is also <exslt:document> extension wich apparently doesn't let you to
get access to response message.

Does <exslt:document> do PUT or POST in case href is HTTP URL?

Thanks,
--MG

----- Original Message ----- 
From: "Fabrice Desré FTR&D/DTL/TAL" <fabrice desre francetelecom com>
To: <xml gnome org>
Sent: Thursday, February 12, 2004 2:00 AM
Subject: Re: [xml] Using HTTP POST from XSLT to access webservices


Mikhail S Grushinskiy wrote:
 > Hello all,
 >
 > I'm thinking about developing xslt extension element to allow HTTP
 > posting from XSLT, which
 > can be especially useful for web services. Does nanohttp in libxslt
 > support HTTP POST?

  Yes it does.

 > Has anyone worked on something like that? Are there any proposals for
 > dealing with HTTP POSTs from
 > XSLT (may be in exslt)?
 >
 > It would be nice if input for 'post' could be prepared by regular XSLT
 > and output XML could be parsed by XSLT,
 > something like:

 > [snip]

 > (All this is hypothetical example).
 >
 > Does this idea make sense? Or does something like this already exist?
 >
 > Thank you for your suggestions :).

  Well, it makes sense and I think I saw such an extension for another
xslt processor (can't remember which one, sorry). Note that you have to
POST data, and also transmit some additionnal HTTP headers (like the
SOAPAction: header)...

Fabrice
-- 
Fabrice Desré
France Télécom R&D/DTL/TAL
Tél: +(33) (0)2 96 05 31 43
Fax: +(33) (0)2 96 05 39 45
http://www.francetelecom.com/rd
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.587 / Virus Database: 371 - Release Date: 2/12/2004




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]