On Mon, Oct 22, 2007 at 06:16:14PM +0530, Asankha C. Perera wrote:
> Hi Eugeny
>> I need to develop an application, which should be able to call ANY 
>> service,
>> described in WSDL, without run-time compilation or code generation.
> This is possible with Synapse.. please see samples from the Synapse main 
> page..

Great, thank you. However after looking at sample it's still unclear for me
how can I invoke any service? I already have a test service to create "dynamic
bindings" for and I would like to start from scratch (or some stub?) with
Synapse, create a caller class, send a request and get a response? Could you
please guide me or point to which classes I need to take a look at?

> I do not quite understand what you mean here.. it seems like you always 
> pass in a bunch of name-value pairs to all of your services and get back 
> another set of name-value pairs as the reply? So does this mean all the 
> services are like this - i.e. without any use of complex types etc?

Well, not really. In fact, I need to resolve the structure of request, and
find which objects of some type needs to be passed. So if there is some object
of complex type, which has another object as a complex type, I will need to
create some dynamic binding (create the XML or whatever structure) which will
be understood by the remote service.

So I need to be able to prepare completely dynamic requests having list of
name/value pairs, where each request field will be filled from the "data
capsule" object.

-- 
Eugene N Dzhurinsky

Attachment: pgpxaKPLp5RoU.pgp
Description: PGP signature

Reply via email to