You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jim O'Callaghan <ji...@peritussolutions.com> on 2010/09/04 23:14:45 UTC

Invoke Web Service from T5

Has anyone an example of the following they could share?  I have a need to
take some xml (a WS message) from a textarea submitted from within a
Tapestry page, forward the xml to an external public webservice, the url of
which is known, take the response from the webservice invocation and return
it within the tapestry page (possibly within new browser window/tab using
javascript).  The goal is for a convenient demo situation, to avoid using
another desktop app to send the xml to the webservice - at the moment I'm
jumping through hoops generating WS clients etc. but I think this is
probably unnecessary as I can obviously invoke the service and get the
anticipated response using SOAPUI etc. - any pointers very much appreciated.

 

Regards,

Jim.


RE: Invoke Web Service from T5

Posted by Jim O'Callaghan <jc...@yahoo.co.uk>.
Nevermind this query - I got something sufficient working using JS and
XMLHttpRequest/Microsoft.XMLHTTP/Msxml2.XMLHTTP - no WS client needed.

Regards,
Jim.

-----Original Message-----
From: Jim O'Callaghan [mailto:jim@peritussolutions.com] 
Sent: 04 September 2010 22:15
To: 'Tapestry users'
Subject: Invoke Web Service from T5

Has anyone an example of the following they could share?  I have a need to
take some xml (a WS message) from a textarea submitted from within a
Tapestry page, forward the xml to an external public webservice, the url of
which is known, take the response from the webservice invocation and return
it within the tapestry page (possibly within new browser window/tab using
javascript).  The goal is for a convenient demo situation, to avoid using
another desktop app to send the xml to the webservice - at the moment I'm
jumping through hoops generating WS clients etc. but I think this is
probably unnecessary as I can obviously invoke the service and get the
anticipated response using SOAPUI etc. - any pointers very much appreciated.

 

Regards,

Jim.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org