docusign / code-examples-java Goto Github PK
View Code? Open in Web Editor NEWDocusign Java Code Examples and Launcher
Home Page: https://developers.docusign.com/
License: MIT License
Docusign Java Code Examples and Launcher
Home Page: https://developers.docusign.com/
License: MIT License
I have downloaded the code with my developer account and ran it in both Eclipse and command line. Then logged in at Localhost:8080 with my developer account, then I see the error on the screen as ,
Oops, we have encountered a problem.
Message and Dump are empty and no information is available. Tomcat don'
t have any error in console.
setting in application.json,
production account
authorization.code.grant.client.client-secret,
but you are giving a password error or invalid email
Hello friends,
Our backend application is using JDK1.8 , so the latest version supported is 3.6.0, right?
Is there any code-example to show how to integrate it ?
Thank you for any help and advice!
Hello,
i get a error wenn i run the code-example-java. Can you please help me? Thanks!
Error:
Oops, we have encountered a problem.
Message:
Dump:
Please check your account configuration. If you are unable to resolve the problem, open a new issue on GitHub.
Please check your account configuration. If you are unable to resolve the problem, open a new issue on GitHub.
The official docusign documentation here says that embedded signing does NOT redirect the signer to an external url.
The first example in this demo app description is called "Embedded Signing Ceremony":
AFAIC that demo does redirect the signer to an external URL but it shouldn't.
Could someone point me to an example where the signer is NOT redirected to an external URL?
Or maybe I'm using this demo app incorrectly or I'm misreading something?
Embedded signing demo redirects to an external URL where the documentation suggest it wouldn't:
When generate QuickStart app from "Apps and keys" admin page
the key jwt.grant.client.client-id is set with {JWT_API_ACCOUNT_ID} instead of the integration key value.
Something like :
{
...
jwt.grant.sso.redirect-url: "&type=jwt"
jwt.grant.client.scope: "signature impersonation"
jwt.grant.client.base-url: "account-d.docusign.com"
jwt.grant.client.client-id: "{JWT_API_ACCOUNT_ID}"
jwt.grant.client.private-key-path: "src/main/resources/private.key"
...
}
This occurs with the Java apps.
I don't know for the others languages
Hi,
I had this problem for quite some time now.
When we use SMS verification with the imbedded signing it is preventing the user to change its signature.
When not using the SMS verification the user can change its signature as expected. (We need sms verification )
This feature is not accessible when using the SMS verification
To reproduce this behavior please add the following in the method makeEnvelope of EG001ControllerEmbeddedSigning
final List RECIPIENT_PHONE_NUMBERS = Arrays.asList( YOUR PHONE NUMBER );
final RecipientSMSAuthentication smsAuth = new RecipientSMSAuthentication();
smsAuth.setSenderProvidedNumbers( RECIPIENT_PHONE_NUMBERS );
signer.setSmsAuthentication( smsAuth );
signer.setIdCheckConfigurationName( "SMS Auth $" );
Then try 1. Use embedded signing and will see that you can't change your signature once you adopted one.
I am doing something wrong that prevent me to change my signature when using the SMS verification?
Is there any work around to get this functionality back when using the SMS verification ?
Our customers don't have a docusign account.
Possible work around :
Is there a way to remove the signature adoption of a signer via the API or via the Admin page? SO the next time they sign a document they have to select a signature adoption ?
Kind regards
i cloned the code run it but not getting redirected on docusign page
Is there any way users do not log in when https://account-d.docusign.com/oauth/auth; Or user do not visit https://account-d.docusign.com/oauth/auth; Or developer visit request the authorization code, user does not request the authorization code
Can this project running on the local machine? I got the following exception from my side:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DSConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'com.docusign.github.example-uri' in value "${com.docusign.github.example-uri}"
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "LinkToHowTo" (class com.docusign.core.model.manifestModels.CodeExampleText), not marked as ignorable (24 known properties: "Notes", "LinksToAPIMethod", "CustomErrorTexts", "SkipForLanguages", "CFREnabled", "ExampleNumber", "RedirectsToOtherCodeExamples", "ExampleName", "AdditionalPage", "notes", "linksToAPIMethod", "Forms", "skipForLanguages", "ExampleDescription", "redirectsToOtherCodeExamples", "additionalPage", "ResultsPageText", "forms", "exampleNumber", "exampleName", "cfrenabled", "exampleDescription", "resultsPageText", "customErrorTexts"])
at [Source: (StringReader); line: 1, column: 149477] (through reference chain: com.docusign.core.model.manifestModels.ManifestStructure["APIs"]->java.util.ArrayList[5]->com.docusign.core.model.manifestModels.APIs["Groups"]->java.util.ArrayList[0]->com.docusign.core.model.manifestModels.ManifestGroup["Examples"]->java.util.ArrayList[0]->com.docusign.core.model.manifestModels.CodeExampleText["LinkToHowTo"])
https://raw.githubusercontent.com/docusign/code-examples-csharp/master/manifest/CodeExamplesManifest.json
应该是这个返回的数据结构变化导致的错误
Hello,
i get this error in github. Can i please help? Thanks you!
@GBIEK ➜ /workspaces/code-examples-java (master ✗) $ /usr/bin/env /opt/java/11.0.14/bin/java -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:46125 @/tmp/cp_5qngrjy5gj0th2nhtjgsk18jn.argfile com.docusign.App
14:19:17.952 [main] INFO com.docusign.App - Retrieving the default initialize context
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.desktop/java.awt.Desktop.getDesktop(Desktop.java:301)
at com.docusign.App.main(App.java:48)
@GBIEK ➜ /workspaces/code-examples-java (master ✗) $
on the screen i'm getting
Oops, we have encountered a problem.
Message:
Dump:
Please check your account configuration. If you are unable to resolve the problem, open a new issue on GitHub.
and in network tab i'm getting :
Request URL:
http://localhost:8080/ds/authenticate
Request Method:
POST
Status Code:
403 Forbidden
Remote Address:
[::1]:8080
Referrer Policy:
strict-origin-when-cross-origin
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding:
gzip, deflate, br
Accept-Language:
en-US,en;q=0.9,hi;q=0.8
Cache-Control:
max-age=0
Connection:
keep-alive
Content-Length:
18
Content-Type:
application/x-www-form-urlencoded
Cookie:
JSESSIONID=880D8105962D3FB072F831CEC790D8E6
Host:
localhost:8080
Origin:
http://localhost:8080
Referer:
http://localhost:8080/ds/mustAuthenticate
Sec-Ch-Ua:
"Not_A Brand";v="8", "Chromium";v="120", "Microsoft Edge";v="120"
Sec-Ch-Ua-Mobile:
?0
Sec-Ch-Ua-Platform:
"Windows"
Sec-Fetch-Dest:
document
Sec-Fetch-Mode:
navigate
Sec-Fetch-Site:
same-origin
Sec-Fetch-User:
?1
Upgrade-Insecure-Requests:
1
User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
I am getting the below error when I try to create a ClickWrap using Qickstart code through the url "http://localhost:8080/c001" :
Oops, we have encountered a problem.
Message: error
Dump: com.docusign.click.client.ApiException: error at com.docusign.click.client.ApiClient.invokeAPI(ApiClient.java:1414) at com.docusign.click.api.AccountsApi.createClickwrap(AccountsApi.java:79) at com.docusign.controller.click.examples.C001ControllerCreateClickwrap.doWork(C001ControllerCreateClickwrap.java:54) at com.docusign.core.controller.AbstractController.create(AbstractController.java:86) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1064) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:228) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:121) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:105) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:218) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212) at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:218) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212) at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163) at org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter.doFilter(OAuth2ClientContextFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1723) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.