Hi,
I'm new to Apache SOAP and having a problem returning a null value from the
server side.
I got an IO exception and trace it to the this bit of code in the
SOAPContext.java:
public void writeTo(OutputStream os)
throws IOException, MessagingException {
int count = getCount();
if (count == 0) {
System.out.println("Count is 0, will throw IO Exception now");
throw new IOException("Message is empty!");
}
<cut> ...............
I'm pretty sure I must have done something wrong here. The count is 0 when
I'm returning a null value.
Does anyone have an idea?
Regards,
--
Victor Hadianto
Nuix Pty. Ltd. (02) 9283 9010