[JBossWS] premature end of file when reading WSDL file

Solution Verified - Updated -

Issue

  • We created a WS client. The WS client is part of a seam application deployed to a jboss EAP 5.1.1 instance.
  • The WSDL is created by a Microsoft technology.
  • The WSDL imports a WSDL.
  • When the client initiates a Service object for the WS client, an error occurs while reading the WSDL file:

    Caused by: org.xml.sax.SAXParseException: Premature end of file.
     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.getDocument(JBossWSDLReaderImpl.java:2128)
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.0.x
    • 5.1.0
    • 5.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.