When coding Apache CXF web services, I ran into a problem where the InputStream returned by a DataHandler was empty.
Featured Post
Applying Email Validation to a JavaFX TextField Using Binding
This example uses the same controller as in a previous post but adds a use case to support email validation. A Commons Validator object is ...
Saturday, February 2, 2013
Deploying Apache CXF Web Services to JBoss 5
In deploying web services to an old version of JBoss, I ran into a few problems. The web services are developed using the following Maven archetype
org.apache.cxf.archetype / cxf-javaws-javafirst / 2.7.2
The archetype will create a WAR file containing SOAP-based web services. There is a Hello World implementation that will echo back an input message.
Off-the-shelf, this archetype produces two errors when deploying to JBoss 5. Note that the archetype may work without modification on other platforms. For example, the WAR deployed successfully to Tomcat 7 prior to my suggested modifications.
org.apache.cxf.archetype / cxf-javaws-javafirst / 2.7.2
The archetype will create a WAR file containing SOAP-based web services. There is a Hello World implementation that will echo back an input message.
Off-the-shelf, this archetype produces two errors when deploying to JBoss 5. Note that the archetype may work without modification on other platforms. For example, the WAR deployed successfully to Tomcat 7 prior to my suggested modifications.
Subscribe to:
Posts (Atom)