WAS v8.5 > Reference > Developer detailed usage information

WSIFServiceFactory class

To find a service from a Web Services Description Language (WSDL) document at a web address, or from a code-generated code base, we can use the WSIFServiceFactory class.

When creating a WSIFService interface from a WSIFServiceFactory class, we can specify a ClassLoader object to use in locating the WSDL file. Specify this object when the WSDL file is in a JAR file. In such a case, specify the location of the WSDL file relative to the root of the JAR file, and use forward slashes (/) with the preceding slash removed.

For example:

rather than

For more information about the WSIFServiceFactory class, see the generated API documentation supplied with WSIF (see the Apache WSIF website).

The WSIFServiceFactory class returns null if no service is found with that identifier.


Reference:

WSIFService interface
WSIFPort interface
WSIFOperation interface


Related information:

Apache WSIF


+

Search Tips   |   Advanced Search