We are trying to consume the web service exposed by a WCF (.NET) web server by using Perl 5 The service uses Signature and Encryption on to handle the client requests. It would be great that if anyone can help us to resolve the issues we are currently facing. The system uses X.509 certificate authentication for accessing and sending the soap XMLS. They uses a policy to recieve and send soap messages. Regarding the encryption/decryption methods,The built-in mechanism of the .NET framework has been utilised - .NET Framework’s built-in mechanism is used for the generation of a random symmetric-key for the particular session of the web services. This key is then encrypted with the rsa-oaep asymmetric-key algorithm using the public key of the certificate. - The symmetric-key algorithm AES256-CBC is used for encrypting the soap server's data. This algorithm uses the above random symmetric-key which is also sent with the message. - The random symmetric-key is decrypted using the certificate's private key. - .NET Framework’s built-in mechanism is also used for the random generation of the Initialization Vector (IV). Regarding Policy File In theory, WCF should be inter operable with any solid WS-* Specification Implementation. The WS-Security specification for Microsoft's implementation we are using is WS-Security 1.0 Regarding Attachments MTOM attachments are Base64 strings longer than 1024bytes are converted to binary attachments for optimised transmission. These attachments are referenced from the element they replace. Expecting your earliest response.


In reply to How to connect a WCF SOAP SERVICE USING PERL WITH SIGNATURE AND ENCRYPTION WITH X 509? by vineethphp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.