Coding Best Practices and Solutions

This article explains the best practices that can be incorporated in any programming language which would yield to a better maintainable and reusable code. Introduction Coding or programming is the key activity and an engineering methodology through which the system visualized by the end user in terms of requirements is brought to life. In other […]

webMethods – Add Custom soapHeader in soapRequest

Lot of time webservice host applications don’t define soapHeader specifications in WSDL. However applications require consumers (in this case wM) to send values at soapHeaders level. This post describes two different methods on how to add custom header to WSD consumer request. There are two ways which I tested to get job done. Using handleRequestService and addHeaderBlock WmPublic […]

webMethods – Adding UsernameToken to soapHeaders with Pre8.2 Compatibility

In this post we will see how to setup UsernameToken in webMethods webservice consumer connector. We will be covering only username/password based WS-Security. There are other ways also to secure consumer like signature, encryption using certificates. Username Token is a standard WS-Security feature which is not associated in webservice consumer by default until and unless […]

Reason to avoid appendToDocumentList

Whenever I see usage of appendToDocumentList in any flow service for creating output document list, I wonder if we can achieve it through some other way e.g. Output array option of loop, java service loop or putting index of incrementing variable inside loop.Also the question used to arise what are the benefits of using other […]

Transformer Inside Loop

Most of us have this misconception that transformers can not be used inside loop. well i had this misconception. Recently i got insight into this and got clarification that transformer can be used inside loop. “Transformers can be used in a loop. What they do not do is accept a list when a single item […]