1 2 Previous Next 15 Replies Latest reply on Sep 7, 2005 6:50 AM by Thomas Diesler

    Integrate Axis 1.2 with JBoss !!

    kkanagaraj Newbie

      Hi All,

      As we know that Axis 1.1 / Jboss.net has many inconsistencies with respect to WS-I Basic Profile 1.0, Particularly Doc/Lit, Iam planning to Integrate Axis 1.2 with Jboss.

      I had few thoughts to do this:
      1. Remove Axis 1.1 configuration from Jboss.net.sar and add Axis 1.2 in it.
      Or
      2. In Jboss (Default Mode), just copy the Axis configuration details in to web application directory or deploy directory.

      Can any one share their thoughts, whether this approach is feasible enough ?

      thanks
      -kkanagaraj.

        • 1. Re: Integrate Axis 1.2 with JBoss !!
          Thomas Diesler Master

           

          "kkanagaraj" wrote:
          Hi Jason,
          Thanks for your suggestion !.

          1. Are you sure that Jboss 4 has implemented Axis 1.2, coz axis 1.2 itself in a beta version.


          Yup, I put it there myself :-)

          "kkanagaraj" wrote:

          2. I tried installing Axis 1.2 on JBoss 3.2.3:
          - In default mode of server, I copied Axis.war into deploy directory and tested, its working fine..


          That should always work, As long as you haven't moved the JBoss.Net stuff, Axis will work on its own.

          "kkanagaraj" wrote:

          - In All mode of server, I have to integrate with Jboss.net, so I just copied the all the jar files (axis.jar,commons-logging,etc..) into jboss-net.sar and started the server..


          Without editing the JBoss.Net source in the 3.2.x branch you won't have much success with that. and you can't move the JBoss.Net stuff from 4.x back to 3.2.x either.

          "kkanagaraj" wrote:

          Iam sure, as u said, I need updated version jboss-net.jar !!. Just thinking what to do now, whether to go for JBoss 4.0 or run the JBoss 3.2.3 in default mode and use Axis 1.2.


          If you are not in a production environment, the easiest thing to do would be to just checkout jboss-head from cvs and build that. It does include Axis 1.2 and a JBoss.Net that works with it.

          -jason

          • 2. Re: Integrate Axis 1.2 with JBoss !!
            Jason Essington Newbie

            Axis 1.2 is already in JBoss4 (head) as it is required for WSS (wss47j) and Web Service Addressing. It is a simple matter to backport it to JBoss3.2.x however it hasn't been done mostly because there isn't an official release yet.

            There is some API change in Axis 1.2 that requires some change in the JBoss.Net classes but I think it is really only a few lines of code.

            -jason

            • 3. Re: Integrate Axis 1.2 with JBoss !!
              kkanagaraj Newbie

              Hi Jason,
              Thanks for your suggestion !.

              1. Are you sure that Jboss 4 has implemented Axis 1.2, coz axis 1.2 itself in a beta version.
              2. I tried installing Axis 1.2 on JBoss 3.2.3:
              - In default mode of server, I copied Axis.war into deploy directory and tested, its working fine.
              - In All mode of server, I have to integrate with Jboss.net, so I just copied the all the jar files (axis.jar,commons-logging,etc..) into jboss-net.sar and started the server.
              I tried http://localhost:8080/jboss-net/ - It works fine, but when I invoke any webservice in it, it throws an exception to me :

              Fault - Could not introspect mbean.; nested exception is:
              java.lang.NoSuchFieldException: introspectionComplete
              AxisFault
              faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
              faultSubcode:
              faultString: Could not introspect mbean.; nested exception is:
              java.lang.NoSuchFieldException: introspectionComplete
              faultActor:
              faultNode:
              faultDetail:

              Iam sure, as u said, I need updated version jboss-net.jar !!. Just thinking what to do now, whether to go for JBoss 4.0 or run the JBoss 3.2.3 in default mode and use Axis 1.2.

              Can any one give their thoughts please...
              thanks,
              -kkanagaraj







              • 4. Re: Integrate Axis 1.2 with JBoss !!
                kkanagaraj Newbie

                Jason,

                Check this link:
                http://www.jboss.org/index.html?module=html&op=userdisplay&id=developers/projects/jboss/dotnet

                It clearly states that Jboss3.2.*, Jboss 4.0 and Head all implements Axis 1.1.

                Are you really sure that Jboss 4.0 implements Axis 1.2 ??

                thanks,
                -kannan

                • 5. Re: Integrate Axis 1.2 with JBoss !!
                  Jason Essington Newbie

                   

                  "kkanagaraj" wrote:
                  Hi Jason,
                  Thanks for your suggestion !.

                  1. Are you sure that Jboss 4 has implemented Axis 1.2, coz axis 1.2 itself in a beta version.


                  Yup, I put it there myself :-)

                  "kkanagaraj" wrote:

                  2. I tried installing Axis 1.2 on JBoss 3.2.3:
                  - In default mode of server, I copied Axis.war into deploy directory and tested, its working fine..


                  That should always work, As long as you haven't moved the JBoss.Net stuff, Axis will work on its own.

                  "kkanagaraj" wrote:

                  - In All mode of server, I have to integrate with Jboss.net, so I just copied the all the jar files (axis.jar,commons-logging,etc..) into jboss-net.sar and started the server..


                  Without editing the JBoss.Net source in the 3.2.x branch you won't have much success with that. and you can't move the JBoss.Net stuff from 4.x back to 3.2.x either.

                  "kkanagaraj" wrote:

                  Iam sure, as u said, I need updated version jboss-net.jar !!. Just thinking what to do now, whether to go for JBoss 4.0 or run the JBoss 3.2.3 in default mode and use Axis 1.2.


                  If you are not in a production environment, the easiest thing to do would be to just checkout jboss-head from cvs and build that. It does include Axis 1.2 and a JBoss.Net that works with it.

                  -jason

                  • 6. Re: Integrate Axis 1.2 with JBoss !!
                    kkanagaraj Newbie

                    Jason,

                    I tried downloading JBoss-head, But I still couldn't find the repository. I checked sourceforge.net, but I couldn't find jboss-head.
                    http://sourceforge.net/project/showfiles.php?group_id=22866

                    Can you please tell me where shall I download JBoss-Head ?

                    thanks,
                    -kkanagaraj

                    • 7. Re: Integrate Axis 1.2 with JBoss !!
                      Jason Essington Newbie

                       

                      "kkanagaraj" wrote:
                      Can you please tell me where shall I download JBoss-Head ?
                      -kkanagaraj


                      you will have to check it out from cvs

                      there is a bit of info available here:

                      http://sourceforge.net/cvs/?group_id=22866

                      the command to get jboss-head is

                      cvs -q -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/jboss co jboss-head
                      


                      NOTE: head is where the heavy development is happening so it may not be completely stable at any given moment, but it will give you a chance to try out JBoss.Net with Axis 1.2

                      -jason

                      • 8. Re: Integrate Axis 1.2 with JBoss !!
                        James Clover Newbie

                        Or, if you're behind a firewall, go to http://www.jboss.org/developers/sourcecode

                        • 9. Re: Integrate Axis 1.2 with JBoss !!
                          John D'Ausilio Newbie

                          I happen to be trying to do this right now .. there are 4 errors after dropping Axis head into the source tree .. two have to do with preventing EJB interface methods from being exposed in the webservice, but that interface in ServiceDesc has been replaced by one which allows/disallows methods instead of classes .. havn't figured out correct form to give it method names, so I commented it out for now. The other two are what breaks the MBean .. I'm trying to figure out how to handle them now. Anyone want to share info, email me at johnsortnet

                          jd

                          • 10. Re: Integrate Axis 1.2 with JBoss !!
                            John D'Ausilio Newbie

                            Turned out to be pretty easy .. issues were all related to refactoring of JavaServiceDesc from ServiceDesc (I suppose to support C?). Anyway, casting ServiceDesc to JavaServiceDesc at the 4 error points seems to have made it all work .. unfortunately it didn't fix my particular problems, but it did change them ..

                            • 11. Re: Integrate Axis 1.2 with JBoss !!
                              Lecan Newbie

                              Axis 1.2RC1 is out and could be the last version before 1.2 final.

                              Is it possible to hope to see this version included in any release of JBoss 3.2.x (maybe 3.2.6 ??) ?


                              Thanks

                              Damien

                              • 12. Re: Integrate Axis 1.2 with JBoss !!
                                Thomas Diesler Master

                                The JBoss.NET project webside is out of date. Sorry about it - I'll deal with it. There is no Axis-1.2 support in any of the branches and not in head either.

                                Currently we use an axis-1.1 derivative that is BasicProfile-1.0 compliant. Axis in JBoss has entered maintenance and will no be developed further. Instead we plan to integrate our own SOAP stack - a.k.a. JBossWS

                                http://www.jboss.org/index.html?module=bb&op=viewtopic&t=54303

                                Can you use J2EE complatible webservices with JBossWS?

                                • 13. Re: Integrate Axis 1.2 with JBoss !!
                                  Lecan Newbie

                                   

                                  "tdiesler" wrote:
                                  Currently we use an axis-1.1 derivative that is BasicProfile-1.0 compliant. Axis in JBoss has entered maintenance and will no be developed further. Instead we plan to integrate our own SOAP stack - a.k.a. JBossWS

                                  I'm not sure to understand.
                                  OK, Jboss.Net is dead, and JbossWS replaces it. But will JbossWS be integrated into 3.2.x branche ?

                                  "tdiesler" wrote:
                                  Can you use J2EE complatible webservices with JBossWS?

                                  I don't see anything which prevents us from using it.

                                  We just need to update our web-service.xml file to be compliant with the new web service syntaxe, no ?

                                  Damien


                                  • 14. Re: Integrate Axis 1.2 with JBoss !!
                                    Thomas Diesler Master

                                    As of version jboss-3.2.6 and jboss-4.0.0 we use a derivative of the latest stable axis-1.1 version. The jar is called axis-ws4ee.jar and is shared between the two jboss branches. It is J2EE-1.4 and BasicProfile-1.0 compliant.

                                    Any other other version of Axis than the one we distribute is not supported by JBoss.

                                    1 2 Previous Next