protected void Submit_Click(object sender, EventArgs e)
        {
            // Create request object
            EnterBoardingRequestType request = new EnterBoardingRequestType();
            EnterBoardingRequestDetailsType boardingDetails = new EnterBoardingRequestDetailsType();
            boardingDetails.ProductList = productList.Value;
            boardingDetails.ProgramCode = programCode.Value;
            boardingDetails.ImageUrl = imageUrl.Value;
            request.EnterBoardingRequestDetails = boardingDetails;

            // Invoke the API
            EnterBoardingReq wrapper = new EnterBoardingReq();
            wrapper.EnterBoardingRequest = request;

            // Configuration map containing signature credentials and other required configuration.
            // For a full list of configuration parameters refer in wiki page
            // [https://github.com/paypal/sdk-core-dotnet/wiki/SDK-Configuration-Parameters]
            Dictionary<string, string> configurationMap = Configuration.GetAcctAndConfig();

            PayPalAPIInterfaceServiceService service = new PayPalAPIInterfaceServiceService(configurationMap);
            EnterBoardingResponseType enterBoardingResponse = service.EnterBoarding(wrapper);

            // Check for API return status
            processResponse(service, enterBoardingResponse);
        }
        /// <summary>
        /// 
        /// </summary>
        ///<param name="enterBoardingReq"></param>
        ///<param name="credential">An explicit ICredential object that you want to authenticate this call against</param> 
        public EnterBoardingResponseType EnterBoarding(EnterBoardingReq enterBoardingReq, ICredential credential)
        {
            setStandardParams(enterBoardingReq.EnterBoardingRequest);
            DefaultSOAPAPICallHandler defaultHandler = new DefaultSOAPAPICallHandler(this.config, enterBoardingReq.ToXMLString(null, "EnterBoardingReq"), null, null);
            IAPICallPreHandler apiCallPreHandler = new MerchantAPICallPreHandler(this.config, defaultHandler, credential);
            ((MerchantAPICallPreHandler) apiCallPreHandler).SDKName = SDKName;
            ((MerchantAPICallPreHandler) apiCallPreHandler).SDKVersion = SDKVersion;
            ((MerchantAPICallPreHandler) apiCallPreHandler).PortName = "PayPalAPI";

            XmlDocument xmlDocument = new XmlDocument();
            xmlDocument.LoadXml(Call(apiCallPreHandler));
            return new EnterBoardingResponseType(
                xmlDocument.SelectSingleNode("*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='EnterBoardingResponse']")
            );
        }
 /// <summary> 
 /// 
 /// </summary>
 ///<param name="enterBoardingReq"></param>
 public EnterBoardingResponseType EnterBoarding(EnterBoardingReq enterBoardingReq)
 {
     return EnterBoarding(enterBoardingReq,(string) null);
 }
 /**
   *AUTO_GENERATED
  	  */
 public EnterBoardingResponseType EnterBoarding(EnterBoardingReq enterBoardingReq, string apiUserName)
 {
     IAPICallPreHandler apiCallPreHandler = null;
      		string portName = "PayPalAPI";
     setStandardParams(enterBoardingReq.EnterBoardingRequest);
     DefaultSOAPAPICallHandler defaultHandler = new DefaultSOAPAPICallHandler(enterBoardingReq.ToXMLString(null, "EnterBoardingReq"), null, null);
     apiCallPreHandler = new MerchantAPICallPreHandler(defaultHandler, apiUserName, getAccessToken(), getAccessTokenSecret());
     ((MerchantAPICallPreHandler) apiCallPreHandler).SDKName = SDKName;
     ((MerchantAPICallPreHandler) apiCallPreHandler).SDKVersion = SDKVersion;
     ((MerchantAPICallPreHandler) apiCallPreHandler).PortName = portName;
     string response = Call(apiCallPreHandler);
     XmlDocument xmlDocument = new XmlDocument();
     xmlDocument.LoadXml(response);
     XmlNode xmlNode = xmlDocument.SelectSingleNode("*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='EnterBoardingResponse']");
     return new EnterBoardingResponseType(xmlNode);
 }
 /**
   *AUTO_GENERATED
  	  */
 public EnterBoardingResponseType EnterBoarding(EnterBoardingReq enterBoardingReq, string apiUserName)
 {
     setStandardParams(enterBoardingReq.EnterBoardingRequest);
     string response = Call("EnterBoarding", enterBoardingReq.ToXMLString(), apiUserName);
     XmlDocument xmlDocument = new XmlDocument();
     xmlDocument.LoadXml(response);
     XmlNode xmlNode = xmlDocument.SelectSingleNode("*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='EnterBoardingResponse']");
     return new EnterBoardingResponseType(xmlNode);
 }
 public EnterBoardingResponseType EnterBoarding(EnterBoardingReq EnterBoardingReq)
 {
     return EnterBoarding(EnterBoardingReq, null);
 }
        /**
         *
         */
        public EnterBoardingResponseType EnterBoarding(EnterBoardingReq EnterBoardingReq, string apiUsername)
        {
            setStandardParams(EnterBoardingReq.EnterBoardingRequest);
            string resp = call("EnterBoarding", EnterBoardingReq.toXMLString(), apiUsername);

            return new EnterBoardingResponseType(resp);
        }