could not throw Axis Fault

2004-01-27 Thread Ying Foong
I was trying to subclassing Axis Fault so that i can customise my fault description, but it returned me an blank soap message. Can somebody tell me how and why? your help is appreciated.   belows are the server-side code, which basically check if it's not a SOAP 1.2 then return a Fault:   imp

RE:Internal Server Error - help

2004-01-20 Thread Ying Foong
ppreciated. What is your environment like? Platform, App Server... -Original Message----- From: Ying Foong [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 12:19 AM To: [EMAIL PROTECTED] Subject: Internal Server Error - help Hello,

Internal Server Error - help

2004-01-19 Thread Ying Foong
te String getTextValue(String SOAPPrefix, String SOAPLocalName, String prefix, String localName){ String content = ""; NodeList headerList = rootElement.getElementsByTagName(SOAPPrefix + ":" + SOAPLocalName); NodeList childList = headerList.item(0).getChildNodes(); for (int k = 0; k < childList.getLength(); k++){ Node childNode = childList.item(k); // to shorten the object name if (childNode.getNodeType() == childNode.ELEMENT_NODE && childNode.getPrefix().compareTo(prefix) == 0 && childNode.getLocalName().compareTo(localName)== 0){ if (childNode.getFirstChild().getNodeType() == childNode.TEXT_NODE){ content += childList.item(k).getNodeName() + k; } } } return content; } } Phoon Ying Foong Software Engineer Data Security Systems Solutions Pte Ltd. phone(office):(+65)62959102 phone(mobile):(+65)94854045 Email: [EMAIL PROTECTED]