Hi,

WSIF can invoke services dynamically but currently requires the complex types to have java counterparts, that is to say you need to run WSDL2Java to generate the java types (the stub though is not important).

If you're willing to mess with the code it is certainly possible to use WSIF to invoke services completely dynamically (i.e. without generating *any* code). The WSIFMessage representation is flexible enough to allow you to do that - you can have your own intermediate format (not a java type generated from schema, since you don't want to generate code - you could use DOM, JROM...anything that you can wrap with the WSIFMessage interface). It will take some nontrivial code tinkering, schema processing, etc. to get everything to work.

Nirmal.


Norberto Carnelli <[EMAIL PROTECTED]>

03/10/2004 04:38 AM
Please respond to wsif-user

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: 2 Questions: selecting PortType and error in WSIFServiceFactory



Leo Barcenas ha scritto:

> Hi!
>
> Have you converted the WSDL file to its JAVA code using WSDL2Java?
> I think even if you use DynamicInvoker, you still need to convert the WSDL
> to it's  corresponding Java code.

I dont think so, the purpose of WSIF is invoking services
directly from the WSDL without creating stubs and without even
knowing the underlaying transport (soap, http post etc..)
(that's what i know please WSIF developers correct me if i'm wrong)
And this is exactly what i need, i must invoke services
*really* dynamically.

Norberto



Reply via email to