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 […]