You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Ruwan Linton (JIRA)" <ji...@apache.org> on 2007/10/16 07:08:50 UTC

[jira] Created: (SYNAPSE-152) Synapse can not just pass through a message with Security without processing that

Synapse can not just pass through a message with Security without processing that
---------------------------------------------------------------------------------

                 Key: SYNAPSE-152
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-152
             Project: Synapse
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.-RC1-B1
            Reporter: Ruwan Linton
            Assignee: Ruwan Linton


Synapse can not just pass through the messages with security without processing the message.

The error message at Synapse is:

org.apache.axis2.AxisFault: Must Understand check failed for header
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
: Security

Here is the SOAP message that is being sent to Synapse:

 <?xml version='1.0' encoding='UTF-8'?>
 <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
   <soapenv:Header>
     <wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"

                    soapenv:mustUnderstand="true">
       <wsu:Timestamp
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

                      wsu:Id="Timestamp-5311938">
         <wsu:Created>2007-10-15T21:36:59.163Z</wsu:Created>
         <wsu:Expires>2007-10-15T21:41:59.163Z</wsu:Expires>
       </wsu:Timestamp>
       <wsse:UsernameToken
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

                           wsu:Id="UsernameToken-30318493">
         <wsse:Username>bgilbert</wsse:Username>
         <wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">x</wsse:Password>
       </wsse:UsernameToken>
     </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
     <GetVehicleInformationRequest
xmlns="urn:toyota-co-nz:vehicle:vehicle-info-request-1.0.0"><Registration>rav4</Registration></GetVehicleInformationRequest>
   </soapenv:Body>
 </soapenv:Envelope>

New handler module can be used in here but need to test

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (SYNAPSE-152) Synapse can not just pass through a message with Security without processing that

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton resolved SYNAPSE-152.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.QA.B.2

This is already being fixed. Thanks Anthony for figuring this out.

> Synapse can not just pass through a message with Security without processing that
> ---------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-152
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-152
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.-RC1-B1
>            Reporter: Ruwan Linton
>            Assignee: Ruwan Linton
>             Fix For: 1.1.QA.B.2
>
>
> Synapse can not just pass through the messages with security without processing the message.
> The error message at Synapse is:
> org.apache.axis2.AxisFault: Must Understand check failed for header
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
> : Security
> Here is the SOAP message that is being sent to Synapse:
>  <?xml version='1.0' encoding='UTF-8'?>
>  <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
>    <soapenv:Header>
>      <wsse:Security
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
>                     soapenv:mustUnderstand="true">
>        <wsu:Timestamp
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
>                       wsu:Id="Timestamp-5311938">
>          <wsu:Created>2007-10-15T21:36:59.163Z</wsu:Created>
>          <wsu:Expires>2007-10-15T21:41:59.163Z</wsu:Expires>
>        </wsu:Timestamp>
>        <wsse:UsernameToken
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
>                            wsu:Id="UsernameToken-30318493">
>          <wsse:Username>bgilbert</wsse:Username>
>          <wsse:Password
> Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">x</wsse:Password>
>        </wsse:UsernameToken>
>      </wsse:Security>
>    </soapenv:Header>
>    <soapenv:Body>
>      <GetVehicleInformationRequest
> xmlns="urn:toyota-co-nz:vehicle:vehicle-info-request-1.0.0"><Registration>rav4</Registration></GetVehicleInformationRequest>
>    </soapenv:Body>
>  </soapenv:Envelope>
> New handler module can be used in here but need to test

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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