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.