Patent ID: 7698362

Claim:
A Web service connecting apparatus for connecting to a Web service which provides a multi-binding function, comprising: a connection setting part storing a connection setting file which includes a selecting condition for a binding to use, and the selecting condition is a condition of an IP address or address name, a condition of a network communication rate, or a condition of machine information of a CPU; a common interface part receiving a connection request from a common interface execution code to be executed by a client; a reading and analyzing part obtaining the selecting condition from said connection setting part; an environment information obtaining part obtaining environment information of the client and/or a server; a connection selecting determination part automatically determining the binding to use based on the selecting condition and the environment information; and a calling part carrying out connection to the Web service with the execution code corresponding to the determined binding; wherein said connection setting part comprises a description that a Java binding is used by priority, when an IP address of the Web service to connect indicates a local host, and includes a description that any one of a SOAP binding, a JMS binding and an EJB binding is used by priority when said IP address indicates a remote host.