This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wsTKSIEmail.vb
55 lines (47 loc) · 2.45 KB
/
wsTKSIEmail.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
'------------------------------------------------------------------------------
' <autogenerated>
' This code was generated by a tool.
' Runtime Version: 1.1.4322.2032
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization
'
'This source code was auto-generated by wsdl, Version=1.1.4322.2032.
'
'<remarks/>
<System.Diagnostics.DebuggerStepThroughAttribute(), _
System.ComponentModel.DesignerCategoryAttribute("code"), _
System.Web.Services.WebServiceBindingAttribute(Name:="wsEmailSoap", [Namespace]:="http://tempuri.org/TKSIWebServer/wsEmail")> _
Public Class wsEmail
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
'<remarks/>
Public Sub New()
MyBase.New
Me.Url = "http://192.168.10.4/wsemail.asmx"
End Sub
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/TKSIWebServer/wsEmail/GenericTester", RequestNamespace:="http://tempuri.org/TKSIWebServer/wsEmail", ResponseNamespace:="http://tempuri.org/TKSIWebServer/wsEmail", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GenericTester(ByVal sTO As String, ByVal sCC As String, ByVal sSubject As String, ByVal sBody As String, ByVal sFrom As String) As String
Dim results() As Object = Me.Invoke("GenericTester", New Object() {sTO, sCC, sSubject, sBody, sFrom})
Return CType(results(0),String)
End Function
'<remarks/>
Public Function BeginGenericTester(ByVal sTO As String, ByVal sCC As String, ByVal sSubject As String, ByVal sBody As String, ByVal sFrom As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("GenericTester", New Object() {sTO, sCC, sSubject, sBody, sFrom}, callback, asyncState)
End Function
'<remarks/>
Public Function EndGenericTester(ByVal asyncResult As System.IAsyncResult) As String
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),String)
End Function
End Class