RPC Vault query incompatibility between Corda 3.3 and Corda 4

Description

Checkout the releases/release-V3 branch of enterprise
Update the root build.gradle to set the release version to 3.3-SNAPSHOT
Run gradlew install -x test (if on windows/Mac OS you need to comment out lines 239-242 in node/dist/build.gradle

git clone https://github.com/anthonykeenan/samples
cd samples/obligation-cordapp
git checkout release-V3-enterprise-serialization-repro
gradlew :kotlin-source:deployNodes

Update kotlin-source/build/nodes/PartyC/corda.jar to Corda 4.0 Enterprise RC03 jar.
Delete kotlin-source/build/nodes/PartyC/persistence.*
Run kotlin-source/build/nodes/runnodes

Once all nodes have started
On PartyA run: flow start CashIssueFlow amount: "10 GBP", issuerBankPartyRef: "1234" , notary: Notary
On PartyA run: flow start CashPaymentFlow amount: "10 GBP", recipient: PartyC, anonymous: true
On PartyC run: flow start CashPaymentFlow amount: "5 GBP", recipient: PartyA, anonymous: true

navigate to Main.kt in the rpc-client project.
Run fun Main
This queries each node with an RPC client using Corda 3.3 with the Finance 3.3 app.

It fails to query the V4 node with:

Modify the dependencies section in rpc-client\build.gradle to read:

Run fun Main again
This queries each node with an RPC client using Corda 4.0-RC03 with the Finance 3.3 app.

It fails to query the v3 node with:

Activity

Show:
Katelyn Baker
March 1, 2019, 10:59 AM

Assignee

James Higgs

Reporter

Anthony Keenan

Labels

None

Sprint

None

Epic Link

None

Priority

High

Severity

Medium

CVSS Score

None

CVSS Vector

None

Due Date

None

Engineering Teams

None

Fix versions

Affects versions

Ported to...

None

Story Points / Dev Days

None
Configure