How do I change the namespace prefixes in SOAP messages?

Solution Verified - Updated -

Issue

  • I want to change the namespace prefixes on incoming and outgoing SOAP messages. How can I do this?
  • In EAP 4.x namespace prefixes were preserved between the SOAP request and response, but in EAP 6 they are not. How can we get our preferred namespace prefixes back?
  • After migrating to EAP 6, our SOAP namespaces changed from "env:" to "soap:". How can we configure JBossWS to make the namespaces prefixes match our old version?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
  • Red Hat JBoss Fuse
    • 6.0
  • JBossWS CXF

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.