WSO2 WSF/PHP
  1. WSO2 WSF/PHP
  2. WSFPHP-467

Security Samples do not work on default installation

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: High High
    • Resolution: Not a bug
    • Affects Version/s: 2.1.0
    • Fix Version/s: Current (nightly)
    • Component/s: WS-Security Support
    • Labels:
      None
    • Environment:
      Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1.
    • Severity:
      Blocker
    • Estimated Complexity:
      Moderate

      Description

      When trying to run the Security Samples (e.g. UsernameToken sample) the browser connection simply times out. Other categories of sample appear to work correctly.

      WSF_PHP_CLIENT.log shows the following:

      [Tue Oct 18 13:21:45 2011] [info] Cannot find path C:\xampp\php\wso2-wsf-php-bin-2.1.0-win32\wsf_c/services.
      [Tue Oct 18 13:21:45 2011] [info] [rampart] rampart_mod initialized
      [Tue Oct 18 13:21:45 2011] [info] [rahas]Rahas module initialized
      [Tue Oct 18 13:21:45 2011] [info] Starting addressing out handler
      [Tue Oct 18 13:21:45 2011] [warning] ..\..\src\core\context\msg_ctx.c(1384) RampartClientConfiguration not set in message context

      WSF_PHP_SERVER.log shows the following:


      [Tue Oct 18 13:21:50 2011] [info] [rampart] rampart_mod shutdown
      [Tue Oct 18 13:21:50 2011] [info] [rahas] Rahas module shutdown
      [Tue Oct 18 13:21:51 2011] [info] Cannot find path C:\xampp\php\wso2-wsf-php-bin-2.1.0-win32\wsf_c/services.
      [Tue Oct 18 13:21:51 2011] [info] [rampart] rampart_mod initialized
      [Tue Oct 18 13:21:51 2011] [info] [rahas]Rahas module initialized
      [Tue Oct 18 13:21:53 2011] [info] Cannot find path C:\xampp\php\wso2-wsf-php-bin-2.1.0-win32\wsf_c/services.
      [Tue Oct 18 13:21:53 2011] [info] [rampart] rampart_mod initialized
      [Tue Oct 18 13:21:53 2011] [info] [rahas]Rahas module initialized


      Can you shed any lifht on this issue?

        Activity

        Hide
        James Edgar
        added a comment -
        This was discovered when trying to write code to use the WS-Security options made available in this framework. When my code failed I reverted to the samples only to find that they fail too.
        Show
        James Edgar
        added a comment - This was discovered when trying to write code to use the WS-Security options made available in this framework. When my code failed I reverted to the samples only to find that they fail too.
        Hide
        Nandika Jayawardana
        added a comment -
        This happens because, xampp uses openssl library version 1.0.0.5 version while wsf/php uses 0.9.x version. Hence the php client seems to crash due to api clashes. Renaming the xampp default openssl libs and using wsf/php compatible libs will fix the issue.
        Show
        Nandika Jayawardana
        added a comment - This happens because, xampp uses openssl library version 1.0.0.5 version while wsf/php uses 0.9.x version. Hence the php client seems to crash due to api clashes. Renaming the xampp default openssl libs and using wsf/php compatible libs will fix the issue.

          People

          • Assignee:
            Nandika Jayawardana
            Reporter:
            James Edgar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: