Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Remove indentation and margin from Builder::XmlMarkup calls #20

Open
mbrung opened this issue Apr 15, 2015 · 0 comments
Open

Remove indentation and margin from Builder::XmlMarkup calls #20

mbrung opened this issue Apr 15, 2015 · 0 comments

Comments

@mbrung
Copy link

mbrung commented Apr 15, 2015

In Sekken::Message and Sekken::Envelope Builder::XmlMarkup is instantiated with margin and indent values, which are used when emitting the XML. Unfortunately some SOAP servers (case-in-point: MS Navision) is pretty finicky about the way requests are formatted, and any extraneous whitespace yields an Invalid SOAP request error.

I understand margins and indentations help emitting a cleaner output (e.g. when using operation#build); should we consider making this configurable somehow?

@mbrung mbrung changed the title Remove indentation and margin from Builder calls Remove indentation and margin from Builder::XmlMarkup calls Apr 15, 2015
mbrung added a commit to mbrung/sekken that referenced this issue Sep 10, 2015
mbrung added a commit to mbrung/sekken that referenced this issue Sep 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant