Hi James,
Would the webservicesproxygenerator help you out here?
I use it to call another web application written in Struts that returns the 
data as either XML or XHTML.

I call it like this, passing through parameters as needed:
<map:generate type="wsproxy" 
src="{global:proxy-src}/aim/linkedAssets.do?webLink=Y&amp;token={session-attr:token}">

Check out the docs for it.

Hope this helps,

Regards,

Tony

PS Merry Christmas to everyone!

James Holstead wrote:
Thank you Janne,

My apologies, because I just realized that I forgot to mention the need
to pass uri params to the servlet aswell.
I know generate type="file" doesn't support this..I'll look at the
x/cinclude specifications.


-----Original Message-----
From: Janne K. Olesen [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 8:24 PM
To: [email protected]
Subject: RE: sitemap get xml from pure java servlet

Hallo James,

there is more than one solution, for example:

1. Cocoon's file transformer is able to read files using "http", so just
use something like

<map:generate src="http://your-servlet-url/"; type="file"/>
<map:transform ...>

in your sitemap.

2. Have a look at cInclude-/xInclude-Tranformer to include external
(xml-)-content into your files.

Greetings
Janne K. Olesen


Hello,
I have a servlet that processes credit card transaction for various
gateways and returns XML responses. Is it possible for a sitemap to
send
URI arguments to a 'non-xsp' servlet like this and load the resulting
XML back through a transformer?  (wanting to keep third party gateway
software as a non-cocoon servlet Or am I better of just cut and pasting into an xsp:logic and hoping
for
the best?
James Holstead
Software Engineer
Tybrin Corporation
tybrin.com
850.337.2718
This e-mail and any files transmitted with it are the property of
TYBRIN
Corporation, are confidential, and are intended solely for the use of
the individual or entity to which this email is addressed. If you are
not one of the named recipient(s) or otherwise have reason to believe
that you have received this message in error, please delete this
message
immediately. Any other use, retention, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--

This email is from Civica Pty Limited and it, together with any attachments, is confidential to the intended recipient(s) and the contents may be legally privileged or contain proprietary and private information. It is intended solely for the person to whom it is addressed. If you are not an intended recipient, you may not review, copy or distribute this email. If received in error, please notify the sender and delete the message from your system immediately. Any views or opinions expressed in this email and any files transmitted with it are those of the author only and may not necessarily reflect the views of Civica and do not create any legally binding rights or obligations whatsoever. Unless otherwise pre-agreed by exchange of hard copy documents signed by duly authorised representatives, contracts may not be concluded on behalf of Civica by email. Please note that neither Civica nor the sender accepts any responsibility for any viruses and it is your responsibility to scan the email and the attachments (if any). All email received and sent by Civica may be monitored to protect the business interests of Civica.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to