|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.fc.webservice.util.CustomWSDLLocator
public class CustomWSDLLocator
The CustomWSDLLocator is the custom WSDLLocator, class is introduced for the custom authentication(Basic Authentication) when retrieving the WSDL document.
| Field Summary | |
|---|---|
String |
baseURI
|
static String |
ENCODING_LATIN_1
|
String |
password
|
String |
username
|
| Constructor Summary | |
|---|---|
CustomWSDLLocator()
|
|
CustomWSDLLocator(String usrname,
String passwd,
String aWsdlUrl)
|
|
| Method Summary | |
|---|---|
String |
b64Encode(String auth,
String encoding)
This function tricks the MimeUtility to encode any string to B64. |
void |
close()
|
InputSource |
getBaseInputSource()
Returns an InputSource "pointed at" the base document. |
String |
getBaseURI()
Returns a URI representing the location of the base document. |
InputSource |
getImportInputSource(String contextURI,
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. |
String |
getLatestImportURI()
Returns a URI representing the location of the last import document to be resolved. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ENCODING_LATIN_1
public String username
public String password
public String baseURI
| Constructor Detail |
|---|
public CustomWSDLLocator()
public CustomWSDLLocator(String usrname,
String passwd,
String aWsdlUrl)
| Method Detail |
|---|
public InputSource getBaseInputSource()
getBaseInputSource in interface javax.wsdl.xml.WSDLLocator
public InputSource getImportInputSource(String contextURI,
String wsdlURI)
getImportInputSource in interface javax.wsdl.xml.WSDLLocatorparentLocation - 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.public void close()
close in interface javax.wsdl.xml.WSDLLocatorpublic String getBaseURI()
getBaseURI in interface javax.wsdl.xml.WSDLLocatorpublic String getLatestImportURI()
getLatestImportURI in interface javax.wsdl.xml.WSDLLocator
public String b64Encode(String auth,
String encoding)
throws Exception
auth - the header valueencoding - the encoding to be used
ExceptionMimeUtility.encodeText(String,String,String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||