Is there anywhere in webMethods documentation that explains how to use the SCOPE input to a service.
I am trying to improve the performance of some code without converting it to Java (for policital reasons as always). GEAR says to use scope to limit what gets passed to a called service. However, neither GEAR, nor the Developer Guide properly explains how it is used i.e. How do you reference a document? Can you have more than one document in the scope? if so, how? Can you have a part of a document in the scope ie. document\field?
I read the following post with interest:
wMUsers Discussion Forums ï¿½ Integration Server & Trading Networks ï¿½ Flow and Java services ï¿½ Archive through June 26, 2003 ï¿½ Scope of the Service Cache
I was able to convert a lot of my service calls to transforms which automatically limited the scope. This has resulted in a a significant performance improvement. However, transforms have the limitation that, you cannot have an input document (or field in an input document) transforming back to itself). As an example, I have a service that takes as input and output a java list (amongst other things). When used as a transformer, the output is not mapped and the orginal value remains. This service works fine as a straight INVOKE. This means that I still have cases where I need to use scope.
I would be grateful if someone could provide me with help on scoping or, better still, using transformers as in the example above.