Hi Paul,

I have attached the request/response when i remove WS-Addressing header.

I just know that backend service is implemented with Microsoft's WSE 3
technology.




Regards

On Sun, Nov 14, 2010 at 12:40 PM, Paul Fremantle <p...@wso2.com> wrote:

> David
>
> Please can you send a tcpmon trace of the link between the ESB and the
> Backend when you have disabled WS-Addressing?
>
> Thanks
> Paul
>
> On 14 November 2010 13:11, David Borja <adbo...@gmail.com> wrote:
> > Hi,
> >
> > Well, really the backend service is working actually because is a payment
> > system used in my country for several e-commerce implementations, the
> > project that i am working is a e-commerce application which needs to make
> > payments by this way.
> >
> > Any another idea?
> >
> > Thanks for your time!
> >
> >
> > Regards
> >
> > On Sat, Nov 13, 2010 at 7:03 PM, Hiranya Jayathilaka <hira...@wso2.com>
> > wrote:
> >>
> >>
> >> On Sun, Nov 14, 2010 at 4:05 AM, David Borja <adbo...@gmail.com> wrote:
> >>>
> >>> Hi,
> >>>
> >>> Exactly! that is the problem, the ESB cannot to correlate the message
> ID.
> >>> The custom mediator is trying to set a message id (i got this solution
> from
> >>> other developer) but is not working , in log message the message id is
> not
> >>> equal. I don't know why the response has another message id.
> >>>
> >>> Any ideas??
> >>
> >> I ran some tests with a similar configuration with Axis2 as my back-end
> >> service (with your custom mediator and the PRESERVE_WS_ADDRESSING
> option).
> >> Axis2 always make sure that the RelatesTo header of the response is
> equal to
> >> the MessageID header of the request. Not sure why your back-end service
> is
> >> sending an incorrect RelatesTo header. What is your back-end service
> anyway?
> >> Thanks,
> >> Hiranya
> >>
> >>>
> >>> Regards
> >>>
> >>> On Sat, Nov 13, 2010 at 1:01 PM, Hiranya Jayathilaka <hira...@wso2.com
> >
> >>> wrote:
> >>>>
> >>>> Hi,
> >>>> The message ID of the request
> >>>> is urn:uuid:7CB6245CA223363571552999096573667-464880822. But the
> RelatesTo
> >>>> header of the response has the
> >>>> value urn:uuid:c639cbc1-fb18-4ac2-87c8-b014b9b6128b. Is this correct?
> I
> >>>> think this is why ESB is unable to correlate responses back to the
> request.
> >>>> Also you are setting a new message ID on the request using a custom
> >>>> mediator. Why do you do that?
> >>>> Thanks,
> >>>> Hiranya
> >>>>
> >>>> On Sat, Nov 13, 2010 at 5:21 AM, David Borja <adbo...@gmail.com>
> wrote:
> >>>>>
> >>>>> Do you mean xml for each artifact (proxy service and sequences) ??
> >>>>>
> >>>>>
> >>>>> I have attached 4 files: GetBankList_WSExport is the proxy service,
> >>>>> PSE_GetBankList_Req_Sec (Request sequence), PSE_GetBankList_Resp_Sec
> >>>>> (Response sequence), CustomHeaderMediator.java is a mediator for
> setting
> >>>>> MessageContext ID.
> >>>>>
> >>>>> I did the same test without ws-addressing and i got the same error.
> >>>>>
> >>>>> In addition, i have attached the request and the response for backend
> >>>>> service (Taken from TCP Monitor)
> >>>>>
> >>>>>
> >>>>> Thanks for your help.
> >>>>>
> >>>>> Regards
> >>>>>
> >>>>> On Fri, Nov 12, 2010 at 6:02 PM, Hiranya Jayathilaka <
> hira...@wso2.com>
> >>>>> wrote:
> >>>>>>
> >>>>>>
> >>>>>> On Sat, Nov 13, 2010 at 4:12 AM, David Borja <adbo...@gmail.com>
> >>>>>> wrote:
> >>>>>>>
> >>>>>>> Please!! i need help with this!! i.m going slightly mad! urgent!!,
> >>>>>>> i.m doing a demo for a customer!!!
> >>>>>>
> >>>>>> Is it possible to share the synapse.xml?
> >>>>>> Thanks,
> >>>>>> Hiranya
> >>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Thanks!!
> >>>>>>>
> >>>>>>> Regards
> >>>>>>>
> >>>>>>> On Fri, Nov 12, 2010 at 5:06 PM, David Borja <adbo...@gmail.com>
> >>>>>>> wrote:
> >>>>>>>>
> >>>>>>>> Hi Devs!!
> >>>>>>>>
> >>>>>>>> I am getting the following warning message:
> >>>>>>>>
> >>>>>>>> "Synapse received a response for the request with message id:
> >>>>>>>> urn:xxxxxxxxxxxxxxxxxxx  but a callback is not registered
> (anymore) to
> >>>>>>>> process this response".
> >>>>>>>>
> >>>>>>>> Then a Read time out exception is thrown.
> >>>>>>>>
> >>>>>>>> I am working with a TCP monitor and i can see the server responds
> >>>>>>>> with normal message, but the ESB cannot process the Response
> sequence.
> >>>>>>>>
> >>>>>>>> I.m not working with WS-Addressing, however in Backend response i
> >>>>>>>> can see WS-Addressing tags.
> >>>>>>>>
> >>>>>>>> Any ideas?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Regards,
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Carbon-dev mailing list
> >>>>>>> Carbon-dev@wso2.org
> >>>>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Hiranya Jayathilaka
> >>>>>> Senior Software Engineer;
> >>>>>> WSO2 Inc.;  http://wso2.org
> >>>>>> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> >>>>>> Blog: http://techfeast-hiranya.blogspot.com
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Carbon-dev mailing list
> >>>>>> Carbon-dev@wso2.org
> >>>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Carbon-dev mailing list
> >>>>> Carbon-dev@wso2.org
> >>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Hiranya Jayathilaka
> >>>> Senior Software Engineer;
> >>>> WSO2 Inc.;  http://wso2.org
> >>>> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> >>>> Blog: http://techfeast-hiranya.blogspot.com
> >>>>
> >>>> _______________________________________________
> >>>> Carbon-dev mailing list
> >>>> Carbon-dev@wso2.org
> >>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Carbon-dev mailing list
> >>> Carbon-dev@wso2.org
> >>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>
> >>
> >>
> >>
> >> --
> >> Hiranya Jayathilaka
> >> Senior Software Engineer;
> >> WSO2 Inc.;  http://wso2.org
> >> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> >> Blog: http://techfeast-hiranya.blogspot.com
> >>
> >> _______________________________________________
> >> Carbon-dev mailing list
> >> Carbon-dev@wso2.org
> >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>
> >
> >
> > _______________________________________________
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> Paul Fremantle
> CTO and Co-Founder, WSO2
> OASIS WS-RX TC Co-chair, VP, Apache Synapse
>
> Office: +44 844 484 8143
> Cell: +44 798 447 4618
>
> blog: http://pzf.fremantle.org
> twitter.com/pzfreo
> p...@wso2.com
>
> wso2.com Lean Enterprise Middleware
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the
> addressee/s. If you are not the intended recipient/s, or believe that
> you may have received this communication in error, please reply to the
> sender indicating that fact and delete the copy you received and in
> addition, you should not print, copy, retransmit, disseminate, or
> otherwise use the information contained in this communication.
> Internet communications cannot be guaranteed to be timely, secure,
> error or virus-free. The sender does not accept liability for any
> errors or omissions.
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
Request:

***********************************************************

<?xml version = "1.0" encoding = "UTF-8" ?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
                  xmlns:get="http://com/saimyr/pse/services/GetBankList";>
  <soapenv:Header>
    <wsse:Security 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
                   soapenv:mustUnderstand="1">
      <wsu:Timestamp 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
                     wsu:Id="Timestamp-15">
        <wsu:Created>2010-11-14T18:26:40.572Z</wsu:Created>
        <wsu:Expires>2010-11-14T18:31:40.572Z</wsu:Expires>
      </wsu:Timestamp>
      <wsse:BinarySecurityToken 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
                                
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";
                                
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";
                                
wsu:Id="CertId-177BBCEE1CDF98572D128975920058122">MIIFFzCCA/+gAwIBAgIQRWJCJ1v7DGNMvvuWadUfiDANBgkqhkiG9w0BAQUFADCBgTELMAkGA1UEBhMCQ08xRzBFBgNVBAoMPlNvY2llZGFkIENhbWVyYWwgZGUgQ2VydGlmaWNhY2nDs24gRGlnaXRhbCAtIENlcnRpY8OhbWFyYSBTLkEK+EWFHH3KTGKIW3AgMBAAGjggIYMIICFDAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwID+DAnBgNVHSUEIDAeBggrBgEFBQcDAgYIKwYBBQUHAwQGCCsGAQUFBwMBMBEGCWCGSAGG+EIBAQQEAwIFoDAdBgNVHQ4EFgQUTV2FQdDXCP8apbDGFKiLlJs8epYwHwYDVR0jBBgwFoAUz8POxxPBHLNpqsU1X0+kQdOiuI8wgacGA1UdIASBnzCBnDCBmQYLKwYBBAGBtWMyAAJ842k1KoO6+SjENvXccqY8d3HgMI1feRKzXhKljisXXUAuoaKOSDbXvMXJQ0zi7U+bmqJ5UK6MWvf4BYKEQdgMZJWbKCeo53HlY9Ov/kB2DjZXPyJ5GsECRItdsQwere2TENd3QjEsAKHDd7gT9TWWUDjCjJifzJiodOkcaceCXmnW0Rvewk9psK/+Qp96LZoTSzENQeIWAgHDQLeleif7hAQLo8IElKuio5wrj/JFYA0uxhnxnk6h1U+nuucalO8z7jEB88ipvlPHDX8WwOxH2YyQlpCdawr8TxgJBdqHrJHdP4HHj5V8HODu81tOa5fEmmwA7onl34eUDK4CDpbo=</wsse:BinarySecurityToken>
      <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#";
                    Id="Signature-16">
        <ds:SignedInfo>
          <ds:CanonicalizationMethod 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
          <ds:SignatureMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
          <ds:Reference URI="#Id-20208543">
            <ds:Transforms>
              <ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
            </ds:Transforms>
            <ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
            <ds:DigestValue>LNZA/IEpi5EsYaZowvjWD31dyAU=</ds:DigestValue>
          </ds:Reference>
          <ds:Reference URI="#Timestamp-15">
            <ds:Transforms>
              <ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
            </ds:Transforms>
            <ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
            <ds:DigestValue>wu6OuqKQFf2/5gOVqL3fjvwEnKk=</ds:DigestValue>
          </ds:Reference>
        </ds:SignedInfo>
        
<ds:SignatureValue>bZgtwTlndx3Y9cQO1f+xNv99A/mFGpFj+JVDWTz0XB3ooT+DkkwplMOY3Bh9zM1nNBt8Ne8FG8IYld9KEh7rZVawerPRvwNiU1fMzZHI7lJ7wPgVHK3160UlBJQkxaIlIp8Pm0MyRfOfm4THqw5FT8MnUSEB/wNkkEpvw3kdC+4=</ds:SignatureValue>
        <ds:KeyInfo Id="KeyId-177BBCEE1CDF98572D128975920058123">
          <wsse:SecurityTokenReference 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
                                       
wsu:Id="STRId-177BBCEE1CDF98572D128975920058124">
            <wsse:Reference URI="#CertId-177BBCEE1CDF98572D128975920058122"
                            
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
          </wsse:SecurityTokenReference>
        </ds:KeyInfo>
      </ds:Signature>
    </wsse:Security>
  </soapenv:Header>
  <soapenv:Body 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
                wsu:Id="Id-20208543">
    [Body INFO]
  </soapenv:Body>
</soapenv:Envelope>



*****************************************


Response:

**************************************

<?xml version = "1.0" encoding = "UTF-8" ?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
               xmlns:xsd="http://www.w3.org/2001/XMLSchema";
               xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";
               
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
               
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
  <soap:Header>
    <messageHeader xmlns="http://www.uc-council.org/smp/schemas/eanucc";>
      <to>
        <gln>8110295721</gln>
      </to>
      <from>
        <gln>3333333333333</gln>
      </from>
      <representingParty>
        <gln>3333333333333</gln>
      </representingParty>
    </messageHeader>
    
<wsa:Action>http://vesta.com.br/pse/MainServices/getBankListResponse</wsa:Action>
    <wsa:MessageID>urn:uuid:acc97dee-84e3-458d-a686-b0fc79058873</wsa:MessageID>
    <wsa:RelatesTo>urn:uuid:24877bbd-c33d-46e2-a2a7-31576fd11390</wsa:RelatesTo>
    
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
    <wsse:Security soap:mustUnderstand="1">
      <wsu:Timestamp wsu:Id="Timestamp-43967048-be3d-4823-b677-35dc66aec12d">
        <wsu:Created>2010-11-14T18:26:33Z</wsu:Created>
        <wsu:Expires>2010-11-14T18:31:33Z</wsu:Expires>
      </wsu:Timestamp>
      <wsse:BinarySecurityToken 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
                                
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";
                                
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";
                                
wsu:Id="SecurityToken-498e270b-6f0c-4279-94dd-c3971daa6e0b">MIIF4zCCBMugAwIBAgIDAPzlMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJDTzEfMB0GA1UEBxMWQ2FycmVyYSA5IDE2LTIxIEJvZ290YTEyMDAGA1UEChMpQ2VydGljYW1hcmEgUy5BLiBFbnRpZGFkIGRlIEcDAQYIKwYBBQUHAwIGCCsGAQUFBwMEMBEGCWCGSAGG+EIBAQQEAwIF4DA5BglghkgBhvhCAQMELBYqaHR0cDovL3d3dy5jZXJ0aWNhbWFyYS5jb20vY2VydGljYW1hcmEuY3JsMEAGCWCGSAGG+EIBCAQzFjFodHRwOi8vd3d3LmNlcnRpY2FtYXJhLmNvbS9wb2xpY3kvc2VydmVycGx1cy5odG1sMDIGCWCGSAGG+EIBDQQlFiNDZXJ0aWZpY2FkbyBkZSBTZXJ2aWRvciBTZWd1cm8gUGx1czAdBgNVHQ4EFgQUc7LZrUsQzgoobiQyQ6FDXGMu77owgbkGA1UdIwSBsTCBroAUU3kfbQfPfkC3EE7zyKLYnUEtKyGhgZKkgY8wgYwxCzAJBgNVBAYTAkNPMR8wHQYDVQQHExZDYXJyZXJhIDkgMTYtMjEgQm9nb3RhMTIwMAYDVQQKEylDZXJ0aWNhbWFyYSBTLkEuIEVudGlkYWQgZGUgQ2VydGlmaWNhY2lvbjEoMCYGA1UEAxMfQ2VydGlmaWNhZG8gRW1wcmVzYXJpYWwgQ2xhc2UtQYIBATBNBggrBgEFBQcBAQRBMD8wPQYIKwYBBKFUCjKGMWh0dHA6Ly93d3cuY2VydGljYW1hcmEuY29tL3BvbGljeS9zZXJ2ZXJwbHVzLmh0bWwweQYDVR0fBHIwcDA2oDSgMoYwaHR0cDovL3d3dy5jZXJ0aWNhbWFyYS5jb20vY2VydHMvY2VydGljYW1hcmEuY3JsMDagNKAyhjBodHRwOi8vd3d3LmNlcnRpY2FtYXJhLmNvbS9jZXJ0cy9jZXJ0aWNhbWFyYS5jcmwwDQYJKoZIhvcNAQEFBQADggEBAGOoPJTeQrJPxiLlR7uDJiAJKdSf9IF1GBaIv6t90Lp3hyxDRmrb2LcoRs7GpcLFqsIxCd2cgQShEXHNNwf2mZYFLRCFyk10cp6bTgBl2QHuw1nZqUNJkVgrqLZ/yIVNJVzb6p/+LgWWcYkiRwj6eOGC4Ne3azfgQpkI8W7mAg5oFBuW9nmeTueJqAxSa7BvfrKPMIjMiNfr1ID42ebUEyDA7rDqd4WXHkgTSuURzC1IW+h4OhgPROb2FTBChN4ABCiCti4CAxVT2jtWT7/C1G4mpH31sGbi49C6vUCCW/M/jjeaoSse2ubOmc=</wsse:BinarySecurityToken>
      <Signature xmlns="http://www.w3.org/2000/09/xmldsig#";>
        <SignedInfo>
          <ds:CanonicalizationMethod 
xmlns:ds="http://www.w3.org/2000/09/xmldsig#";
                                     
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
          <SignatureMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
          <Reference URI="#Id-b806db28-43df-4ffb-b030-f60c53541dd6">
            <Transforms>
              <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
            </Transforms>
            <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
            <DigestValue>Eo8uL5I7zvf+2CA6wWfv6uJIkVU=</DigestValue>
          </Reference>
        </SignedInfo>
        
<SignatureValue>EwtFFkWQGAswKmLMb90jSpyLobDVyMEVE6rlZK8KX7kjHygfDqsS78O51cszDcbTCGijp6v8uYhgGh75fVbbY65TiXJiI2aJs1d4dof40GIfMgK1PvLpE7ZdhABtzfR/yjG5+VmI5dvhz5jlF8NIyWSKDGTf3Kz9zm6FUCF4CqVJ/rNhsug=</SignatureValue>
        <KeyInfo>
          <wsse:SecurityTokenReference>
            <wsse:Reference 
URI="#SecurityToken-498e270b-6f0c-4279-94dd-c3971daa6e0b"
                            
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
          </wsse:SecurityTokenReference>
        </KeyInfo>
      </Signature>
    </wsse:Security>
  </soap:Header>
  <soap:Body wsu:Id="Id-b806db28-43df-4ffb-b030-f60c53541dd6">
 [BODY INFO]
  </soap:Body>
</soap:Envelope>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to