Also if you feel that the data manipulation mechanisms provided by BPEL is not enough, you can use E4x extensions for data manipulation. Thanks Milinda
On Wed, Sep 30, 2009 at 1:37 AM, Rafal Rusin <[email protected]> wrote: > 2009/9/29 Karolis Petrauskas <[email protected]>: > > Hi, > > > > On Tue, Sep 29, 2009 at 6:39 PM, [email protected] > > <[email protected]> wrote: > >> Hi all, > >> > >> there is a manner to invoke a simple java class as a web service? > >> for example..if i have to invoke complex web services with a lot of > parameters (objects, complex types) it's hard to do it with bpel (it is an > hard work, need a lot of variables and variables initialization is hard): > need only a simple class that invoke a web service with the correct > parameters; so the bpel process need only to invoke this class passing only > parameters as string or simple elements types or just nothing (i mean during > bpel invoking call (<invoke>)).. > >> > >> thanks > >> > >> Roby > > > > Bpel is for web services, so you cant invoke anything without > > wsdl. In my practice, it is easer to do complex initialization of > > variables using xst instead of multiple copy statements. > > > > Karolis Petrauskas > > > > I think you meant xslt. > It's also convenient to use xquery as expressionLanguage. It looks for > example like this: > <doc> > <a> {$var} </a> > <b> {$var2} </b> > </doc> > > But as for complex invocations, it's not a good idea to pass a lot of > data between web services. You can consider using external variables > to store this info in database (for example in id, blob rows) and pass > only ids. > > -- > RafaĆ Rusin > http://www.touk.pl > http://top.touk.pl > http://www.mimuw.edu.pl/~rrusin > -- Milinda Pathirage Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps WSO2 Inc.; http://wso2.com E-mail: [email protected], [email protected] Web: http://mpathirage.com Blog: http://blog.mpathirage.com
