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

Reply via email to