"Premature end of file" error message after invoking a JAX-WS webservice in JBoss EAP 5.1.0

Solution Unverified - Updated -

Issue

  • From JBoss invoking a JAX-WS web service method which is defined as "OneWay" produces the following error in the server log:
ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file.
  • The end point can be deployed in JBoss EAP 5 or in a different server.
  • The web service client is running in JBoss EAP 5. The client stub was produced using $JBOSS_HOME/bin/wsconsume.sh script.

Environment

  • JBoss Enterprise Application Platform (EAP) 5.1.0
  • JBossWS-Native 3.1.2.SP15

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.