4 Replies Latest reply on Aug 26, 2005 4:36 AM by Bruce Scharlau

    Error while deploying web service

    Praneeth Newbie

      hi,

      i am working on jboss 3.2.5. i am trying to build a web service and deploy it on this server.i followed the example given in this link.
      http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml

      when i try to open the axis link to view the service that i deployed,i get the following error.

      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:
      {http://xml.apache.org/axis/}hostname:inenpurigpd1c

      can anyone help me out with this problem?thanks in advance.

      praneeth

        • 1. Re: Error while deploying web service
          Bruce Scharlau Newbie

          Hi,

          are you using JDK1.4 or 1.5? and are there any other details that you can give me?

          I've not tried that practical against 3.2.5, but will do so today and let you know how it goes.

          cheers,

          Bruce

          • 2. Re: Error while deploying web service
            Bruce Scharlau Newbie

            Praneeth,

            I downloaded jboss-3.2.5 and tried the code in my example against the downloaded code and it worked fine. I can only think that you might've also changed the version of Axis that you're using, or something else, and that this is interfering with your running of the app.

            cheers,

            Bruce

            • 3. Re: Error while deploying web service
              Praneeth Newbie

              Bruce,

              thanks for your reply....yeah...i downloaded jboss 3.2.5 and compared the axis.jar file with the one i had...they are different...when i replaced the axis.jar file,it worked fine.

              now..i have written another web service for my development....i dont get any error...but the implementation just doesnt happen....my service class returns a string...when i return a normal string,say,"HelloWorld",the string is returned...but the code i have written specific to my development doesnt get executed....I use the APIs provided by Adobe Policy Server inside my service class....is there any restriction that we have to use only objects from the normal java package in service classes....i am new to web services...so..please let me know...

              Praneeth

              • 4. Re: Error while deploying web service
                Bruce Scharlau Newbie

                Praneeth,

                two things. First, you might want to go into the log4j.xml file under the conf directory and change the org.jboss.axis setting from 'info' to 'debug'. However, this will give you LOTS of messages, but may be what you need to see why your app isn't working.

                Second, it could be that you've not called the Adobe Policy Server correctly. Can you run the code (assuming that it's a POJO) outwith the webservice ok? I've not used this before, so I'm just speculating on what I'd do.

                Good luck.

                Bruce