call two services in one action tag

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

call two services in one action tag

Pankaj Dwivedi
hello to all

i want to search partyid by city, state, country.  for it i find a service "findparty" in party. now i want to use this servise along with "formFind" in Lookuppartyname form.
like this

<actions>
            <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
                <field-map field-name="inputFields" env-name="parameters"/>
                <field-map field-name="orderBy" value="partyId"/>
                <field-map field-name="entityName" value="PartyNameView"/>
            </service>
             <service service-name="findParty" result-map-name="result" result-map-list-name="listIt"/>
        </actions>


can is it possible if yes then how???

plzs help me. i will be very graceful for it
Reply | Threaded
Open this post in threaded view
|

Re: call two services in one action tag

Scott Gray
That's not really the best place to do a search, you're better off using
calling your services in the actions of the screen itself.

Regards
Scott

2008/4/23 Pankaj Dwivedi <[hidden email]>:

>
> hello to all
>
> i want to search partyid by city, state, country.  for it i find a service
> "findparty" in party. now i want to use this servise along with "formFind"
> in Lookuppartyname form.
> like this
>
> <actions>
>            <service service-name="performFind" result-map-name="result"
> result-map-list-name="listIt">
>                <field-map field-name="inputFields" env-name="parameters"/>
>                <field-map field-name="orderBy" value="partyId"/>
>                <field-map field-name="entityName" value="PartyNameView"/>
>            </service>
>             <service service-name="findParty" result-map-name="result"
> result-map-list-name="listIt"/>
>        </actions>
>
>
> can is it possible if yes then how???
>
> plzs help me. i will be very graceful for it
> --
> View this message in context:
> http://www.nabble.com/call-two-services-in-one-action-tag-tp16825631p16825631.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: call two services in one action tag

Scott Gray
Sorry I didn't read your email properly, you can forget I even spoke :-)

Scott

2008/4/23 Scott Gray <[hidden email]>:

> That's not really the best place to do a search, you're better off using
> calling your services in the actions of the screen itself.
>
> Regards
> Scott
>
> 2008/4/23 Pankaj Dwivedi <[hidden email]>:
>
>
> > hello to all
> >
> > i want to search partyid by city, state, country.  for it i find a
> > service
> > "findparty" in party. now i want to use this servise along with
> > "formFind"
> > in Lookuppartyname form.
> > like this
> >
> > <actions>
> >            <service service-name="performFind" result-map-name="result"
> > result-map-list-name="listIt">
> >                <field-map field-name="inputFields"
> > env-name="parameters"/>
> >                <field-map field-name="orderBy" value="partyId"/>
> >                <field-map field-name="entityName"
> > value="PartyNameView"/>
> >            </service>
> >             <service service-name="findParty" result-map-name="result"
> > result-map-list-name="listIt"/>
> >        </actions>
> >
> >
> > can is it possible if yes then how???
> >
> > plzs help me. i will be very graceful for it
> > --
> > View this message in context:
> > http://www.nabble.com/call-two-services-in-one-action-tag-tp16825631p16825631.html
> > Sent from the OFBiz - User mailing list archive at Nabble.com.
> >
> >
>