Menu

Customization signserver admin gui

Help
petr
2015-01-21
2015-02-02
  • petr

    petr - 2015-01-21

    Hi everybody,

    I want to customi layout and some feature of signserver admin GUI. When i open source code by Netbean IDE, i have some missing library:
    import org.signserver.protocol.ws.gen.CryptoTokenOfflineException_Exception;
    import org.signserver.protocol.ws.gen.IllegalRequestException_Exception;
    import org.signserver.protocol.ws.gen.InvalidWorkerIdException_Exception;
    import org.signserver.protocol.ws.gen.SignServerException_Exception;
    import org.signserver.protocol.ws.gen.SignServerWS;
    import org.signserver.protocol.ws.gen.SignServerWSService;
    import org.signserver.protocol.ws.gen.WorkerStatusWS;

    i dont know how to create that packet, and not find that in source code project,

    Pls show me the way to pass this error ?

    Thanks

     
  • Markus Kilås

    Markus Kilås - 2015-01-21

    Hi Duong,

    Those classes are used by the AdminGUI to call the SignServerWS web service are automatically generated when you build the project. So just build SignServer, for instance from command line that is:
    bin/ant build

    And then you should see the classes in the IDE.

    Best regards,
    Markus
    PrimeKey Solutions

    PrimeKey Solutions offers a commercial EJBCA & SignServer support subscription and training. Please see www.primekey.se or contact info@primekey.se for more information.
    https://www.primekey.se/Services/Support/
    https://www.primekey.se/Services/Training/

     
    • petr

      petr - 2015-01-26

      Hi Markus,

      I can build successfuly with ant build. But when run Admin GUI on netbean IDE, i have error:
      java.io.IOException: Cannot run program "wsimport"

      pls tell me the way to pass this error

      Thanks

       
  • petr

    petr - 2015-01-26

    Thanks MArkus,

     

    Last edit: petr 2015-01-26
  • Markus Kilås

    Markus Kilås - 2015-02-02

    Sounds like the wsimport command is not available, could be some path issue. I have not seen that error before.
    On the other hand I am usually not starting the GUI from within the IDE but using the bin/signserver-gui script.
    Tested now using the IDE and building works fine and it starts up but later fails because of https://jira.primekey.se/browse/DSS-920.

    I would suggested using the script to start the GUI.

     

Log in to post a comment.