Hello,
I'm pretty new to Ziptie but I have some pretty serious use for it.
I'm keen to develop a web UI to run commands against routers.
Is there any one with any knowledge of how I would go about doing this.
I've setup a tomcat server with a Servlet that uses JAX-WS client via this annotation
@WebServiceRef(wsdlLocation = "https://localhost:8080/server/tools?wsdl")
private ToolsService service;
in a try/catch block I have
org.ziptie.provider.tools.Tools port = service.getToolsPort();
java.util.List result = port.getToolDescriptors();
this is all pretty standard, the issue I have is around ssl and authentication. I get a Null pointer exception on this line
org.ziptie.provider.tools.Tools port = service.getToolsPort();
how do go about validating the SSL cert that ziptie has and also sending credentials?
I'm not really much of a Java developer but I have some skills and an entire Java development team at my disposal.
Cheers in advance
Geoff McIver
We have the Java client code
We have the Java client code generated as part of the client build.
In the plugins directory of the client there is a jar called "org.ziptie.client_<version>.jar". There are a few jars that all start with org.ziptie.client that have the specific generated port bindings.
Check out the javadoc here...
http://dev.ziptie.org/docs/javadoc/org/ziptie/client/package-summary.htm...
Also, for an example of how to setup a cert trust manager look at the static initializer here...
http://fisheye.ziptie.org/browse/~raw,r=1.18/ZipTie/org.ziptie.ui.client...
- Leo
Luck
Geoff, have any luck with the Java SOAP client?
You might also like to know that lbayer (also on this thread) is starting work on a web-based Flex (Adobe Flash) version of ZipTie. If is turns out like we want it to, it will replace the current client sometime over the Summer.
-Brett
How to use HTTP instead of HTTPS
We are developing a Java Client that runs on the same machine as ZipTie, so we don't want to use HTTPS. Two questions:
1) I see references to https and http in config.ini, but it's not really documented. Can you tell me or point to the documentation that specifies what parameters to change to switch to http?
2) Can you point me to any example code for a ZipTie client to use http?