Gen EDGE

  • 1.  Web Services Wizard Selection

    Posted Aug 26, 2018 10:30 PM

    Hello hi,

     

     

    i have a problem to build a web services operatiion on my model.... last week it's fine working fine, but this morning i can't build web services... all the web services that i build here are gone..

     

    Thank you

     

    Regards.

    Amirah



  • 2.  Re: Web Services Wizard Selection

    Posted Aug 26, 2018 10:34 PM

    You shouldn't be attempting to use the Web Service Wizard on CA Gen 8.6 - it's not supported at 8.6, and not the best way to achieve what you want.

     

    CA Gen 8.6 automatically exposes Web Services for transactions running through AEFAD (built through C) and through the EJB Web Services TP Monitor (if built for Java).



  • 3.  Re: Web Services Wizard Selection

    Posted Aug 26, 2018 10:48 PM

    Could you explain more on it...i can't imagine it...



  • 4.  Re: Web Services Wizard Selection
    Best Answer

    Posted Aug 26, 2018 11:26 PM

    If your cooperative servers are running under the TE (built as C, running under AEFAD/AEFUF), then they'll be automatically exposed as web services (see 
    https://docops.ca.com/ca-gen/8-6/en/middleware/transaction-enabler/web-services-transaction-enabler  )

     

    If your cooperative servers are Java, then build using the EJB Web Services TP Monitor.  This will also ensure they're exposed as SOAP based web services when they're deployed.  With these, they'll be exposed as http://appserver:appport/<EAR File minus extension>/<PSTEP_NAME>?wsdl eg http://localhost:10080/JBOSSSRV/JBS_SVR_LIST_PEOPLE?wsdl

     

    If they're .NET, I think you're out of luck.

     

    If they're COBOL under CICS, Response Systems can sell you a product to enable this (Full disclosure: I work on this).

     

    The Web Service Wizard is not a supported product on CA Gen 8.6.



  • 5.  Re: Web Services Wizard Selection

    Broadcom Employee
    Posted Aug 28, 2018 08:00 AM

    Hi Daniel,

    We are still have some luck with .NET, .net proxies could be used as web services.

    Get more information from the below link

    https://docops.ca.com/ca-gen/8-6/en/distributed-processing/working-with-proxies/net-proxy/executing-the-sample-applications



  • 6.  Re: Web Services Wizard Selection

    Broadcom Employee
    Posted Aug 28, 2018 07:54 AM

    Amirah,

    CA Gen Web Service Wizard is a plug-in application that was developed using CA Gen still pretty much available.

    The Web Service Wizard which allows you to create a web service from a CA Gen XML Java proxy.

     

    Please check the technical requirement for Web Service Wizard as well...which goes as

    • CA Gen 8.6 Toolset
    • Java SE Development Kit 8.0 Update 60
    • Apache-Axis Web Service Application Server: 1.4
    • Tested Application Server: Tomcat 9.0.0.M13

    Get more information from the below link

    https://docops.ca.com/ca-gen/8-6/en/developing/designing/using-the-web-service-wizard

     

    For .NET

     

    I also want to mention that .net proxies could be used as web services.

    Deploying the .NET proxy as a web service requires using Microsoft's IIS to host the proxy. In the same location where the sample .asmx files are generated for the ASP.NET sample are some generated .asmx files. These .asmx files instruct IIS to treat any method within the referenced proxy class marked as a [WebMethod] as a published web service. IIS will then automatically generate the WSDL for the web service.

    Get more information from the below link

    https://docops.ca.com/ca-gen/8-6/en/distributed-processing/working-with-proxies/net-proxy/executing-the-sample-applications 



  • 7.  Re: Web Services Wizard Selection

    Posted Aug 28, 2018 04:14 PM

    Amit,

     

    Apologies for the misinformation - I realise now I had it confused with the Web Service Access Designer which was removed.

     

    However, my recommendation will still stand - use EJB Web Services and it'll be automatically deployed as a Web Service anyway.  Way less work to actually do (it's a normal generate + assemble), doesn't require a proxy to be generated, simplifies the software stack and a simpler code and construction path. 

     

    And given the WSW wraps a Java XML Proxy, this should be an eminently feasible path.

     

    Thanks for the tip on the .NET WSDL stuff.



  • 8.  Re: Web Services Wizard Selection

    Broadcom Employee
    Posted Aug 29, 2018 03:41 AM

    Daniel,

    No Problem. We really appreciate your help and valuable information.

     

    We too recommend using EJB Web Service which expose CA Gen Server Procedure Steps as not only Stateless Session Enterprise JavaBeans but also as Web Services and then it can be consumed through call external statement.

     

    Regards,

    Amit

     

     



  • 9.  Re: Web Services Wizard Selection

    Broadcom Employee
    Posted Sep 06, 2018 03:26 AM

    2 cons of EJB web services are that:

    1. You need to deploy the procedure step as an EJB

    2. If you use the PStep Interface Designer, you cannot hide the native PStep interface: it can always be accessed

     

     An advantage of the EJB Web Service is that you can use a facade procedure, with a cleaner interface (like an operation of a specification type), and even chain execution of multiple business servers