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

mtomEnabled doesn't seem to send via MTOM/XOP #65

Open
burbidge opened this issue Feb 4, 2016 · 2 comments
Open

mtomEnabled doesn't seem to send via MTOM/XOP #65

burbidge opened this issue Feb 4, 2016 · 2 comments

Comments

@burbidge
Copy link

burbidge commented Feb 4, 2016

I have set mtomEnable=true in config.groovy but my uploaded data is alway dumped inline.
Is there something else that needs to be done to send via MTOM?

@burbidge
Copy link
Author

burbidge commented Feb 4, 2016

Adding the bold line below to CxfClientGrailsPlugin.groovy fixes the problem:

proxyFactoryBindingId = client?.proxyFactoryBindingId ?: ""
mtomEnabled = client?.mtomEnabled ?: false
secureSocketProtocol = client?.secureSocketProtocol ?: "" //should be one of the constants in CxfClientConstants, but doesn't have to be

@ctoestreich
Copy link
Member

PR welcomed! :)

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