SOUILLARD CHARLES wrote:

I will give you an example.

What is sure is that I can make a call to an EJB using WSIF. The user thinks he
is calling a web service but in fact I have done a mapping on an EJB thanks to
WSIF so in fact he is calling an EJB method.
Is this point OK ? I think it is the purpose of the ejb binding.


hi Charles,

OK now i got it. and yes this is purpose WSIF to make easy to call *anything* described in WSDL.

I expose a web service. If my client is described in an ejb and he only wants to
work with EJBs. Can I describe somewhere in WSIF that if he calls the method ABC
on the EJB E1, WSIF does the mapping to a web service operation (which is my WS)
?


that looks like very different problem and AFAIU would require a hook in EJB to intercept method invocation and make it into WS invocation. i do not know how to do it and it i think it is beyond WSIF scope (WSIF works on WSDL abstraction not EJB)

thanks,

alek



Aleksander Slominski wrote:



SOUILLARD CHARLES wrote:



Hi all,

I understand that WSIF gives a framework to make outgoing calls.

I want to know if there is a way in WSIF to manage incoming calls.

For example, I have a web service available on a server.
I want to call this one from an EJB for example.




WSIF is about invocations so yes you can invoke web service from EJB if
no security/resource constraitns are broken



Is that possible ?




WSIF was designed to make it possible (for example by using JNDI to
lookup web service from inside EJB) but it will depend on particular app
server and your configuration



Does WSIF give me some mapping or do I have to make the call manually in the
EJB ?
Is it possible to configure incoming protocols of a web service ?




i am afraid but i do not get what you mean by "incoming protocol". could
you give an example?

thanks,

alek

--
The best way to predict the future is to invent it - Alan Kay







--
The best way to predict the future is to invent it - Alan Kay



Reply via email to