Hi,
I deploy a soap server side as a web application in WAS5.1, and when i called the client side
it appears the exception like the title, anyone's help is appreciated.
This is the place to throw this exception, i googled and found no any useful infos,
/**
* to parse the file to java doc created date:(2002-11-30 14:32:21)
*
* @param xmlPath
* java.lang.String
* @exception om.ibm.tct.api.exception.ServerException
*
*/
private void parserXML(String newXmlPath)
throws com.ibm.tct.api.exception.ServerException {
try {
DOMParser parser = new DOMParser();
File xmlFile = new File(newXmlPath);
InputStream fileStream = new FileInputStream(xmlFile);
Reader streamReader = new InputStreamReader(fileStream, ENCODE);
InputSource inputSource = new InputSource(streamReader);
parser.parse(inputSource);
doc = parser.getDocument();
} catch (FileNotFoundException fe) {
throw new com.ibm.tct.api.exception.ServerException(fe.getMessage());
} catch (UnsupportedEncodingException ce) {
throw new com.ibm.tct.api.exception.ServerException(ce.getMessage());
} catch (SAXException se) {
throw new com.ibm.tct.api.exception.ServerException(se.getMessage());
} catch (IOException ioe) {
throw new com.ibm.tct.api.exception.ServerException(ioe
.getMessage());
} catch (Exception e) {
throw new com.ibm.tct.api.exception.ServerException(e.getMessage());
}
}
Thanks
Tao