Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Hi,
I have a service on Server A that is calling a remote service on Server B using remote.invoke. Using remote invoke you don’t have visibility over Server Bs service signiture (inputs and outputs). All values are passed through on the pipeline. If service B returns a Document type that is defined on Server B, is there a way of letting Server A ‘know’ about this document without having to duplicate it on Server B? I’ll need this to be able to handle the document that service b returns.
Hi Lyle,
The output of the service B will be in the pipeline in service A after you call the remote.invoke.
You will be able to view the document returned in the pipeline and work with it.
Create the similar document (Keep NS same) in Server A and have that document reference in the output of pub.remote:invoke and map it to same document reference in the pipeline.