Skip to content

Adding XML declaration to a response [SWS-540] #666

@gregturn

Description

@gregturn

Jochen Terstiege opened SWS-540 and commented

We were asked to add the XML declaration ```xml

<?xml version="1.0" encoding="UTF-8"?>


Since SAAJ 1.2 there seems to be a way to enable the declaration by setting the property ```
WRITE_XML_DECLARATION
``` on the soap message: http://java.sun.com/webservices/saaj/faq.html

Are there any plans to add this feature to the current Spring ws implementation? We are using classes that implement the ```
PayloadEndpoint
``` interface in combination with the 
```PayloadRootQNameEndpointMapping
```.

Affects: 1.5.7

Reference URL: http://forum.springsource.org/showthread.php?t=49412

Referenced from: commits 9ada654

1 votes, 0 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions