Re: Submission Pipleline with no Request Parameters

Posted by Hank Ratzesberger on
URL: https://discuss.orbeon.com/Submission-Pipleline-with-no-Request-Parameters-tp32043p32049.html


Sorry for that ommision.
I do have things working in the sandbox.
Probably need to clean my glasses...

Thank you,
Hank

Quoting Alessandro Vernet <[hidden email]>:

> Hank,
>
> You might have this problem because "ed" is missing in your URL
> (protected instead of protect). Try to run this pipeline in the XPL
> sandbox:
>
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>    xmlns:oxf="http://www.orbeon.com/oxf/processors"
>    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>    xmlns:xforms="http://www.w3.org/2002/xforms"
>    xmlns:xxforms="http://orbeon.org/oxf/xml/xforms">
>
> <p:param name="data" type="output"/>
>
>    <p:processor name="oxf:xforms-submission">
>        <p:input name="submission">
>              <xforms:submission method="get" serialize="false"
>                action="http://www.scdi.org/~avernet/try/protected/index.xml"
>                xxforms:username="ops" xxforms:password="ops" />
>        </p:input>
>        <p:input name="request">
>            <parameters/>
>        </p:input>
>        <p:output name="response" ref="data" />
>    </p:processor>
>
> </p:config>
>
> You will see that the output is <p>It worked!</p>, which is the
> content of the file
> http://www.scdi.org/~avernet/try/protected/index.xml.
>
> Alex
>
> On 12/22/06, Hank Ratzesberger <[hidden email]> wrote:
> > Thanks Alex, I do get the same results using
> > your service.  I suspect "pilot error" but I don't
> > know what is wrong at this point. Immediately below
> > is the submission element I form, next is the
> > equivalent to my pipeline.  Appreciate any tips.
> >
> > Best, Hank
> >
> > <xforms:submission
> >   method="get"
> >   serialize="false"
> >   action="http://www.scdi.org/~avernet/try/protect/index.xml"
> >   xxforms:username="ops"
> >   xxforms:password="ops"/>
> >
> >
> > <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
> >     xmlns:oxf="http://www.orbeon.com/oxf/processors"
> >     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> >     xmlns:xforms="http://www.w3.org/2002/xforms"
> >     xmlns:xxforms="http://orbeon.org/oxf/xml/xforms">
> >
> >     <p:processor name="oxf:identity">
> >         <p:input name="data">
> >           <preferences xmlns="">
> >             <username>ops</username>
> >             <password>ops</password>
> >           </preferences>
> >         </p:input>
> >         <p:output name="data" id="preferences"/>
> >     </p:processor>
> >
> >     <p:processor name="oxf:xslt">
> >         <p:input name="config">
> >           <xsl:stylesheet>
> >             <xsl:template match="/preferences">
> >               <xforms:submission method="get" serialize="false"
> >                 action="http://www.scdi.org/~avernet/try/protect/index.xml"
> >                 xxforms:username="ops" xxforms:password="ops" />
> >             </xsl:template>
> >           </xsl:stylesheet>
> >         </p:input>
> >         <p:input name="data" href="#preferences" />
> >     </p:processor>
> >
> >     <p:processor name="oxf:xforms-submission">
> >         <p:input name="submission" href="#submission" />
> >         <p:input name="request">
> >             <parameters/>
> >         </p:input>
> >         <p:output name="response" id="response" />
> >     </p:processor>
> >
> >     <p:processor name="oxf:xml-serializer">
> >         <p:input name="config">
> >             <config>
> >                   <content-type>text/xml</content-type>
> >             </config>
> >         </p:input>
> >         <p:input name="data" href="#submission" />
> >     </p:processor>
> >
> > </p:config>
> >
> >
> > ----- Original Message -----
> > From: "Alessandro Vernet" <[hidden email]>
> > To: <[hidden email]>
> > Sent: Thursday, December 21, 2006 6:11 PM
> > Subject: Re: [ops-users] Submission Pipleline with no Request Parameters
> >
> >
> > > On 12/21/06, Hank Ratzesberger <[hidden email]> wrote:
> > >> So, I have a work around (url-generator) and am happy to run any tests
> > >> you suggest. There is no test server that does not have real
> > >> users and passwords, so providing a test case for you is
> > >> problematic but not impossible.
> > >
> > > Hank,
> > >
> > > If this helps building a reproducible use case, you can use the
> > > following URL (login with ops/ops):
> > >
> > > http://www.scdi.org/~avernet/try/protected/index.xml
> > >
> > > Alex
> > > --
> > > Blog (XML, Web apps, Open Source):
> > > http://www.orbeon.com/blog/
> > >
> > >
> >
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the [hidden email]
> mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> Blog (XML, Web apps, Open Source):
> http://www.orbeon.com/blog/
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws