Piyush, do you have any indication of what the error is? Try running the code with the Integration Server stopped. Do you get the same error message as when the server is running?
Try creating an empty Java service within your Developer environment and perform the same steps “for calling this service from a client”. Does Excel shut down even when the Java service is not doing anything?
Try turning your Integration Server debug level to 11 (the secret stop above 10). Do you see any relevant messages?
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB