2 Replies Latest reply on Apr 19, 2007 5:29 PM by Thomas Diesler

    [Fatal Error] :-1:-1: Premature end of file.

    Nicolas Arnaud Newbie

      I work on an application to test JBossWS

      I have a web service which turns on a JBoss AS 4.0.5 server, which returns a complex type object, "Dmex"

      I have this client:

      try {
       ServiceFactoryImpl factory=new ServiceFactoryImpl();
       URL wsdlLocation = new URL("http://localhost:8080/DmexWs" + "?wsdl");
       URL mappingUrl=new File("src/java/jaxrpc-mapping.xml").toURL();
       QName serviceName = new QName("urn:bsa.ws.test", "DmexWs");
       Service service = (Service)factory.createService(wsdlLocation, serviceName,mappingUrl);
       Call call = service.createCall();
       QName operationName = new QName("urn:bsa.ws.test", "getDmex");
       Integer id = new Integer(274);
       Object retObj = call.invoke(new Object[]{id});
       } catch (Exception e) {

      and when I run the client, I have this error:

      [Fatal Error] :-1:-1: Premature end of file.

      Any idea?