cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Studer" <bruno.stu...@sisclear.com>
Subject RE: Generating XML from XSP for external use
Date Tue, 14 Nov 2000 12:26:58 GMT
I should do something similar to this (read from and write to MQSeries). I
think I will write a tag-library like fp that reads from and writes to
MQSeries instead of files. Look at fpResource.java, I think you have to
change it in order to call your EJB's.
Bruno

> -----Original Message-----
> From: Konstantin Piroumian [mailto:KPiroumian@flagship.ru]
> Sent: Dienstag, 14. November 2000 13:16
> To: cocoon-users@xml.apache.org
> Subject: Re: Generating XML from XSP for external use
>
>
> I know very well FP samples - this is not what I want.
> FP is designed to work with XML files and I need to create an XML
> node from
> within the XSP page and send it an external object such as an EJB.
> Generated XML must not be shown on the page - it must be something like a
> temporary object.
>
> Maybe my question is not clear?
>
> We have EJBs which receive XML queries and process them.
> I need to generate such a query from the request's data (user input).
> Then I must get the query as DOM object or a String and pass it to EJB's
> method.
>
> I don't know how can I generate the XML.
>
> > There is a pretty good example of this in the samples....
> > look in the FP samples directory.
> >
> > -----Original Message-----
> > From: Konstantin Piroumian [mailto:KPiroumian@flagship.ru]
> > Sent: Tuesday, November 14, 2000 6:55 AM
> > To: cocoon-users@xml.apache.org
> > Subject: Fw: Generating XML from XSP for external use
> >
> >
> > Is there anybody out there?
> >
> > > Hi, all!
> > >
> > > I have a task to generate an XML query from the user request data.
> > > F.e., I have a form with user data:
> > >
> > > First name
> > > Last name
> > > Middle name
> > > Email
> > >
> > > I receive POST-ed data and want to generate an XML (maybe XObject or
> > > DOM-node, is it the same thing?):
> > >
> > > <query type="insert" creation-time="somedate">
> > >      <class type="person">
> > >            <attribute name="first_name"
> > > value="request.getParameter("firstname");"/>
> > >            ...
> > >      </class>
> > > </query>
> > >
> > > Then I must send this XMl to a EJB for processing.
> > >
> > > What is the best way of implementing such functionality with XSP?
> > > Thanks in advance.
> > >
> > > Regards,
> > >    Konstantin Piroumian.
> > > Web Application developer
> > > Email: kpiroumian@flagship.ru
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>


Mime
View raw message