Stonehenge
  1. Stonehenge
  2. STONEHENGE-20

Documenting how to .NET, PHP and WSAS stacks to work together

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: M1
    • Component/s: Documentation
    • Labels:
      None

      Description

      Have to document what are the configurations needed to get different stacks to work together. I suggest we document at least following scenarios

      dotnet-client -> php-bsl -> java-opssec/java-ops
      php-client->dotnet-bsl->java-opssec/java-ops
      php-client->java-bsl->dotnet-opssec/dotnet-ops
      dotnet-client->java-bsl->dotnet-opssec/dotnet-ops
      php-client->dotnet-bsl->php-opssec/php-ops

      1. Interoperability_Walkthru.pdf
        218 kB
        Ben Dewey
      2. Stonehenge+Interoperability+Walkthru.doc
        155 kB
        Daniel Warren
      3. STONEHENGE-20.patch
        255 kB
        Ben Dewey
      4. Stonehenge Interoperability Walkthru.doc
        153 kB
        Ben Dewey
      5. Stonehenge Interop Grid_4-22-2009.xls
        25 kB
        Ben Dewey

        Activity

        Hide
        Ben Dewey added a comment -

        Attached is the Interop Grid as of 4-22-09. Please take a look and see if there are any serivce interops that aren't being addressed for this document. Also, if there are any interop points that don't need to be on the document, please let me know.

        ---------------------

        There are still a few services that I can't get running.

        In particular, I can't get the .NET BS -> PHP OPSSEC service running. I'm using the exact same configuration that is successful on the WSAS OPSSEC service.

        Also, I can't get any service to successfully call into the .NET Service. I'm tempted to build a small test app, because I can't seem to get any messages in response. This may be related to the 'OnePhase' action suffix not being present in .NET. Is this a known issue?

        Show
        Ben Dewey added a comment - Attached is the Interop Grid as of 4-22-09. Please take a look and see if there are any serivce interops that aren't being addressed for this document. Also, if there are any interop points that don't need to be on the document, please let me know. --------------------- There are still a few services that I can't get running. In particular, I can't get the .NET BS -> PHP OPSSEC service running. I'm using the exact same configuration that is successful on the WSAS OPSSEC service. Also, I can't get any service to successfully call into the .NET Service. I'm tempted to build a small test app, because I can't seem to get any messages in response. This may be related to the 'OnePhase' action suffix not being present in .NET. Is this a known issue?
        Hide
        S.Uthaiyashankar added a comment -

        For me, .NET BS -> PHP OPSSEC is working. These are the configurations I did..

        modify ClientToBS => PHP_CLIENT->DOTNET_BS
        modify Trade.BusinessServiceConsole.exe.config and set <add key="ORDER_PROCESSING_MODE" value="ASync_WSO2_Java_Http_MSecurity" />
        set end point address to http://localhost:8080/php_stocktrader/order_processor/order_processor_svc_msec.php for endpoint with bindingConfiguration="Client_customBinding_M_Security_OPS_WS02"

        For "OnePhase" action, I modified the action, so now it is not sending "OnePhase" suffix. Now BS->OPS without security works, but BS->DOTNET_OPSSEC fails. There is a problem in the security settings.

        Show
        S.Uthaiyashankar added a comment - For me, .NET BS -> PHP OPSSEC is working. These are the configurations I did.. modify ClientToBS => PHP_CLIENT->DOTNET_BS modify Trade.BusinessServiceConsole.exe.config and set <add key="ORDER_PROCESSING_MODE" value="ASync_WSO2_Java_Http_MSecurity" /> set end point address to http://localhost:8080/php_stocktrader/order_processor/order_processor_svc_msec.php for endpoint with bindingConfiguration="Client_customBinding_M_Security_OPS_WS02" For "OnePhase" action, I modified the action, so now it is not sending "OnePhase" suffix. Now BS->OPS without security works, but BS->DOTNET_OPSSEC fails. There is a problem in the security settings.
        Hide
        Ben Dewey added a comment -

        First, I've attached an updated Interop Grid. I can't seem to find a way to delete the old one, maybe someone who has access can delete the old one. I still can't get the PHP_MSEC working from .NET I'll try more tomorrow.

        -------------

        Second, I've attached a first draft to the interop guide. Feedback is greatly appreciated. And if someone could actually run throught it that would be great.

        Shankar,

        Can you take a look in particularly at the wording for the .NET Order_Processing_Mode descriptions. I want to make sure I have the technologies correct there.

        Show
        Ben Dewey added a comment - First, I've attached an updated Interop Grid. I can't seem to find a way to delete the old one, maybe someone who has access can delete the old one. I still can't get the PHP_MSEC working from .NET I'll try more tomorrow. ------------- Second, I've attached a first draft to the interop guide. Feedback is greatly appreciated. And if someone could actually run throught it that would be great. Shankar, Can you take a look in particularly at the wording for the .NET Order_Processing_Mode descriptions. I want to make sure I have the technologies correct there.
        Hide
        S.Uthaiyashankar added a comment -

        It is an excellent document. Excellent work Ben !!!

        I verified the document and didn't find any problem. Once we have DOTNET_BS > PHP_OPSSEC and PHP_BS>DOTNET_OPSSEC, we'll include that as well.

        Shall we put it as a wiki page? What is your preference?

        Regarding DOTNET_BS -> PHP_OPSSEC, I think Drew also got that working. Since JAVA_BS -> PHP_OPSSEC works, I could not think about any problem in PHP Configuration as well. Drew, any comments??

        Show
        S.Uthaiyashankar added a comment - It is an excellent document. Excellent work Ben !!! I verified the document and didn't find any problem. Once we have DOTNET_BS > PHP_OPSSEC and PHP_BS >DOTNET_OPSSEC, we'll include that as well. Shall we put it as a wiki page? What is your preference? Regarding DOTNET_BS -> PHP_OPSSEC, I think Drew also got that working. Since JAVA_BS -> PHP_OPSSEC works, I could not think about any problem in PHP Configuration as well. Drew, any comments??
        Hide
        Daniel Warren added a comment -

        My name is Daniel Warren, I'm new to the group I took a look at the interop guide. There are a few comments that I'm attaching...

        Show
        Daniel Warren added a comment - My name is Daniel Warren, I'm new to the group I took a look at the interop guide. There are a few comments that I'm attaching...
        Hide
        Ben Dewey added a comment -

        Attached is the Interop Guide with Daniels comments integrated. I wasn't sure where on the trunk this should go. So I added it with the README, CHANGELOG, etc

        Shankar,
        I think that ultimately this should go on the wiki, but I'm still waiting on access. Where do you think this file should go in the meantime?

        -Ben

        Show
        Ben Dewey added a comment - Attached is the Interop Guide with Daniels comments integrated. I wasn't sure where on the trunk this should go. So I added it with the README, CHANGELOG, etc Shankar, I think that ultimately this should go on the wiki, but I'm still waiting on access. Where do you think this file should go in the meantime? -Ben
        Hide
        S.Uthaiyashankar added a comment -

        We can create a docs folder and put it inside there. I prefer a wiki, so that we can generate pdf when doing release and include it (same way I have done to .NET and PHP installation guide). But for the moment, we can put inside "docs" folder.

        By the way, shall we change *.mht to pdf or .html ? In linux, it is difficult to open .mht file. You have to install some other extensions to get that working. What about pdf?

        Show
        S.Uthaiyashankar added a comment - We can create a docs folder and put it inside there. I prefer a wiki, so that we can generate pdf when doing release and include it (same way I have done to .NET and PHP installation guide). But for the moment, we can put inside "docs" folder. By the way, shall we change *.mht to pdf or .html ? In linux, it is difficult to open .mht file. You have to install some other extensions to get that working. What about pdf?
        Hide
        Ben Dewey added a comment -

        There is still one outstanding bullet at the very bottom of this doc. I'm going to add this before closing this ticket and upload another round.

        I'm capable of creating either format. I think that WIKI is the best option, but I'll upload a PDF next round

        Shankar,
        Feel free to delete/revert the mht file that was commited. Also, should I just upload the pdf or create a patch of a pdf, like I did with the mht?

        Show
        Ben Dewey added a comment - There is still one outstanding bullet at the very bottom of this doc. I'm going to add this before closing this ticket and upload another round. I'm capable of creating either format. I think that WIKI is the best option, but I'll upload a PDF next round Shankar, Feel free to delete/revert the mht file that was commited. Also, should I just upload the pdf or create a patch of a pdf, like I did with the mht?
        Hide
        S.Uthaiyashankar added a comment -

        You can upload the pdf to the jira. Once pdf is available, I'll commit it inside docs. If wiki is doable, it is preferable.

        Show
        S.Uthaiyashankar added a comment - You can upload the pdf to the jira. Once pdf is available, I'll commit it inside docs. If wiki is doable, it is preferable.
        Hide
        Ben Dewey added a comment -

        I've submitted my ICLA and I'm waiting for access to CWIKI, once I have access I can publish it. Otherwise, if someone wants to volunteer they're welcome to publish it to the wiki?

        Show
        Ben Dewey added a comment - I've submitted my ICLA and I'm waiting for access to CWIKI, once I have access I can publish it. Otherwise, if someone wants to volunteer they're welcome to publish it to the wiki?
        Hide
        Ben Dewey added a comment -

        Attached is a PDF version of the final Interop Guide.

        Shankar,
        Take a look and feel free to upload it to wiki. If it looks good you can close this ticket.

        Show
        Ben Dewey added a comment - Attached is a PDF version of the final Interop Guide. Shankar, Take a look and feel free to upload it to wiki. If it looks good you can close this ticket.
        Show
        S.Uthaiyashankar added a comment - pdf document committed to https://svn.apache.org/repos/asf/incubator/stonehenge/trunk/stocktrader/docs/Interoperability_Walkthru.pdf
        Hide
        S.Uthaiyashankar added a comment -

        Wiki page is created by Ben. (http://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+Interoperability+Walk-through)

        So removing the pdf from svn location .

        Show
        S.Uthaiyashankar added a comment - Wiki page is created by Ben. ( http://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+Interoperability+Walk-through ) So removing the pdf from svn location .
        Hide
        S.Uthaiyashankar added a comment -

        Resolving the issue.

        Show
        S.Uthaiyashankar added a comment - Resolving the issue.

          People

          • Assignee:
            Ben Dewey
            Reporter:
            S.Uthaiyashankar
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development