3 Replies Latest reply on Jun 27, 2014 4:10 PM by anwarb

    SolarWinds Orion SDK Java Client Not compiling

    anwarb

      Installed SolarWinds Orion SDK 1.9

      Trying to go through the Java Client sample

       

      java.xml.rpc.ServiceException not resolving

       

      Neither are:

      org.apache.axis.AxisFault

      org.apache.axis.AxisProperties

      org.apache.axis.Client.Stub

      org.apache.axis.message.MessageElement

       

      Ideas appreciated.

      Thanks

        • Re: SolarWinds Orion SDK Java Client Not compiling
          madhavan

          Hi,

           

          We are investigating on this and get back to you asap.

          1 of 1 people found this helpful
            • Re: SolarWinds Orion SDK Java Client Not compiling
              madhavan

              Hi,

               

              I faced similar issue when opening the java project on a fresh machine. Some of the jar files are not part of the sdk package. I manually added those jar files and then the project compiled and ran without any issues.

               

              Open .classpath file @"C:\Program Files (x86)\SolarWinds\Orion SDK\Samples\JavaClient\" and check if all the jar files (with path) provided in the file are available in the respective directory.

               

              Let us know if you do not have those jar files and need information on from where those files needs to be downloaded.

              1 of 1 people found this helpful
            • Re: SolarWinds Orion SDK Java Client Not compiling
              anwarb

              I added the following in my MAVEN pom.xml which allows the jars to be downloaded from the central repository and the code compiled:

              <dependency>
                   <groupId>axis</groupId>
                   <artifactId>axis</artifactId>
                   <version>1.4</version>
              </dependency>
              <dependency>
                   <groupId>org.apache.axis</groupId>
                   <artifactId>axis-jaxrpc</artifactId>
                   <version>1.4</version>
              </dependency>

              <dependency>
                <groupId>javax.activation</groupId>
                <artifactId>activation</artifactId>
                <version>1.1.1</version>
              </dependency>
              <dependency>
                <groupId>javax.mail</groupId>
                <artifactId>mail</artifactId>
                <version>1.4</version>
              </dependency>