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

Jackson SOAP module #32

Open
tunaranch opened this issue Jan 9, 2019 · 4 comments
Open

Jackson SOAP module #32

tunaranch opened this issue Jan 9, 2019 · 4 comments

Comments

@tunaranch
Copy link

It would be great to have a module to supplement jackson-datatype-xml that made generating and handling SOAP messages easier.

While it's possible to wrangle this in place with a combination of jaxb and jackson, it would be easier to simply say, 'here's my class annotated with jackson annotations (or generated from xic), please wrap them in a soap envelope.

As a rough roadmap here are some features:

  • Create a SOAP message with a given object as the body
  • Create a soap message with given body and headers
  • Read an xml response and determine if it's a soap fault
  • Read an xml response and map the soap body to an object.

Thank you.

@cowtowncoder
Copy link
Member

If someone wants to tackle this, great. Thank you for idea!

@sokomishalov
Copy link

sokomishalov commented Jun 9, 2021

If someone interested - I've implemented the proof of concept
Feel free to use and raise issues in case I've forgotten to implement something from the protocol
https://github.com/sokomishalov/jackson-datatype-soap

@cowtowncoder
Copy link
Member

Sounds useful! Only one minor suggestion: "format" for Jackson modules typically means underlying data format, and "datatype" would be for structures above it. Although I can see how Soap could be thought of as a format, naming-wise it might align better with term "datatype". So in that sense, jackson-datatype-soap might be an even better name.
But naming choice is of course up to you; I'll just mention the convention. :)

@sokomishalov
Copy link

@cowtowncoder fair enough, thanks!

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

3 participants