Dumb newbie

Does anyone have any example code that will let me post to webMethods when the trading partner requires a client digital certificate.

Thanks.