Hi,
I am using SagJavaObjectGateway to call a class with a method greet() which has the following signature.
public String greet(String input) {
return "Happy XMas " + input;
}
My client is a Natural code which calls a Java RPC server which inturn forwards the request to a sequence. I am then extracting the input from the request and passing it to the class using SagJavaObjectGateway.
The string returned from method is stored in the property resultstring as I have added the property xbd.object.property=“resultstring” in the step
I have copied the sequence below in a document which is attached.
<set>
<step>
<step>
<step>
<step>
How do I pass this result back to the natural client.
Simply put, Is there any way of working with the response of SagJavaObjectGateway call?
Also Is it possible to use a JavaObjectGateway to invoke a method which has custom objects as input and return type?
Thanks a lot in advance. Any help would be highly appreciated.
Thanks,
Gijish
SAGJavaObjectGateway.doc (24 KB)