Hi, i’m a newbie in web method,did anyone have java socket programming example in webmethod.
Integration Server isn’t a Java app server. Java services shouldn’t make up more than 10% of your solution and programming at the socket level is really, really something that should be avoided. Use the provided services and facilities instead.
I completely agree with Rob that you should not write java services to do this unless you absolutely have no other way to communicate with the third party application (or device) than over a socket.
That said, here is an example of a java service to deal with socket-level communications. It was written over three years ago for some reason that I can no longer recall. I do not offer support for this example and offer it only as food for thought not as something suitable for any purpose other than education.
Mark