WSIFServiceFactory class

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

Note: When you create a WSIFService interface from a WSIFServiceFactory class, you can specify a ClassLoader object to use in locating the WSDL file. You need to 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, using forward slashes (/) with the preceding 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 class returns null if no service is found with that identifier.


Related reference
WSIF API reference: Finding a port factory or service
WSIFService interface
WSIFPort interface
WSIFOperation interface



Searchable topic ID:   rwsf_servfactint
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rwsf_servfactint.html

Library | Support | Terms of Use | Feedback