WSIFServiceFactory class

To find a service from a WSDL document at a URL, or from a code-generated codebase, you can use the WSIFServiceFactory class.

Note: When creating a WSIFService from a WSIFServiceFactory you can specify a ClassLoader object to use in locating the WSDL file. You need to do this when the WSDL file is in a JAR file. In such a case, the location of the WSDL file is specified relative to the root of the JAR file, using forward slashes with the preceeding slash removed.

For example:

    com/myCompany/wsdl/MyWSDLFile.wsdl
rather than
    /com/myCompany/wsdl/MyWSDLFile.wsdl

Here is the Javadoc for the WSIFServiceFactory class.

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