Starting a flow using Corda RPC Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Do we really need to import Corda's code for RPC ? How in the future?Is there any way to start a flow on a node without rpcHow can we replace corda specific web server with springWill Corda-webserver be made production-ready or be replaced?How do I define multiple responder flows, each in a different CorDapp?Recommended way(s) to log events in CordaExcception when Implementing RPC permissions Security ManagementHow Do I Performance Test My CorDapp?Interacting Corda with Custom applicationWhy can't the corda-webserver connect in a cloud server when it does locally?

AppleTVs create a chatty alternate WiFi network

Crossing US/Canada Border for less than 24 hours

If the probability of a dog barking one or more times in a given hour is 84%, then what is the probability of a dog barking in 30 minutes?

How to write capital alpha?

How to compare two different files line by line in unix?

What do you call the main part of a joke?

How could we fake a moon landing now?

Is there any word for a place full of confusion?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Getting prompted for verification code but where do I put it in?

How does light 'choose' between wave and particle behaviour?

Dynamic filling of a region of a polar plot

How to report t statistic from R

Girl Hackers - Logic Puzzle

Do I really need to have a message in a novel to appeal to readers?

What to do with repeated rejections for phd position

What's the point of the test set?

A term for a woman complaining about things/begging in a cute/childish way

How does Belgium enforce obligatory attendance in elections?

Why are vacuum tubes still used in amateur radios?

Project Euler #1 in C++

One-one communication

Putting class ranking in CV, but against dept guidelines

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?



Starting a flow using Corda RPC



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Do we really need to import Corda's code for RPC ? How in the future?Is there any way to start a flow on a node without rpcHow can we replace corda specific web server with springWill Corda-webserver be made production-ready or be replaced?How do I define multiple responder flows, each in a different CorDapp?Recommended way(s) to log events in CordaExcception when Implementing RPC permissions Security ManagementHow Do I Performance Test My CorDapp?Interacting Corda with Custom applicationWhy can't the corda-webserver connect in a cloud server when it does locally?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















By reading the docs, it is clear that the only way to interact with corda is via RPC. If you want to interact via http, then we have to write a web server exposing specific endpoints.



I am trying to write a rpc client to start a flow in the cordapp without webserver.



rpcOps.startTrackedFlowDynamic(ExampleFlow.Initiator.class, iouValue, otherParty)


I couldn't understand properly here. Should I duplicate the ExampleFlow class both on client end and in the cordapp? What is the structure of rpcclient and cordapp in this case of not having a web server?



tl;dr Write a client to start a flow on already running corda node without webserver? Thanks










share|improve this question




























    0















    By reading the docs, it is clear that the only way to interact with corda is via RPC. If you want to interact via http, then we have to write a web server exposing specific endpoints.



    I am trying to write a rpc client to start a flow in the cordapp without webserver.



    rpcOps.startTrackedFlowDynamic(ExampleFlow.Initiator.class, iouValue, otherParty)


    I couldn't understand properly here. Should I duplicate the ExampleFlow class both on client end and in the cordapp? What is the structure of rpcclient and cordapp in this case of not having a web server?



    tl;dr Write a client to start a flow on already running corda node without webserver? Thanks










    share|improve this question
























      0












      0








      0








      By reading the docs, it is clear that the only way to interact with corda is via RPC. If you want to interact via http, then we have to write a web server exposing specific endpoints.



      I am trying to write a rpc client to start a flow in the cordapp without webserver.



      rpcOps.startTrackedFlowDynamic(ExampleFlow.Initiator.class, iouValue, otherParty)


      I couldn't understand properly here. Should I duplicate the ExampleFlow class both on client end and in the cordapp? What is the structure of rpcclient and cordapp in this case of not having a web server?



      tl;dr Write a client to start a flow on already running corda node without webserver? Thanks










      share|improve this question














      By reading the docs, it is clear that the only way to interact with corda is via RPC. If you want to interact via http, then we have to write a web server exposing specific endpoints.



      I am trying to write a rpc client to start a flow in the cordapp without webserver.



      rpcOps.startTrackedFlowDynamic(ExampleFlow.Initiator.class, iouValue, otherParty)


      I couldn't understand properly here. Should I duplicate the ExampleFlow class both on client end and in the cordapp? What is the structure of rpcclient and cordapp in this case of not having a web server?



      tl;dr Write a client to start a flow on already running corda node without webserver? Thanks







      corda






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 8 at 22:07









      NihhaarNihhaar

      37




      37






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Yes - currently, the client must depend on ExampleFlow.Initiator and have it available on the classpath. This is true whether it's a webserver or a regular command line client.






          share|improve this answer























          • Thanks, its working. So, rpc client is distributed along with corda libs (as ExampleFlow is dependent on corda)?

            – Nihhaar
            Mar 9 at 23:21











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071658%2fstarting-a-flow-using-corda-rpc%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Yes - currently, the client must depend on ExampleFlow.Initiator and have it available on the classpath. This is true whether it's a webserver or a regular command line client.






          share|improve this answer























          • Thanks, its working. So, rpc client is distributed along with corda libs (as ExampleFlow is dependent on corda)?

            – Nihhaar
            Mar 9 at 23:21















          1














          Yes - currently, the client must depend on ExampleFlow.Initiator and have it available on the classpath. This is true whether it's a webserver or a regular command line client.






          share|improve this answer























          • Thanks, its working. So, rpc client is distributed along with corda libs (as ExampleFlow is dependent on corda)?

            – Nihhaar
            Mar 9 at 23:21













          1












          1








          1







          Yes - currently, the client must depend on ExampleFlow.Initiator and have it available on the classpath. This is true whether it's a webserver or a regular command line client.






          share|improve this answer













          Yes - currently, the client must depend on ExampleFlow.Initiator and have it available on the classpath. This is true whether it's a webserver or a regular command line client.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 9 at 10:23









          JoelJoel

          11.6k11430




          11.6k11430












          • Thanks, its working. So, rpc client is distributed along with corda libs (as ExampleFlow is dependent on corda)?

            – Nihhaar
            Mar 9 at 23:21

















          • Thanks, its working. So, rpc client is distributed along with corda libs (as ExampleFlow is dependent on corda)?

            – Nihhaar
            Mar 9 at 23:21
















          Thanks, its working. So, rpc client is distributed along with corda libs (as ExampleFlow is dependent on corda)?

          – Nihhaar
          Mar 9 at 23:21





          Thanks, its working. So, rpc client is distributed along with corda libs (as ExampleFlow is dependent on corda)?

          – Nihhaar
          Mar 9 at 23:21



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071658%2fstarting-a-flow-using-corda-rpc%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          1928 у кіно

          Захаров Федір Захарович

          Ель Греко