Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

WebServiceMessageCallback is not invoked when payload is null #1653

Copy link
Copy link
@denischanc

Description

@denischanc
Issue body actions

When you call marshalSendAndReceive method of class WebServiceTemplate with a request callback to add a SoapAction (see https://docs.spring.io/spring-ws/docs/current/reference/html/#_using_webservicemessagecallback) :

  • if request payload is not null, SoapAction is well added
  • if request payload is null, SoapAction is not added.

So when request payload is null (web service soap without parameter), we are unable to add SoapAction.

Maybe, I am wrong and there is another way to do this.

I join a patch to help understanding.

nullrequestwithsoapaction.patch

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.