+

Search Tips   |   Advanced Search

WSIFServiceFactory class


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

By 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, using forward slashes (/) with the preceding slash removed. For example:

com/myCompany/wsdl/MyWSDLFile.wsdl
rather than

/com/myCompany/wsdl/MyWSDLFile.wsdl

See about the WSIFServiceFactory class (/wsi/org/apache/wsif/WSIFServiceFactory.html) see the generated API information for additional APIs.

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


WSIFService interface
WSIFPort interface
WSIFOperation interface
Generated API information for additional APIs