Hi,
I created a WSDL for an
EJB, for it to be used as a WebService. I used the SOAP/HTTP protocol.
Now, what I understand ( I am a newbie to WebServices), that the endpoint for the WebService is the Remote Interface of the bean. That is, if I have a bean named myPackage.Sample and the various bean classes as:
myPackage.Sample (Remote)
myPackage.SampleHome (Home Intf)
myPackage.SampleBean (Bean)
myPackage.SampleLocal (Local Intf)
myPackage.SampleLocalHome (Local Home)
the WebService would be exposed using the myPackage.Sample remote interface.
What I am trying to understand is whether I can have the WebService exposed over the local interface i.e. myPackage.SampleLocal.
I am trying this to explore that if the client and the WebServices are co-located in the same VM, then what are the different endpoints that can be defined for them to communicate.
Could somebody please help me in this regard? Also, if there are any samples/documentation/books on how this and other WebServices work in general would also be helpful.
Thanks & Regards,
Pratul Chakre