Forum Discussion

FICO's avatar
FICO
Community Manager
18 years ago

Integrating Blaze Advisor Application with a J2EE based application using Web services

Integrating Blaze Advisor Application with a J2EE based application using Web services

Dear All,

Thanks for giving me this opportunity to share some of my queries and issues which Iam currently facing in implementing Blaze Advisor. As per the current project requirement there is a Java application which needs to interact with the rules engine. The Java application needs to pass some parameters to invoke the rules engine, in turn the rules engine processes the rules and the result is sent back to the calling application. I would like to know what are the steps to achieve this functionality using Web services. What all thinsg needs to be done in order to interact with the Java applicaiton using web services.

It would be really great if you could send som steps or explain the process of integrating the Rules engine with java application suing Web Services.

Would really appreciate your help.

regards,

Raghav

9 Replies

  • FICO's avatar
    FICO
    Community Manager

    Hi Raghav,

    Blaze Advisor quick deployer supports the deployment of web services. You can use the default generator to generate web service code specific to supported application servers like weblogic..alike. You can use the WSDL and call the service from calling application by passing valid data through SOAP Envelope. 

  • FICO's avatar
    FICO
    Community Manager

    Thanks for the information provided but I need to evaluate the various deployment options available in blaze and then recommend the best option to integrate with the J2EE application.Can you please provide me some pointers or the steps involved in various options which are used to integration blaze with J2EE application. More specifically the client is interested to know the Web service inetrgation in detail with the steps.

    Please provide your help.

    regards,

    Raghav

  • FICO's avatar
    FICO
    Community Manager

    The different deployment options provided in Blaze are :

    Java:  Normal Java Bean deployment

      EJB deployment(stateless, stateful)

      MDB 

      Webservices

    Coming to the webservices deployment which you are more interested in, Blaze quick deployer supports different application servers like weblogic 8.1,9.1 and 9.2,OC4J,websphere 6 and 6.1 and few others. The deployable code with minimal changes is generated by quich deployer along with a html readme file which explains in detail about the steps for deploying the code generated. You need to follow the steps provided by the deployer so that you will be successful.

    Invoking the deployed service from J2EE calling application is same as any other web service call using the WSDL.

    Create a Soap envelope with input data for the service, use the WSDL to identify where the service is running.

    Call the service. 

  • FICO's avatar
    FICO
    Community Manager

    Thanks Harsh for the input. One more query I have is will the blaze quick deployer help me in generating the WSDL files which are required for passing the inputs or we have to use some 3rd party toll for it. Also the clients requirement is to deploy the application in JBOSS Appln server, so is it possible to do it with 6.5 version.

  • FICO's avatar
    FICO
    Community Manager

    Hi,

    Blaze has support for JBOSS 4 and quick deployer generates few batch files which can be used to create .wsdl file for the service. The batch file internally use some command line tools provided by JBOSS.

  • FICO's avatar
    FICO
    Community Manager

     Harsh I really appreciate your support and help ;so I want one more favour as if u can list down the steps which I have to follow inorder to get the WSDL starting from the deployment. As in if you can list down each steps by mentiong what exactly needs to be selected in Blaze advisor tool till I get a WSDL file. As Iam very new to this tool so I want your help in accomplishing the task.

    Would really appreciate your help.

  • FICO's avatar
    FICO
    Community Manager

    It is not that easy to list down all the steps as the list goes long and long.

    I suggest you to look at the documentation which comes along with BA product, which explain the steps to be followed for deploying the service using Quick Deployer. If you have any doubts or struck up with something you can post it so that I can guide you. 

  • FICO's avatar
    FICO
    Community Manager

    Hi,

    I am able to deploy the webservice and is able to get the correct WSDL in the browser. Here my query what are the different significance of the different files i.e. Client.java,IF.java,Runner.java,Bean.java and other Home,remote and business interfaces.

  • FICO's avatar
    FICO
    Community Manager

    Ravina,

    If you look in the directory you deployed to, you will see a file called DeploymentDocumentation.html and it describes all the files that are generated (different files are generated based on the deployment options you choose in the quick deployer wizard and the Deployment Documentation generated is also specific to these choices); it also describes what steps you need to take to integrate these into your environment.

    Best regards,

    Riz, Fair Isaac Solution Management

    Message Edited by Riz on 11-04-2008 02:20 PM