in
Creating Smarter Networks

iLonSmartServet and JAVA

Last post 08-13-2009 1:46 AM by sshcherbakov. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 05-28-2009 4:58 AM

    iLonSmartServet and JAVA

    Hello Friends!

    Nowadays we are developing an application client in JAVA to acced to the SmartServer. I have installed the environment IDE Eclipse and numerous plugins between them Axis2 Code Generator. This pluging in java what it does is to generate classes in java from the file WDSL that the iLon is publishing. Once created these classes we could exchange info in both addresses. The problem is in that when it is going to finish the process of creation a mistake goes out for us. If someone was immersed in something seemed we would be grateful for him much that was helping us.

    • Post Points: 65
  • 05-28-2009 12:49 PM In reply to

    • moombasan
    • Top 25 Contributor
    • Joined on 06-06-2008
    • germany
    • Posts 8
    • Points 100

    Re: iLonSmartServet and JAVA

    hi, could you please provide the error message / stack trace you get?
    • Post Points: 5
  • 06-05-2009 2:28 AM In reply to

    Re: iLonSmartServet and JAVA

     Hi

    We found Java spring to work well with the SmartServer.

    Regards

    Thorsten

    • Post Points: 20
  • 07-19-2009 11:16 PM In reply to

    • lokendar
    • Top 75 Contributor
    • Joined on 07-20-2009
    • Posts 2
    • Points 25

    Re: iLonSmartServet and JAVA

    hi, i am trying to read data logs through java and stuck with it. Can you please guide me on this...

     

    regards

    loki

    • Post Points: 5
  • 07-26-2009 11:10 PM In reply to

    Re: iLonSmartServet and JAVA

    Could you to explain basically how from Spring you access to the SmartServer ?. I do not have not more idea.

    Thanks. 

    • Post Points: 5
  • 08-13-2009 1:46 AM In reply to

    Re: iLonSmartServet and JAVA

    JAXB2 proxy class generator works well with SmartServer WSDL.

    Assuming that you have SmartServer WSDL and XSD files in your project's source folder here is a maven plugin configuration which generates correct proxy classes:

    <plugin>

    <groupId>org.jvnet.jaxb2.maven2</groupId>

    <artifactId>maven-jaxb2-plugin</artifactId>

    <executions>

    <execution>

    <goals>

    <goal>generate</goal>

    </goals>

    </execution>

    </executions>

    </plugin>

    In case if you mean errors that Eclipse WSDL editor shows when the SmartServer WSDL is opened, then you can simply ignore them. They are minor and do not have any influence on the proxy classes generation and subsequent successful execution.

    Other web service proxy generators should work also well with its WSDL. 

    Spring is not a requirement for a Java application to communicate with a SmartServer.

    • Post Points: 5
Page 1 of 1 (6 items)
©2008 Echelon Corporation