Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unexpected end of file from server

Status
Not open for further replies.

tinac99

Programmer
Jan 17, 2002
58
US
Hi,

I have the following code:
-----------------------------------------------
import java.net.URL;

import org.jdom.* ;
import org.jdom.input.*;
import org.jdom.output.* ;
import org.jdom.xpath.*;

import javax.xml.validation.*;
import javax.xml.parsers.*;


import java.util.*;
import java.io.*;

public class OfficerUnavailabilityWebServiceClient
{
try {
SAXBuilder builder = new SAXBuilder();
Document doc = builder.build(new URL(getISEWebServiceAddress()));
}
catch (CMSMessage m)
{
sb.append("**** Error OfficerUnavailabilityWebClient.run() : " + m.getMessage() + CMSUtil.LINE_SEPARATOR);
}

-----------------------------------------------

I'm having this error:
Error in building: Unexpected end of file from server

Does anyone have any ideas?

Thanks,

Tina
 
Code:
import java.net.URL;

import org.jdom.* ;
import org.jdom.input.*;
import org.jdom.output.* ;
import org.jdom.xpath.*;

import javax.xml.validation.*;
import javax.xml.parsers.*;


import java.util.*;
import java.io.*;

public class OfficerUnavailabilityWebServiceClient
{
try {
SAXBuilder builder = new  SAXBuilder();
Document doc = builder.build(new URL(getISEWebServiceAddress()));    
}
catch (CMSMessage m)
{
  sb.append("**** Error OfficerUnavailabilityWebClient.run() : " + m.getMessage() + CMSUtil.LINE_SEPARATOR);
}

} // There should be a closing bracket at least.
  // bracket appears in pair
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top