WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

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

For more information about the WSIFServiceFactory class (/wsi/org/apache/wsif/WSIFServiceFactory.html) see the generated API information.

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




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

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rwsf_servfactint.html

© Copyright IBM Corporation 2002, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)