0

I'm tracing a bug in some Apache Axis 1.4 code. Some XML is generated, it's set as the vXML of a stub, and then the stub is sent out over the network. At some point before it's sent out, some SOAP headers, an envelope and a few other enclosing tags are added.

What determines what gets added to the XML before it gets sent out over the wire in Apache Axis 1.2?

How can I change the SOAP headers and the other enclosing tags?

Dan
  • 12,157
  • 12
  • 50
  • 84

1 Answers1

1

The structure of SOAP messages is defined by the JAX-WS specification.

To change the message on a "physical" level you can use handlers. See for instance here.

mentallurg
  • 4,967
  • 5
  • 28
  • 36