Hi 
    I just wanted to verify the approach that i'm following to create the web 
services. I'm developing web services for the legacy code. 
 
1) I created the interfaces in the similar fashion we do for RMI with the 
helper objects.
2) Then i used the java2wsdl file to create the wsdl file.
3) I tweaked the wsdl file to introduce few parameters such as  error code and 
error message in the fault element.
4) After this i generate the java classes again from this modified wsdl file.
5) I invoke the business logic from the skeleton and deploy this code in the 
form of aar archive on the Jboss container.
6) To invoke the service i create the stubs and then write a simple client 
program to invke the service through the stubs. 
 
This thing works but just wnated to verify if this approach is ok?
 
Right now i'm exposing thesae services as sycnhronous services but later can 
these same services be used for asynchronous calls too??
 
I would use these services to be invoked through the REST interface too.
 
Thanks
Vibhor

Reply via email to