// [!output SAFE_NAMESPACE_NAME]Class.h
#pragma once
using namespace System;
using namespace System::Web;
using namespace System::Web::Services;
[!output SAFE_NAMESPACE_BEGIN]
[WebServiceBinding(ConformsTo=WsiProfiles::BasicProfile1_1,EmitConformanceClaims = true)]
/// WARNING: If you change the name of this class, you will need to change the
/// 'Resource File Name' property for the managed resource compiler tool
/// associated with all .resx files this class depends on. Otherwise,
/// the designers will not be able to interact properly with localized
/// resources associated with this form.
public ref class [! output SAFE_NAMESPACE_NAME]Class : public System::Web::Services::WebService
{
public:
[! output SAFE_NAMESPACE_NAME]Class()
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
///
/// Clean up any resources being used.
///
~[! output SAFE_NAMESPACE_NAME]Class()
{
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
// The HelloWorld() example service returns the string "Hello, World!".
// 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.
public:
[System::Web::Services::WebMethod]
String ^HelloWorld();
// TODO: Add the methods of your Web Service here
};
[!output SAFE_NAMESPACE_END]