synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sinthuja Rajendran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-877) Empty Soap Request is not being processed in XQuery Mediator
Date Thu, 31 May 2012 15:25:22 GMT

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

Sinthuja Rajendran updated SYNAPSE-877:
---------------------------------------

    Description: 
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.

  was:
If empty request is sent to the XQery mediator, since it takes the first element of soap body
in the case of replacing the xml content to the 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.

    
> 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
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message