Contributions
- 1.1KViews0likes0Comments
Re: Creating a Review with web services
Same issue here. We'd like to add authors, reviewers and perforce changelists with the web service, but it is not implemented. Why? Just creating a new review is just one click, it is not worth doing programatically via the webservice. Adding author, reviewers, uploading changelist via the web service would be the real deal as this is the more complex part of the review creation. Creating the just review via the web service(which is easy to debug, etc.) and doing everything with calling ccollab... Simply not worth it. And the ccollab.exe starts rather slow. Adds extra seconds to the whole operation. Suggestions?1.1KViews0likes0CommentsRe: Web services sample code fails
Solved! First I generated the classes with wsdl2java, but there were errors, so I tried to add the web service with Eclipse. It aslo generated the classes, and with that there were no errors in the sample with the exceptions thrown. Now I re-generated the classes with wsdl2java and they differ from the ones which were created by Eclipe. Then I fixed the exception type problems, and now it runs!599Views0likes0CommentsWeb services sample code fails
Hi, I'm about to create a web service and started with the official sample code:http://support.smartbear.com/viewarticle/25688/ It fails at the fourth line: CodeCollaborator client = (CodeCollaborator) factory.create(); It throws a NullPointerException: java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) at org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.isWebMethod(JaxWsServiceConfiguration.java:166) Has anyone managed to compile the sample code? Are there other examples which could be guideline for the first steps? Thanks!8.5KViews0likes1CommentIs there any way we could add create parameters to the P4 client?
We need to fill a custom field on the review which comes from P4 Description. Is there a way we could configure the P4 SCM client(CodeCollaborator Client) so it would get the parameters from the P4 description and put it into the new review's custom field? I know that the title has the P4 description, and a create trigger could parse text from it, but the trigger needs to login every time and this is really slow. So the nicest way would be to set parameters to the CodeCollaborator Client.8.2KViews0likes2CommentsCreate trigger running batch file does requires login every time?
I am creating a batch file which is run via the create trigger. The login process is kinda slow, is there a way I can avoid running the login command in the beginning of the batch file? Now every time the trigger is called, the login is run.8.9KViews0likes3CommentsCLI login parameter for accepting certificate
I am looking for a login command parameter/global option which allows me to accept the certificate when this appears: The SSL certificates sent by the server could not be validated: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target It is possible, though unlikely, that someone may be trying to intercept your communication with this service. If you have questions about the validity of the certificate, please check with your administrator. What would you like to do? P: Print the certificate chain. A: Accept the certificate permanently (automatically accept this certificate in the future). T: Temporarily accept this certificate (confirm again upon next connection). R: Reject the certificate.7.4KViews0likes1Comment