If you know the values of the variables in advance, and there are not
too many combinations, you could use a scripting language (perl, sed
etc) to create one file for each, and then use a variable as (part of)
the soap file name.
S.
On 20/09/05, Peter Lin <[EMAIL PROTECTED]> wrote:
> I'm not sure how to handle it, since the current implementation simply
> passes the inputStream to the DocumentBuilder. If you want to give it a
> shot, I'll do what I can to help. Right now I am a bit busy with other
> enhancements, so I haven't had much time to dig further.
>
> peter
>
>
> On 9/20/05, Manish Mathuria <[EMAIL PROTECTED]> wrote:
> >
> > Hi Peter,
> > Any updates on this one? I saw your note that you were planning to ask
> > around to see how to best achieve this.
> > In order to create a realistic kind of load, I do need to send multiple
> > data files to my SOAP calls, and I see no other way than to do this
> > parameter substitution on a file system XML file.
> > please let me know, worst case, I think I can take a swing at it, but I
> > would like to do it only if it is not something that makes sense for you to
> > do.
> > Manish
> >
> > *Manish Mathuria <[EMAIL PROTECTED]>* wrote:
> >
> > Thanks much!
> >
> > *Peter Lin <[EMAIL PROTECTED]>* wrote:
> >
> >
> > unfortunately no. I'll take a look within the next few hours. if it's an
> > easy fix, I'll work on it this weekend. no promises, but I'll take a look.
> >
> > peter
> >
> >
> > On 9/16/05, Manish Mathuria <[EMAIL PROTECTED]> wrote:
> > >
> > > Peter
> > > I will log an enhancement. Meanwhile, do you know any work around?
> > > Manish
> > >
> > > *Peter Lin <[EMAIL PROTECTED]> *wrote:
> > >
> > >
> > > the way it is currently implemented, the sampler parses the XML to a DOM
> > > document and re-uses it. to get it to work that way would need an
> > > enhancement. please file an enhancement and I'll take a look
> > >
> > > thanks for reporting it
> > >
> > > peter
> > >
> > >
> > > On 9/16/05, Manish Mathuria <[EMAIL PROTECTED] > wrote:
> > > >
> > > >
> > > > I am trying to substitute a value in the input XML. This variable is
> > > > saved as a postprocessing parameter. Logging shows that this variable is
> > > > saved correctly.
> > > >
> > > > When the input XML is part of SOAP/RPC data box like (note variable
> > > > ${search_context}, things are fine, the value of the variable gets
> > > > substituted. But when this content is saved as a file and specified in
> > > > either filename or messagefolder, the value does not get substituted.
> > > >
> > > > -> sample content attached.....
> > > >
> > > > Manish
> > > >
> > > >
> > > >
> > > > <S:Envelope S:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/ "
> > > > xmlns:S="http://schemas.xmlsoap.org/soap/envelope/ "
> > > > xmlns:a="http://tempuri.org/com.stratify.datahub.mdt.common.MDTServiceImpl
> > > > " xmlns:XS="http://www.w3.org/2001/XMLSchema"
> > > > xmlns:XI="http://www.w3.org/2001/XMLSchema-instance">
> > > > <S:Body>
> > > > <a:closeFetch>
> > > > <arg0 XI:type="XS:string">${search_context}</arg0>
> > > > </a:closeFetch>
> > > > </S:Body>
> > > > </S:Envelope>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------
> > > > Yahoo! for Good
> > > > Click here to donate to the Hurricane Katrina relief effort.
> > > >
> > >
> > > ------------------------------
> > > Yahoo! for Good
> > > Click here to donate <http://store.yahoo.com/redcross-donate3/> to the
> > > Hurricane Katrina relief effort.
> > >
> > >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> > ------------------------------
> > Yahoo! for Good
> > Click here to donate <http://store.yahoo.com/redcross-donate3/> to the
> > Hurricane Katrina relief effort.
> >
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]