# getRPCHandler usage in Ignition 8.0

**URL:** <https://forum.inductiveautomation.com/t/getrpchandler-usage-in-ignition-8-0/25028>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [May 15, 2019, 2:16pm UTC](https://forum.inductiveautomation.com/t/getrpchandler-usage-in-ignition-8-0/25028 "2019-05-15T14:16:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 15, 2019, 2:16pm UTC](https://forum.inductiveautomation.com/t/getrpchandler-usage-in-ignition-8-0/25028/1 "2019-05-15T14:16:12Z")

</div>

Since I upgrade some module to Ignition 8.0, I need to suppress **@Override** annotation for getRPCHandler. Is it normal ???  
to avaid the error : **Method doesnot override method from its super class**

```auto
public class GatewayHook extends AbstractGatewayModuleHook {

...

	@Override
	public Object getRPCHandler(ClientReqSession session, Long projectId) {
		return new GatewayRPCHandler(this.context);
	}

```

Same result with :

ignition-platform-version 8.0.0  
ignition-sdk-version ${ignition-platform-version}-SNAPSHOT

or

ignition-platform-version 8.0.1  
ignition-sdk-version ${ignition-platform-version}-SNAPSHOT

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [May 15, 2019, 2:34pm UTC](https://forum.inductiveautomation.com/t/getrpchandler-usage-in-ignition-8-0/25028/2 "2019-05-15T14:34:57Z")

</div>

The way projects are referenced has changed in 8 – there is no longer a project ID.

The signature for that function is now  
`public Object getRPCHandler(ClientReqSession session, String projectName)`

---

<div class="post-metadata">

**Author:** ![mpderbec](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mpderbec](https://forum.inductiveautomation.com/u/mpderbec)\
**Post date:** [June 29, 2019, 1:19am UTC](https://forum.inductiveautomation.com/t/getrpchandler-usage-in-ignition-8-0/25028/3 "2019-06-29T01:19:08Z")

</div>

> [@KathyApplebaum](#):
>
> public Object getRPCHandler(ClientReqSession session, String projectName)

I believe the gateway-network-function-gateway SDK example needs to be updated, it currently doesn't compile with 8.0.2:

```auto
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ gateway-network-function-gateway ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to D:\GitHub\ignition-sdk-examples\gateway-network-function\gateway-network-function-gateway\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/GitHub/ignition-sdk-examples/gateway-network-function/gateway-network-function-gateway/src/main/java/com/inductiveautomation/ignition/examples/GatewayHook.java:[78,5] method does not over
ide or implement a method from a supertype

```

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 29, 2019, 4:49pm UTC](https://forum.inductiveautomation.com/t/getrpchandler-usage-in-ignition-8-0/25028/4 "2019-06-29T16:49:23Z")

</div>

Thanks, should be fixed shortly.

---

<div class="post-metadata">

**Author:** ![mpderbec](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mpderbec](https://forum.inductiveautomation.com/u/mpderbec)\
**Post date:** [June 29, 2019, 5:01pm UTC](https://forum.inductiveautomation.com/t/getrpchandler-usage-in-ignition-8-0/25028/5 "2019-06-29T17:01:12Z")

</div>

Thanks Kevin. While you’re in there, the gateway-webpage-gateway project doesn’t build either:

```auto
[INFO] ------------------------------------------------------------------------
[INFO] Building gateway-webpage-gateway 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignitionsdk/ignition-common/8.0.0-SNAPSHOT/maven-metadata.xml
Downloaded from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignitionsdk/ignition-common/8.0.0-SNAPSHOT/maven-metadata.xml (631 B a
t 1.4 kB/s)
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignition/common/8.0.0-SNAPSHOT/maven-metadata.xml
Downloaded from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignition/common/8.0.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 9.6 kB/s)

Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignitionsdk/gateway-api/8.0.0-SNAPSHOT/maven-metadata.xml
Downloaded from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignitionsdk/gateway-api/8.0.0-SNAPSHOT/maven-metadata.xml (627 B at 5.
9 kB/s)
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignition/gateway-api/8.0.0-SNAPSHOT/maven-metadata.xml
Downloaded from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignition/gateway-api/8.0.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 9.9
kB/s)
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignition/simple-orm/8.0.0-SNAPSHOT/maven-metadata.xml
Downloaded from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignition/simple-orm/8.0.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 9.8 k
B/s)
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignition/metro/8.0.0-SNAPSHOT/maven-metadata.xml
Downloaded from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignition/metro/8.0.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 9.3 kB/s)
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignitionsdk/driver-api/8.0.0-SNAPSHOT/maven-metadata.xml
Downloaded from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/ignitionsdk/driver-api/8.0.0-SNAPSHOT/maven-metadata.xml (626 B at 5.4
 kB/s)
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/opcua/opc-ua-gateway-api/8.0.0-SNAPSHOT/maven-metadata.xml
Downloaded from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/com/inductiveautomation/opcua/opc-ua-gateway-api/8.0.0-SNAPSHOT/maven-metadata.xml (1.0 kB at
10.0 kB/s)
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/org/eclipse/milo/sdk-server/0.3.0-SNAPSHOT/maven-metadata.xml
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/org/eclipse/milo/sdk-server/0.3.0-SNAPSHOT/sdk-server-0.3.0-SNAPSHOT.pom
[WARNING] The POM for org.eclipse.milo:sdk-server:jar:0.3.0-SNAPSHOT is missing, no dependency information available
Downloading from snapshots: https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots/org/eclipse/milo/sdk-server/0.3.0-SNAPSHOT/sdk-server-0.3.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] gateway-webpage .................................... SUCCESS [0.361 s]
[INFO] gateway-webpage-gateway ............................ FAILURE [2.783 s]
[INFO] gateway-webpage-build .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.310 s
[INFO] Finished at: 2019-06-29T09:59:41-07:00
[INFO] Final Memory: 11M/50M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project gateway-webpage-gateway: Could not resolve dependencies for project com.inductiveautomation.ignition.examples.hce:gateway-webpage-gateway:jar:1.0.0-SNAPSHOT:
Could not find artifact org.eclipse.milo:sdk-server:jar:0.3.0-SNAPSHOT in snapshots (https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots) -> [Help 1]

```

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 29, 2019, 5:06pm UTC](https://forum.inductiveautomation.com/t/getrpchandler-usage-in-ignition-8-0/25028/6 "2019-06-29T17:06:19Z")

</div>

👍
