I have an external service that requires two named parameters via HTTP
POST.  I have sample code from the service provider for sending the
parameters from Java, but as my processing is all in XQuery, I'd prefer
to use xdmp:http-post.

 I see the examples for xdmp:http-post where an XML or SOAP document can
be posted, but how do I specify the named parameters required by the
service?  Do I need to create an HTML page containing a form with named
input tags corresponding to the parameter names and pass the page within
the options data element or is there another way?

e.g.,
<html>
<body>
<form>
<input type="text" name="parameter1">
<input type="text" name="parameter2">
</form>
</body>
</html>

Bob
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to