You need to create a processing rule specifying delivery method of https for AS2 url which you set in the profile.So when you route the XML document to TN the processing rule will get kicked based on the delivery method(HTTP/S) you set there it will be send to your external partner.
Also check the webMethodsEDIINT,TN Userguide it explains the inbound/outbound flow.