Error using Connect Java to call a service within PRPC
Service Java and Connect Java rules are used in the same instance of PRPC by downloading the service JAR, by choosing Remote Java class.
While testing the connection from Connect Java rule form, connection is successful but upon invoking Connect Java from the activity, an exception is generated in the log file.
Steps to Reproduce
1. Create a Service Java rule.
2. Download the service JAR file by selecting Remote java class. Import the same through the 'Import wizard'.
3. Create a Connect Java rule using 'Connector and Metadata wizard'.
4. Invoke the Connect Java rule from an activity.
As user was trying to use both the connector and service in the same instance of PRPC, but had selected a remote call while generating the JAR file, all the relevant confiuration was generated for a remote call.
Regenerate the JAR file by - selecting LocaJavaClass in the deployment tab of the service package, importing the JAR file and restarting the instance, before invoking the connector.
0% found this useful