dmi3
dmi3

Reputation: 45

WSO2 ESB as a RabbitMQ produser

I tried to create proxy which will receive soap request and store it to rabbitmq. Example from documentation works well, but it always stores full message with envelope and body elements. How can I store pure xml message without envelope? I used payload mediator, but got same result.

Upvotes: 0

Views: 49

Answers (1)

Dilshani Subasinghe
Dilshani Subasinghe

Reputation: 1952

When you are storing, it will store with envelope as it must have a proper message. Even though you try to remove that, it may cause an error if message doesn't have an envelope.

You can try sending binary format (which will attach xml file in to message: Try this with POSTMAN tool) and it will send the xml file separate one. But still its' better not to remove envelope as it may cause errors.

Upvotes: 2

Related Questions