>Or did you write your own generator for XML-RPC?
Well, we currently use Apache SOAP RPC and are trying to transition to
Apache Axis Web Services...if we don't make it to web services, we'll at
least use Axis's implementation of JAX-RPC. These calls are facilitated by
Java libraries creating the 'transport' message effectively (somewhat)
loosely coupling our payload with the delivery method. Since I don't want
to be in the business of creating transport messages around my payload, I
rely on them to do the exchange.
Sorry if I was long-winded. In conclusion, from cocoon's standpoint, my
xml originates from a java class and I need to interact.
Since this was a bit off this topic, I posted a new Thread: How To
map:generate XML that has been retrieved from Java without using XSP
Kevin
"Andreas
Hartmann" To: [EMAIL PROTECTED]
<user@cocoonce cc:
nter.de> Subject: Re: How To Mount My WebApp
(powered by cocoon)
02/26/2002
10:36 AM
Please respond
to
cocoon-users
Hi Kevin,
*********** REPLY SEPARATOR ***********
On 26.02.2002 at 10:24 [EMAIL PROTECTED] wrote:
>Another note: I'm very new to cocoon. I felt that I should just mount a
>sub sitemap in the cocoon deployment (as you stated previously):
>
> <map:match pattern="/bredex/**">
> <map:mount uri-prefix="/bredex" src="/bredex/"
>check-reload="yes"/>
> </map:match>
>
>And then deploy my webApp war file as context /bredex. This didn't really
>work out for me and I thought that I misconfigured C2. Now that I think
>about it, I didn't use Tomcat4's deployment manager so the problem may lie
>there in that tomcat may not be able to find that deployed context????
>
>
>More detail:
>
>deploy cocoon.war
>deploy bredex.war (without cocoon resources inside)
>
>bredex.war contains xsl/classes that generate xml (from xml-rpc) and I
want
>to use C2 framework for processing
>
I guess you use a XML-RPC servlet?
Then you could configure your bredex/web.xml to map requests to this
servlet
and access the servlet URI with a ServerPagesGenerator from your Cocoon
subsitemap. That's the only way I could imagine how it works.
Or did you write your own generator for XML-RPC?
Greetings,
Andreas
>
>
>
>
>
>
> "Andreas
>
> Hartmann" To:
>[EMAIL PROTECTED]
>
> <user@cocoonce cc:
>
> nter.de> Subject: Re: How To Mount My
>WebApp (powered by cocoon)
>
>
> 02/26/2002
>
> 09:56 AM
>
> Please respond
>
> to
>
> cocoon-users
>
>
>
>
>
>
>
>
>
>
>Hi Kevin,
>
>
>>Hello Andreas, I don't think I communicated what I want to do very
>>effectively.
>>
>>If I set a new Context in tomcat, that just sets up an alias/file mapping
>>(no knowlege of my classes, jars, and other resources)...I want to deploy
>>multiple application WAR files (without cocoon.war/jars inside) and
deploy
>>one instance of cocoon(war) to support them all.
>
>Could you explain this a little more in detail?
>For instance, I use a news and a forum WebApp that I access from
>Cocoon (something like <map:generate src=/news/{1}>) as XML sources.
>
>Or do you want to mount subsitemaps in different directorys?
>That's no problem at all, just look at the sitemap documentation.
>
>>Do I need to configure the dependency in web.xml? Anyone have any
>>references they can point me to? This is common right?
>
>I must confess that I don't know exactly how this should work.
>How do you want to use your resources in Cocoon? Not as XML sources?
>
>Greetings,
>Andreas
>
>>
>>
>>
>>
>>
>>
>>
>> "Andreas
>>
>> Hartmann" To:
>>[EMAIL PROTECTED]
>>
>> <t-rex@dinobas cc:
>>
>> e.de> Subject: Re: How To Mount My
>>WebApp (powered by cocoon)
>>
>>
>> 02/25/2002
>>
>> 04:06 PM
>>
>> Please respond
>>
>> to
>>
>> cocoon-users
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>Two additions ...
>>
>>*********** REPLY SEPARATOR ***********
>>
>>On 25.02.2002 at 22:47 Andreas Hartmann wrote:
>>
>>>*********** REPLY SEPARATOR ***********
>>>
>>>On 25.02.2002 at 15:20 [EMAIL PROTECTED] wrote:
>>>
>>>>Can someone point me to a document describing how to mount my own
>WebApps
>>>>(powered by cocoon). I want to deploy several, but not under the
cocoon
>>>>heirarchy.
>>>>
>>>
>>>Just add a context entry to your tomcat/server.xml file:
>>It's located at (tomcat-path)/conf/server.xml.
>>
>>>
>>> <!-- Intranet Context -->
>>> <Context path="/intranet" docBase="/intranet" debug="0"
>>> reloadable="true" crossContext="true"/>
>>>
>>
>>path="/intranet" means: every URI starting with /intranet
>>(e.g., http://localhost:8080/intranet/index.html is mapped to the
Intranet
>>WebApp.
>>
>>docBase="/intranet" points to the file system path.
>>
>>Greetings,
>>Andreas
>>
>>
>>---------------------------------------------------------------------
>>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: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>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: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
>
>---------------------------------------------------------------------
>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: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
>
>
>
>---------------------------------------------------------------------
>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: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>