Package com.ibm.di.fc.webservice.util
Class CustomWSDLLocator
- java.lang.Object
-
- com.ibm.di.fc.webservice.util.CustomWSDLLocator
-
- All Implemented Interfaces:
javax.wsdl.xml.WSDLLocator
public class CustomWSDLLocator extends java.lang.Object implements javax.wsdl.xml.WSDLLocator
The CustomWSDLLocator is the custom WSDLLocator, class is introduced for the custom authentication(Basic Authentication) when retrieving the WSDL document.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
baseURI
static java.lang.String
ENCODING_LATIN_1
java.lang.String
password
java.lang.String
username
-
Constructor Summary
Constructors Constructor Description CustomWSDLLocator()
CustomWSDLLocator(java.lang.String usrname, java.lang.String passwd, java.lang.String aWsdlUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.xml.sax.InputSource
getBaseInputSource()
Returns an InputSource "pointed at" the base document.java.lang.String
getBaseURI()
Returns a URI representing the location of the base document.org.xml.sax.InputSource
getImportInputSource(java.lang.String contextURI, java.lang.String wsdlURI)
Returns an InputSource pointed at an imported wsdl document whose parent document was located at parentLocation and whose relative location to the parent document is specified by relativeLocation.java.lang.String
getLatestImportURI()
Returns a URI representing the location of the last import document to be resolved.
-
-
-
Field Detail
-
ENCODING_LATIN_1
public static final java.lang.String ENCODING_LATIN_1
- See Also:
- Constant Field Values
-
username
public java.lang.String username
-
password
public java.lang.String password
-
baseURI
public java.lang.String baseURI
-
-
Method Detail
-
getBaseInputSource
public org.xml.sax.InputSource getBaseInputSource()
Returns an InputSource "pointed at" the base document.- Specified by:
getBaseInputSource
in interfacejavax.wsdl.xml.WSDLLocator
-
getImportInputSource
public org.xml.sax.InputSource getImportInputSource(java.lang.String contextURI, java.lang.String wsdlURI)
Returns an InputSource pointed at an imported wsdl document whose parent document was located at parentLocation and whose relative location to the parent document is specified by relativeLocation.- Specified by:
getImportInputSource
in interfacejavax.wsdl.xml.WSDLLocator
- Parameters:
parentLocation
- a URI specifying the location of the document doing the importing.relativeLocation
- a URI specifying the location of the document to import, relative to the parent document's location.
-
close
public void close()
- Specified by:
close
in interfacejavax.wsdl.xml.WSDLLocator
-
getBaseURI
public java.lang.String getBaseURI()
Returns a URI representing the location of the base document.- Specified by:
getBaseURI
in interfacejavax.wsdl.xml.WSDLLocator
-
getLatestImportURI
public java.lang.String getLatestImportURI()
Returns a URI representing the location of the last import document to be resolved. This is useful when resolving nested imports.- Specified by:
getLatestImportURI
in interfacejavax.wsdl.xml.WSDLLocator
-
-