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

View: New views
4 Messages — Rating Filter:   Alert me  

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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message

Sinthuja Rajendran created SYNAPSE-877:
------------------------------------------

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

--
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@...
For additional commands, e-mail: dev-help@...


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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


     [ 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@...
For additional commands, e-mail: dev-help@...


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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


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

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

    Attachment: SYNAPSE-877.patch
   

> 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
>         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: 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@...
For additional commands, e-mail: dev-help@...


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

by JIRA jira@apache.org :: Rate this Message:

| View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/SYNAPSE-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286660#comment-13286660 ]

Sinthuja Rajendran commented on SYNAPSE-877:
--------------------------------------------

I have attached the patch for the described issue. Please review and apply.

               

> 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
>         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: 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@...
For additional commands, e-mail: dev-help@...