7 Replies Latest reply on Jan 27, 2009 8:46 AM by marlau

    Wise Api in Web Application

    marlau

      Hello, congratulations for the new version...

      I've been trying version 0.9 (and version 1.0 in the last few days) in standalone applications, and you have done a great job. I'm planning to use wise api in a web application deployed in jbossas. Is there any sample web application in order to know required libraries and configuration settings?

      Thanks in advance,
      Laura

        • 1. Re: Wise Api in Web Application
          maeste

           

          "marlau" wrote:
          Hello, congratulations for the new version...
          I've been trying version 0.9 (and version 1.0 in the last few days) in
          standalone applications, and you have done a great job.

          Thanks, it would be interesting for us knowing what do you think about 1.0 vs 0.9 when you have played a little more with new version.


          I'm planning to use wise api in a web application deployed in jbossas. Is there any sample web application in order to know required libraries and configuration settings?

          Not yet. We will add some example in next future about. I think we will target seam at least initially, but with groovy/ruby support we have provided since the beginning also Grails/Rails could be a choice in future. Would you like to share a little more about your application?
          We are planning next release(s) on dev forum, if you like join our discussion. Feedbacks from community are more than welcome



          • 2. Re: Wise Api in Web Application
            marlau

            Thanks for the prompt reply.

            "maeste" wrote:
            "marlau" wrote:
            Hello, congratulations for the new version...
            I've been trying version 0.9 (and version 1.0 in the last few days) in
            standalone applications, and you have done a great job.

            Thanks, it would be interesting for us knowing what do you think about 1.0 vs 0.9 when you have played a little more with new version.

            Although I haven't tried it yet, the WS-* extension is definitively a very interesting improvement. Regarding this point, it would be good to be able to explore WS requirements in WSDLs (specified using WS-Policy), in the same way that it is possible to explore services, ports and methods.


            I'm planning to use wise api in a web application deployed in jbossas. Is there any sample web application in order to know required libraries and configuration settings?

            Not yet. We will add some example in next future about. I think we will target seam at least initially, but with groovy/ruby support we have provided since the beginning also Grails/Rails could be a choice in future.

            OK, but is it possible to use the current wise api in a web or ejb application to be deployed in jbossas? Or the current version is only targeted to be use in standalone applications?

            Would you like to share a little more about your application?

            The idea of the application is to dynamically select the service to be invoked in order to perform a specific task. So we basically query a service registry, get the WSDLs and use wise to inspect the WSDLs, eventually ask for required parameters, and finally make the invocation with wise.
            We are planning next release(s) on dev forum, if you like join our discussion. Feedbacks from community are more than welcome

            OK, great. I'll take a look.

            Regards,
            Laura

            • 3. Re: Wise Api in Web Application
              maeste

               

              "marlau" wrote:
              Thanks for the prompt reply.

              Although I haven't tried it yet, the WS-* extension is definitively a very interesting improvement. Regarding this point, it would be good to be able to explore WS requirements in WSDLs (specified using WS-Policy), in the same way that it is possible to explore services, ports and methods.

              Ok,I've taken note, even if the underlying jbossws native have just partial support of WS-PO, for example it doesn't support at the moment WS_SecPolicy. Anyway when the underlying stack will support policy wise will support its exploration (BTW wise is designed to support more than one stack, even if at the moment we just support jbossws native)

              OK, but is it possible to use the current wise api in a web or ejb application to be deployed in jbossas? Or the current version is only targeted to be use in standalone applications?

              Yep it is possible. You have just to consider 2 things in doing that:
              1. Wise needs configurations provided by JBoss MC 1.x. IOW you have to deploy a xxxx.beans package containing a META-INF/jboss-beans.xml. This deploy could be done standalone or inside an ear
              2. Wise needs a JDK to work (not JRE) because it compiles generated classes on the fly.

              Anyway I'll try to provide a sample of a web application in a couple of days since it seems the most wanted feature in this day ;) http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148670


              The idea of the application is to dynamically select the service to be invoked in order to perform a specific task. So we basically query a service registry, get the WSDLs and use wise to inspect the WSDLs, eventually ask for required parameters, and finally make the invocation with wise.

              Oki, the basic idea is very similar to which inspired Wise web-gui. Maybe you are interested to have a look to our implementation of webgui that would probably be the main development effort of next months.

              thanks for the interest

              • 4. Re: Wise Api in Web Application
                marlau

                 

                "maeste" wrote:
                Ok,I've taken note, even if the underlying jbossws native have just partial support of WS-PO, for example it doesn't support at the moment WS_SecPolicy. Anyway when the underlying stack will support policy wise will support its exploration (BTW wise is designed to support more than one stack, even if at the moment we just support jbossws native)

                OK, thanks.

                Yep it is possible. You have just to consider 2 things in doing that:
                1. Wise needs configurations provided by JBoss MC 1.x. IOW you have to deploy a xxxx.beans package containing a META-INF/jboss-beans.xml. This deploy could be done standalone or inside an ear
                2. Wise needs a JDK to work (not JRE) because it compiles generated classes on the fly.
                Anyway I'll try to provide a sample of a web application in a couple of days since it seems the most wanted feature in this day ;) http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148670

                OK. I've taken these considerations some days ago but I still had problems (that's why I asked about the feasibility to include wise api in a webapp). So, it would be great if you can provide a sample application in the following days.

                Oki, the basic idea is very similar to which inspired Wise web-gui. Maybe you are interested to have a look to our implementation of webgui that would probably be the main development effort of next months.

                Yes of course, I'll be following the development of the project.


                • 5. Re: Wise Api in Web Application
                  maeste
                  • 6. Re: Wise Api in Web Application
                    maeste
                    • 7. Re: Wise Api in Web Application
                      marlau

                       

                      "maeste" wrote:
                      Have a look there:
                      http://jbosswise.blogspot.com/2009/01/wise-101-is-on-way.html

                      ok, thanks. I'll give it a try asap.

                      Laura