Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it configurable to keep node names 1:1 instead of dropping their prefix #27

Open
brandonros opened this issue Aug 13, 2024 · 1 comment

Comments

@brandonros
Copy link

<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://www.w3.org/2003/05/soap-envelope">
  <s:Header>
    <a:Action s:mustUnderstand="1">http://redacted.redacted.com/redacted/redacted/StartUsage</a:Action>
    <a:MessageID>urn:uuid:15aea56f-7690-467c-8d6b-145f64cd2747</a:MessageID>
    <a:ReplyTo>
      <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
    </a:ReplyTo>
    <a:To s:mustUnderstand="1">sb://redacted.servicebus.windows.net/redacted/90f791da-dc1e-49c9-a55c-dfd8ad4398ee/</a:To>
  </s:Header>
  <s:Body>
    <StartUsage xmlns="http://redacted.redacted.com/redacted/"/>
  </s:Body>
</s:Envelope>

becomes

{
  "Envelope": {
    "Body": {
      "StartUsage": {}
    },
    "Header": {
      "Action": {
        "#text": "http://redacted.redacted.com/redacted/redacted/StartUsage",
        "@s:mustUnderstand": 1
      },
      "MessageID": "urn:uuid:15aea56f-7690-467c-8d6b-145f64cd2747",
      "ReplyTo": {
        "Address": "http://www.w3.org/2005/08/addressing/anonymous"
      },
      "To": {
        "#text": "sb://redacted.servicebus.windows.net/redacted/90f791da-dc1e-49c9-a55c-dfd8ad4398ee/",
        "@s:mustUnderstand": 1
      }
    }
  }
}

what if I wanted to keep all of that s: and a: prefix? Is that currently achievable through config?

@rimutaka
Copy link
Collaborator

@brandonros , what is the desired output?
What output do you get with your #28 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants