Pub.client:http send String to post in the body instead of URL

Thanks a lot. That helps. I am new to webMethods and still learning. But really appreciate all your suggestions and guidance! :slight_smile:

Or you can invoke the pub.flow:clearPipeline service where you specify the variables to be preserved in the output.

See IS Built-In-Services Reference fro details.

Regards,
Holger

Not a bad suggestion. Hereā€™s a different point of view for consideration: avoid using pub.flow:clearPipeline. Instead, always explicitly drop vars as soon as they are no longer needed.

Here are some thoughts on this from posts many moons ago that may be informative:

(The last one refers to a notion of the pipeline being ā€œcopied over from services to servicesā€ but it is not ā€“ the pipeline is a global variable pool for the thread and all services run in that thread have access to the pipeline ā€“ with exceptions for services invoked as transformers or within a scope.)

Edit: A couple of the threads referenced above mention ā€œbest practicesā€ ā€“ there is no such thing. :slight_smile: Just practices that some find useful for their environment. You may find they work for you as well.

1 Like

Personally I donā€™t like clearPipeline, smacks of lazy programming :wink:
John.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.