You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2013/07/19 23:52:49 UTC

[jira] [Resolved] (SYNAPSE-877) Empty Soap Request is not being processed in XQuery Mediator

     [ https://issues.apache.org/jira/browse/SYNAPSE-877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiranya Jayathilaka resolved SYNAPSE-877.
-----------------------------------------

    Resolution: Fixed

Patch applied with a test case. Thanks Sinthuja for the contribution.
                
> Empty Soap Request is not being processed in XQuery Mediator
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-877
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-877
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Sinthuja Rajendran
>            Assignee: Hiranya Jayathilaka
>         Attachments: SYNAPSE-877.patch
>
>
> If empty request is sent to the XQery mediator, since it takes the first element of soap body of message by default when there is not target xpath specified, the empty soap request is not processed by XQuery.
> For an instance where the soap message header is sent to the XQuery as variable and expect to replace the body by a xml content regardless of whether the soap body is there or not, since XQuery takes the first child element the xml content is not being applied. Which intern has a pre condition to have message body in the soap request in order to do xquery transformation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org