I figured it out. The way I am doing it is passing the parameters in from the url. For example, From my asp.net webpage i would run something like http://server/SharePointSite/Forms/template.xsn?test=Parameter1. In my IP code i just called the InputParameters with name test and get the value of it.