Changing the element name of a response object in JAX-WS / SOAP service

Solution Unverified - Updated -

Issue

  • The XML response for my JAX-WS service returning a string has <return> as the element name. Can I override this name?

Environment

  • Red Hat JBoss Enterprise Application Platform 6, 7

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.