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, 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 must 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:
com/myCompany/wsdl/MyWSDLFile.wsdl
rather than
/com/myCompany/wsdl/MyWSDLFile.wsdl

For more information about the WSIFServiceFactory class, see the generated API documentation that is supplied with WSIF (see the Apache WSIF Web site).

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




Related tasks
Invoking a WSDL-based Web service through the WSIF API
Related reference
WSIFService interface
WSIFPort interface
WSIFOperation interface
Related information
Apache WSIF
Reference topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 7:37:48 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v701sca&product=was-nd-mp&topic=rwsf_servfactint
File name: rwsf_servfactint.html