cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Langham" <mlang...@s-und-n.de>
Subject XML-RPC and Cocoon (Was: How To map:generate XML that has been retrieved from Java without using XSP)
Date Tue, 26 Feb 2002 17:00:53 GMT
Hi Kevin,

>>
Is there a way I can configure a reflection based action or generator to
call an XML-RPC service by xml configuration utilizing request parameters?
<<
a tough one. But then again maybe not.

What you would need is a Transformer that can call an XML-RPC service based
on request parameters it is passed - right?

Something like:

<cocoon:call-xml-rpc>
  <target>http://myserver/xyzservice</target>
  <methodName>examples.getStateName</methodName>
   <params>
      <param>
         <value><i4>41</i4></value>
      </param>
   </params>
</cocoon:call-xml-rpc>

The Transformer would then take this and call the service and pipe the
response back into the pipeline.

Is this something like what you were thinking?

I think we should now move this over to cocoon-dev - because as yet there is
no xml-rpc transformer or similar and I would love to hear what others
think.

That being said - we should implement something like this ASAP. Or is there
something out there?

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  mlangham@s-und-n.de - http://www.s-und-n.de
           Weblogging at: http://www.need-a-cake.com
=================================================================


-----Original Message-----
From: Kevin.Ross@bredex.com [mailto:Kevin.Ross@bredex.com]
Sent: Tuesday, February 26, 2002 5:29 PM
To: cocoon-users@xml.apache.org
Subject: How To map:generate XML that has been retrieved from Java
without using XSP


Since I'm new to cocoon, this may be very easy, but I've read a great deal
of documentation and haven't run across it.

Without using XSP, how can I call on the generator to process xml that is
dynamically retrieved by my java class?  Would this be an action?



Taking it a bit further:

Is there a way I can configure a reflection based action or generator to
call an XML-RPC service by xml configuration utilizing request parameters?



Thanks in advance,

Kevin


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message