0 Replies Latest reply on Apr 10, 2006 11:20 AM by Cheryl McDiarmid

    Getting Started with JBoss 4.0/Chapter 5/run-ws getting org.

    Cheryl McDiarmid Newbie

      I don't have a clue. Here's the text of the error message:

      C:\j2eetutorial14\examples\bank>ant -f jboss-build.xml run-ws
      Buildfile: jboss-build.xml

      run-ws:
      [java] Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
      [java] at $Proxy1.getAccountsOfCustomer(Unknown Source)
      [java] at com.jboss.ebank.WSClient.main(WSClient.java:38)
      [java] Caused by: org.xml.sax.SAXParseException: Premature end of file.
      [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      [java] at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      [java] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      [java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
      [java] at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:257)
      [java] at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:588)
      [java] at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
      [java] at org.jboss.axis.client.Call.invokeEngine(Call.java:3118)
      [java] at org.jboss.axis.client.Call.invoke(Call.java:3080)
      [java] at org.jboss.axis.client.Call.invoke(Call.java:2668)
      [java] at org.jboss.axis.client.Call.invoke(Call.java:2577)
      [java] at org.jboss.axis.client.Call.invokeInternal(Call.java:1998)
      [java] at org.jboss.axis.client.Call.invoke(Call.java:1936)
      [java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:351)
      [java] at org.jboss.axis.client.AxisClientProxy.invokeSEIMethod(AxisClientProxy.java:291)
      [java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:202)
      [java] ... 2 more
      [java] Java Result: 1

      BUILD SUCCESSFUL
      Total time: 3 seconds
      C:\j2eetutorial14\examples\bank>

      Please send your thoughts...

      Cheryl