// [!output FILE_NAME].h [!output COMMENTS_MANAGED_SWITCHES] #pragma once using namespace System; using namespace System::Web; using namespace System::Web::Services; [!output SAFE_NAMESPACE_BEGIN] public ref class C[!output SAFE_ITEM_NAME] : public System::Web::Services::WebService { public: C[!output SAFE_ITEM_NAME]() { InitializeComponent(); // //TODO: Add the constructor code here // } protected: /// /// Clean up any resources being used. /// ~C[!output SAFE_ITEM_NAME]() { if (components) { delete components; } } private: /// /// Required designer variable. /// System::ComponentModel::Container ^components; #pragma region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// void InitializeComponent() { } #pragma endregion // WEB SERVICE EXAMPLE // Add your methods and their implementation, for this class. // To test this web service, ensure that the .asmx file in the deployment path is // set as your Debug HTTP URL, in project properties and press F5. // An example HelloWorld template, is given below. public: [System::Web::Services::WebMethod] String ^HelloWorld(); // TODO: Add the methods of your Web Service here }; [!output SAFE_NAMESPACE_END]