Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
������������ ������������������������� ��������������������� �� !"��#$�%���#&�
�� �� � '&� � �(���� �
�������#���&����)�*+��(#�,�-��.������-�/�0��,�����0�*�&11�#&� ����0��,��23&0 ��.�#&"�#&� ��������&#�0���
4��#&"�����&#�0��� �23&0#&� ��� �,�#&� ��� �&�*���
*5����-�/� 2550 �&.�&�'&9.���23&0#&� ��� �,�#&� ��� �&�*���
DEVELOPMENT OF INFORMATION AND COMMUNICATION TECHNOLOGY
TRAINING CENTER USING WEBSERVICE
By
Yothin Youpaniad
An Independent Study Submitted in Partial Fulfillment of the Requirements for the Degree
MASTER OF SCIENCE
Department of Computing
Graduate School
SILPAKORN UNIVERSITY
2007
����������� �������������� ��� ��������������������������� “ �����!������
�"�#�������$%���� &�����'�'�(�������)������������'&�*���+��,��#��� ” ����'& ��
'-�� �".����(& ��/��.����0��1������0�2��� �����"�����33��������� �������� ��1���*�
�������� �������#
……...........................................................
(���������6��# &�.����*� *�������"�)
���&(�����������
���(�..........�&���.................... �.�...........
��6��#(���0�2����������������
��������� � �� &�.����6 -��������#
������ ������6������������������
.................................................... ���-����� ���
(8"�*.�������6��#���#�9�� '��&���#)
............/......................../..............
.................................................... ��� ���
(8"�*.�������6��# &�.;���(# -�� � -�)
............/......................../..............
.................................................... ��� ���
(8"�*.�������6��# &�.����6 -��������#)
............/......................../..............
��1���*��������� �������#46307312 :
�D��D���3 : ��+��,��#��� / �"�#�������$%����
'-�� �".����(& : �����!�������"�#�������$%���� ������������� �������
� ����� ���������!�"� ��#� ��6��#(���0�2���������������� : �.� .$��� % �&��'�. 114
(��
��������������������� “�����!�������"�#�������$%���� ������������
� �������� ����� ���������!�"� ��#�” )��&�*+$ ��'���,���,&-� �!!������'�
/0��! )���� �(��2����2� /0��! )������������� �������� ����� ���������!
�"� ��#� ����������&��3$"5�' �!!���!6��)��$ ���!���� ���������*!&�/0��! )����6� ��)
�� '� $ ��7�6�'(�&���� ��� /0��! )6�'������*!&�"5�'�!�'�$8� 3 ��&! ����������(�
6��)�������&����������6��'�&!� ��6��2����2��� /0��! )���������' �!!���2� ���(
(�&���� ����()��)�(��)�'����36������'� 3���������(�&���� $ ��7�6�'(�&���� ��&!6�'
(�&���� ����*!&�����! ) ��� �!!���2� �#������'6��)�� �(��'������'����*!&�
��6�'� �2 �!!������'� /0��! )���,&-�65;�3$����!�&!!+��� �&��3$
6�')(�#���&�#�$� ,!��������)���),5',��������� ��&!)� ����2�&!)�����+����� �6�
��� �!!)���)�����3)��+�'�� �'�')3�����6&;������� ���'��$8� �!! � ���(
(�&���� � /0��! )�) *���(3��'�� ���������3�� &!$ ������)���� ����2(�&����
� �! )�� �!!
7��#���),#���� � !&<=#��#���&� )(�#���&�#�$� $>� 5�? 2550
�� ���*�������0�2�.................................................................................................
�� ���*�����6��#(���0�2���������������� .........................................
'
46307312 : MAJOR COMPUTER SCIENCE
KEY WORD:WEB SERVICE / TRAINING CENTER
YOTHIN YOUPANIAD : DEVELOPMENT OF INFORMATION AND
COMMUNICATION TECHNOLOGY TRAINING CENTER USING WEBSERVICE
INDEPENDENT STUDY ADVISOR: ASST.PROF.PANJAI TANTATSANAWONG, Ph.D 114
pp.
This independent study aimed to develop Training Center System by using
Webservice to give suitable courses on information and communication technology for users.
The system will collect history of training institution members together with their courses
offered . This system will provide three levels of courses which users can apply for advised
courses by fill in their background of the related subjects . The system will provide the selected
courses from various institutions according to types, name and level of courses for users to
make their own decisions.
The system is evaluated by Silpakorn University personnel. The average satisfaction
is in good level. The most satisfaction is the ease of entering the system because it is step by
step. Course searching is easy to use. Moreover the system is very useful to users.
Department of Computing Graduate School, Silpakorn University Academic Year 2007
Student’s signature ....................................................................
Independent Study’s Report Advisor’s signature ...................................................
�
\
�������������
� �2� �#,�%����)��;�2� ���'3��������������)� +<6�'��������� � �� � .$���
% �&��'� �� �����$ 5�?� � ������#� � �������� � �� �&����7&� ����#��,��
$ �%�� )� ��!� �������#� � ������������ � �� � .]$���� % )�)% � )�
��!� �������#� ����3���(��2$ 5�? 6�����������������)�#���'^ ������� �����36
6����)� �������#� ����)��; ����#�&�6�6�!�+<����)� +<���'�#�'
6�6�!, ��+< �+<,������+<�)� ����)�#���� �!� &�6�'����#�&� �,����^ �������$8�
�2�&'�� ���)��������� �(�'��#�&���;�2� ���+���'������
����1 ,��� ���&.�9�2�K .................................................................................................................... �
���&.�9�2�����L2 ............................................................................................................... 6
�������� ������..................................................................................................................... M
�����39�� ............................................................................................................................... O
�����3����� ............................................................................................................................ P
���� 1 ��D�............................................................................................................................... 1
��� ��/� �)����� �D���31���Q3�� ................................................................... 1
���U�������#�����6� ................................................................................................ 2
1���1������6�........................................................................................................ 2
1�X���������6� ........................................................................................................ 3
��� � �1���D�(��*������� ............................................................................... 3
���'*�#(���&�.�6�K&���� ...................................................................................... 4
�����6�)��L2P((���(��1��� ........................................................................................ 5 2
����!�����1����'�'�(��+� ................................................................................. 5
��� � �1����+��,��#��� ...................................................................................... 7
�������D����1����+��,��#���)����'�'�((��*��������!����+��,��#���........ 8
���2�����&�����'�'�(�������)������������ ........................................... 20
�����6�(���(��1���.................................................................................................... 23
3 ��-(&D�������� .................................................................................................................. 27
������)������................................................................................................... 27
���)����K��1��1�� "� ........................................................................................ 29
'��������;��1�� "� ................................................................................................ 37
4 8����&D�������� ........................................................................................................... 54
��+��,��#���(���\&��������� ...................................................................................... 54
'��)�� �����"�#�������$%���� &�����'�'�(�������)������������ 61
'��)�� ����*�������.��1���U����$%���� ��'������ ............................... 61
���&�������..................................................................................................... 63
�
���� ,��� 5 �����........................................................................................................................... 65
�Q3����������������!������.......................................................................... 66
1������)��............................................................................................................. 66
��������� ............................................................................................................................. 67
9��8��� .................................................................................................................................. 69
9��8��� � �". ������*����'��)�� ......................................................................... 70
9��8��� 1 ������(&�����!��'��)�� ............................................................... 102
9��8��� � )�����U� ����������6�......................................................................... 110
�������8"���6� .............................................................................................................................. 114
"
����14�� 4����� ,��� 1 ����!�����1����'�'�(��+� ........................................................................................ 7
2 Web Services Model ....................................................................................................... 9
3 XML messaging using SOAP ......................................................................................... 11
4 '��������1�������� SOAP.......................................................................................... 12
5 ����.�������� SOAP .................................................................................................... 13
6 3q�� WSDL �������%#!��+<�)!&�#6�'���!�"� ��#�(�5�' "5�'�(�! #� 6��)��
�(+��6�'! #?&���' ^............................................................................................ 16
7 Web Services with SOAP, UDDI ��� WSDL....................................................... 19
8 ���'�!!�2��'���''��6�'�$ ����� SAWIM ....................................................... 23
9 ���'�!!�2��' �!!� ����� &,�� )�+?���,���� �&�� � /0��! ) ........... 25
10 ���' Web service enablement framework ................................................................... 26
11 ���'� �2��' �!!� ,&-� �!!������'� /0��! )������������
� �������� ����� ���������!�"� ��#� ............................................................... 28
12 ���' Conceptual Model 6�' �!! ............................................................................. 28
13 ���'� ���� 3(�6�'6��)�� ��&!��' (Context Diagram) ....................................... 29
14 ���'���7,� ���6��)�� ��&!��� 1 � �'���!����,���6����'� �!! ................... 30
15 ���'���7,� ���6��)�� � ��'6��)��(�&���� 3$��� �!!������'� /0��! )] 31
16 ���'���7,� � ����!6��)��� �'���!��� ....................................................... 32
17 ���'���7,� $ �)��������(��2����2(�&���� ����� /0��! )..................... 33
18 ���'���7,� ���(6��)��(�&���� ����$|��! )���*!&�����(�! #� ................. 35
19 ���'���7,� �'���!����,���6��! )(�&���� ���*!&�������'� ..................... 36
20 ER-Diagram ���']�6��)��6�'������'� /0��! )������������
� ������� ����� ���������!�"� ��#� ................................................................... 51
21 ER-Diagram ���']�6��)��6�'�*!&� A ����(�! #� ���!�"� ��#�............................. 52
22 ER-Diagram ���']�6��)��6�'�*!&� B ����(�! #� ���!�"� ��#� ............................. 53
23 ���'�"� ��#� addTrainingHouse..................................................................................... 54
24 ���'�"� ��#� reqCourseMainCategory........................................................................... 55
25 ���'�"� ��#� reqCourseSkillLevel ................................................................................. 56
�
4����� ,��� 26 ���'�"� ��#� reqCourseStatus ........................................................................................ 57
27 ���'�"� ��#� reqCourseSubCategory ............................................................................. 57
28 ���'�"� ��#� reqEdlev .................................................................................................... 58
29 ���'�"� ��#� reqUpdateTrainingCourse......................................................................... 59
30 ���'�"� ��#� updateTrainingHouse................................................................................ 60
31 ���'(����� ���'�6�'�$ �� )�*!&�����6� ��)�� '� ................................... 62
32 ���'(�����)���������'��6����(��(�&�6�' �!! .......................................................... 71
33 ���'(����� �'���!����6���� �!!������'� /0��! )������������
� �������� ����� ���������!�"� ��#� ................................................................. 72
34 ���'(����� �'���!����6���� �!!������'� /0��! )������������
� �������� ����� ���������!�"� ��#�����6�� (����̂��1�� "����U���)��� .... 73
35 ���'(����(�&��,����(�������,#),������#� ��� (&�����6����'��� �!!�................ 74
36 ���'(�����)���8"��*��+�������������8.���1���*����������]K .U"�����..................... 74
37 ���'(�����)���8"��*��� �#�+�����)������8.���D���+6 .................................................... 75
38 ���'(�����,#�)��#)$ ��&�#� �! )����6��)��� ����'.............................................. 76
39 ���'(�����,#�)��#)$ ��&�#� �! )������6��)��� �! )�� �!!.......................... 77
40 ���'(����$ ��&�#� �6� &!� �! )......................................................................... 78
41 ���'(���� ��������(�&���� ����6� &!� �! )....................................................... 78
42 ���'(�����)��� ���'� �!!� ����2�� ���! ) .............................................. 79
43 ���'(����� ����2�� ���! ) ............................................................................... 80
44 ���'(�����)�����������#�$+�)�'���!���(�&���� ������'� ........................................... 81
45 ���'�&����'(�����)�����������#����!�� ������'���!��� .............................................. 81
46 ���'(�������(�� ���! )�� �!! ......................................................................... 82
47 ���'��� ���(�� ���! )�� �!! .......................................................................... 83
48 ���'(����� � �6� �!!6�'������� �!! ............................................................... 84
49 ���'(�����)��� ���'�6�'������� �!! ................................................................... 85
50 ���'(����$ &!$ +'�$������$�'�2�2(������ ............................................................. 85
51 ���'(����� ���36�2�2(������ ................................................................................ 86
�
4����� ,��� 52 ���'(�����,#�)��#� ��&!� 5�?.............................................................................. 87
53 ���'(����� $ &!$ +'���36/�,#�) �+-#� 5�?.......................................................... 88
54 ���'(����� ���36/�,#�)�*��6�'(�&���� ............................................................ 89
55 ���'(����� ���36/�,#�) ��&!6�'(�&���� ............................................................... 90
56 ���'(����� $ &!$ +'���36$ ��7�(�&�6�'�� '� /0��! ) .............................. 91
57 ���'(����� $ &!$ +'���36$ ��7� �'6�'�� '� /0��! ) ............................... 92
58 ���'(���� ��������6�'�*�/0��! )��� ��)�� '� ........................................... 93
59 ���'(����� ��)����*!&��6����� �2'�6�'�$ �� )............................................ 94
60 ���'(�����)���)�� ��'6�6��)����� �&�� �'�� ���()� ........................................ 95
61 ���'(�����,#�)�$ �� )� /0��! )�()� .................................................................. 95
62 ���'(����� ��)����2� !&��5�6��)���']�6��)���2� �� .......................................... 96
63 ���'(�����(������������������'6��)��(�&���� ����,#�)3$���������'� /0��! )( ��
3)� ..................................................................................................................................... 96
64 ���'(�����)���3����'6��)��3$�&' server 3���2� �� ......................................................... 97
65 ���'(�����)����2� !&��5�6��)��3���2� �� ................................................................. 97
66 ���'(����� �'/���36�� '� �! ) ......................................................................... 98
�
����10����0������� ,��� 1 �%#!�(�&�� �2'�6�'���!�"� ��#� ��7,��� 2......................................................... 10
2 � '�%#!����� SOAP ��7,��� 5.......................................................................... 14
3 �&�?<�'��'������������� �������� ����� ����$ �� )
����������'�&!�&�?<�'�............................................................................................ 20
4 ���!��������� �!! (UserReg) ........................................................................................ 37
5 � 5�? (Edlev) ............................................................................................................ 38
6 �+-#� 5�? (TedDesc) .................................................................................................. 38
7 �*!&�� �! )����6� ��)�� '� (TrainingHouse) ................................................... 38
8 (�&���� /0��! ) (TrainingCourse)............................................................................... 39
9 $ ��7�(�&�6�'(�&���� (CourseMainCategory) ........................................................ 40
10 $ ��7�����6�'(�&���� (CourseSubCategory) ........................................................... 40
11 ��&��1�������"�������� (CourseSkillLevel) .......................................................... 40
12 ���������*��6�'(�&���� (CourseStatus) ........................................................... 41
13 ����������$%���� ���1��8"��*� (UserTrained) ............................................................ 41
14 � �'���!����,����! )6�'������ �!!(Tuapply)......................................................... 41
15 ��&��1�������"�������� �U���� A (CourseSkillLevel) .......................................... 42
16 ���������*��(�&���� �U���� A (CourseStatus)................................................... 42
17 $ ��7�(�&�6�'(�&���� �U���� A (CourseMainCategory) ........................................ 42
18 $ ��7�����6�'(�&���� �U���� A (CourseSubCategory) ........................................... 43
19 ��!�����0�2��U���� A (EdDesc).................................................................................... 43
20 � ��?�U���� A (Edlev) ............................................................................................ 43
21 ������������� /0��! )(HouseInformation) ........................................................... 44
22 (�&���� � �! )�U���� A (TrainingCourse) .............................................................. 44
23 ��������(��'����! )6�'�*!&�A (Aroom)............................................................... 45
24 �#��� 6�'�*!&� A(Ateacher) .................................................................................... 45
25 �+-#� 5�?6�'�#��� (AteachEd)............................................................................... 46
26 �&'(�&�6�'�*!&� A(Aprovin) ....................................................................................... 46
27 �����������,6�'����6� &!�! )�*!&�A(Atbloccup)............................................... 46
�
]
0������� ,��� 28 (�&���� (Bcourse) .......................................................................................................... 47
29 ��������(�&���� (TbcrseDesc) ................................................................................... 47
30 �#��� 6�'�*!&� B (Tbteacher) .................................................................................. 48
31 ��&!� 5�? (Tbedlev) ................................................................................................ 48
32 ���' ���������*�����! )(Tbplace) ........................................................................ 49
33 $ ��&�#����6��! )6�'�*!&� B (Busrapply) .................................................................. 49
34 $ ��&�#� �! )6�'���������� �! )�*!&� B(Busrhist) ........................................ 49
35 �&'(�&�6�'�*!&� B(Bprovin)........................................................................................ 50
36 ������(&��*(�1���U���� B(Btbloccup) ................................................................... 50
37 )�&�������(&1����+��,��#��� ................................................................................... 99
��� � 1
����
��������������������������
� ,&-�$ ����(�)���)�6�)�6�' �) *���(�&�����3����� ����
�$������$�'���' ��� ��6�'�&'�)��� ���'�&�� &,�� )�+?���$8��2�&'�2�&� "5�'�)
���,&-�� ?]�#�����&'�)�(�'��# \!&!��� 9 (,.. 2545 – 2549) 3��)+�'�����(�)�� ,&-�
� &,�� )�+?�� ���)+�'(�&'�(��*!&��+�)5�?��#����,&-�� &,�� )�+?�� ��&!��'���
��&!��'���)��+<7,�&�����)����# �(��) *,&-�$ ����(��$8�$ ������)� �!!
� ?]�#�"5�'����������������()��) �+�)�� ��������) ���$8�]�� ,&-�)��#�'65;� �,���� �'
�) *���'� ?]�#����6����)�) *��� �6�'6&�6�'$ ��� ��))&�'�&�' ��)�$8��������
��6�'�����&'�)
�,���� ,&-�$ ��� �*!&��+�)5�?����*!&�� 5�?���� ^ �5'3����#����
,&-�� &,�� )�+?��$����6�������� ''� �&;'����$8�(����'�7� &]!��������� "5�'�+�
(����'���'� �(�&������ &,�� )�+?���$8�� &,�� ���)�������+�6�'(����'� �, ����$8�
���� �'��������' �+<7, ��)���(�� ��)�&��)&� �������2�&�����+����� � �'�23 �(��&!
(����'��,#�))�65;�
�#�#� ����+� (2537: 3) 3������3���� �'��� (����'� ! #?&�(�' ���� )�
!+��� ���)���) ����)�) * )�/>)����� �2'���'3��)� ^ �'��� (����'��&;���)�����
������� #����(�� $ ��!��)�2� ��3��)���� �&'�&;� � ,&-�( ���! )!+��� �(�)���) ��
��)�) *��' �5'�$8�$���&��&��2�&�������2�(��'��� ��#���))&���'�����&��&��'��� �(�
���3$6�'(��������))&����
$���+!&�� �$������$�'�'�#���� ��������������2��#�3$���' ��� ��
$ ��#?]� )�'�� ���'�&� �)�'�� �� ���')���� ���'��� *��� �'65;��,������'��)���'� 6�'
�&'�))�+?�� )���)�2�$8����'/0��! )!+��� 6�'(����'��(�)���) �� ��)�6���
��)�) *���������� ���')�� �� ���'��� �� ���'�&� �����)�$ ��#�%#7,��'�!!�()� ���)� �!!�
�2'���&!"&!"��� ���'� )������������ �2���\,��,���$�#!&�#'� ����� ���'�&� �(����;)�
���' (����������3)�)���) �� ��)�2����!�+) ����#�������(����')(�
1
2
������&;� !+��� �()�����6�)�2'���(����'� ��)��,��'��) �������
�2'�"5�'3��5�?���� ���)��� '� ��� �#���&� )(�#���&� ����&'3)��������7,�����
$�#!&�#'���(����'����)�$ ��#�%#7,3�� ���')�� ���'� �! )'� �,���$ &!��) ������ ���
)�(��) *�2)$�#!&�#'���(����'�3�� �, ������(����'�)��&�?<��\,��&� )��!!
��� "5�'�����'/0��! )!+��� 6�'����' 3)������$8�(����'�6������ ( ��6���(��
�����'�! )!+��� �(�)�,��#� )�� �$�!!���(����'����'� ( ��,5'$ ��'��
�&'�&;�� /0��! )����()��)�&!!+��� ������� �5')���)�2�$8� �, ����$8�
� �,#�)$ ��#�%#7,��� �2'� ����������� �! )���#�'���!+��� )���) ���������� ���
�) *,&-�&��7,6�'!+��� ���')��#�'��������� ��$ �&!��$���+!&����������
� �������� ����� 3���6�))�!�!����')����&'�)������#�$ ��2�&� ����#�&��5')�
����#���� ,&-� �!!������'� /0��! )������������� �������� ����� ���
�2� ,&-� �!!���!�"� ��#����� /0��! ) ���� �(��2����2������((�&���� ���
���'� /0��! ) , ��)�&;'���(�*!&�����$|�(�&���� � '�&!��)���'� 6�'������ �!!
����!������"����#�$
1. �,���,&-� �!!������'� /0��! )������������� ���� ���� �����
���������!�"� ��#�
2 �,���$ ��)#��� �!!���,&-�65;�
����������#�$
'��#�&���;�$8�� ,&-� �!!������'� /0��! )������������� ����
���� ����� ���������!�"� ��#����� /0��! ) �,����(��2����2������((�&���� �
/0��! ) , ��)�&;'���(�*!&�����$|�(�&���� "5�'���2� �#�� �(���6��)�����3�� &!��������
�!! 3����� �&�?<�'���� &!�#���! � �����),#���� � (�&���� ���3�� &!� �! ))���� ���
(�&���� ������'� /0��! ) ��� �!!�) *�(��2����2����(�&���� ������(�(��'�! )
�(���������� �!!
3
��%��������#�$
1. 5�?� �2'�6�' �!!���!�"� ��#�
2. 5�?� �2'�6�'�$ �� )������2),&-� �!!'� ����$ �� )
]�6��)��
3. 5�?��)�&),&�%�6�'�&�?<�'���� &!�#���! � �����),#���� � (�&���� ���
3�� &!� �! ))���� ���(�&���� ������'� /0��! ) �&!(�&���� �! )�'������������
� ����
4. ,&-� �!!������'� /0��! )������������� ���� ���� ����� ���
������!�"� ��#����� /0��! )
5. ����!���$ &!$ +' �!!'�
6. $ ��)#������,&-�
7. � +$��� �2��#�'��#�&�
�����$������ �&'(&�����
�,�����)�6������*�����'� '�)�&�*+$ ��'��6�'� �#�&� �5'�2(����)()�
6�'�2��' ^ ��������� �#�&� �&'��;
1. �!!������'� /0��! ) ()�*5' �!!������'� /0��! )���
���������� �������� ����� ���������!�"� ��#� "5�'�&�(�&�� 6�' �!!���!�"� ��#�
��� �(�! #� ����2������((�&���� ������'� /0��! ) , ��)�&;'���(�*!&�����$|�
(�&���� ! #� �'���!����! )(�&���� �����'6��)��3$�(��*!&��! )�&;� ^
2 ���!�"� ��#� (Web Services) ()�*5' )� ]��$|�����2�(��) *$ ��
(Publish) ��)� “! #� ” (Services ( �������$ �� )����2'�! #� !'���' Software
Components) ��� “���!��,,�#���&��” �����) *�6�3$��!������� ������! #� ������
�$ �� )�&;�3�� (�)�5� �� ��� 2002)
3. ���!�"# �q��� � (Web Server) ()�*5' �� ���'����$8��������),#���� �����&����!���!
�,���' ^ ���������6��'�&� (Web Site) "5�'���!)���� ����$8�!+�������2(�������� ! #( �������!
�"# �q��� � 3)������$8�� ����!!���!3"�� � !2 +' &�? �)�&;'� �&�� ��()�
�#����� ��#���������'����'��� 6�'�� (��7� �����)�# #�'� 2547: 294)
4
4. ���!! ��"� � (Web Browser) ()�*5' �$ �� )����2�$8����')�� �#��&;'!�� ���'
6�'������'� �,�������2( &!���'3$�&'���!3"��������'� �&����'�$ �� )! ��"� �����#�)����
Netscape ��� Microsoft Internet Explorer (��7� �����)�# #�'� 2547: 289)
5. XML (Extensible Markup Language) ���7?�2(�� �$�!!6�'�2�&�'��7?
��������)��� (HTML) ����2(�� �$�!!6�'�2�&�' Markup ��' ^ ,&-�)�� SGML (Standard
Generalized Markup Language)
6. SOAP (Simple Object Access Protocol) �$8��$ ���������2�(�� ����$ �� )���
�' HTTP/Web Server 3�� ������ �6�*5'���!�����������#%�� '�� ^
7. WSDL (Web Services Description Language) ������)���(��&! �!!�,���� ��� ��
�#%�� � ������'����!�"� ��#� ������'� WDSL �6���65;��)�!!)� ]� XML ( ������&�(�5�'
���7?6�'���� �2( &!�%#!����!�"� ��#�
8. UDDI (Universal Description Discovery and Integration) ����&����6�'���
�(�! #� ����2( &!���(�"� ��#�������'� �()����)+�(���(���' � ���$8����!�"� ��#�3�����'
�5'6��)�����)�����!������'� ���3)�����&����������!���6�'���;�(����(�! #� �����'�,#�)
6��)���$8� WSDL ��')���!��� UDDI "5�'�$8��'��� ��'���3)����'(�23 �,���!���(� ����
! #?&�)���#�7&<=����! #� ��3 !�' ����) *�#����6�&D�����-����6������������2�K&�'&
���'� ���'&8.������+��,��#��� ���(��� ���;��1�� "�1��&��3.,0�� (1�� "�1����+��,��#���(�
�����������-����6
���)$'�"� ��*�+#�,*(���
1.3������!! �!!������'� /0��! )������������� ��������
����� ���������!�"� ��#�
2. �) *�2 �!!3$,&-�����2( &!� ����2(�&���� ������� ^ 3��
��� � 2
����#�$����-./ � ��� �$��(��
� 5�?�#�&� � ���'� ,&-� �!!������'� /0��! )������������� ����
���� ����� ���������!�"� ��#���; 3���&�(�&�� 6�' �!!���!�"� ��#���� �(�! #�
����2������((�&���� ������'� /0��! ) , ��)�&;'���(�*!&�����$|�(�&���� �)*5'
�(�! #� �'���!����! )(�&���� 6�'�*!&� �����'6��)��3$�(��*!&��! )�&;� ^ "5�'����#�&�
3��5�?����������#� ��?�� ������ ���'��#�&����������6��' "5�'�2��� ��������6�'
���;�(����$8��&'��;
� �#�&-�� 6�'������������!
� ��)()�6�'���!�"� ��#�
� (�&�� �2'�6�'���!�"� ��#� ��������������������� ,&-����!�"� ��#�
� �&�?<�'�&�����'�'�(�������)������������
� '��#�&����������6��'
����3���������)�)�$ ��4�
�#�&-�� 6�'������������!�"� ��#� "5�'�$8�����()�6�'������������! 3��)��
�2)����&;'���$> �. 2000 ������������)�$8��+��(�'���!�"� ��#� ���������3��,&-�����!�'
����$8� 3 �+� �&'��; (� �+% ���� ���+� 2544: 14-15, 36-38)
1. �+����(�5�' � ������+�6�' “Static Web” �&;'��;�, �� ���'���!3"��(�5�' ^ ���$8�
� ����! �"� �� ������!�,����� �'����7? HTML ���� ^ ( �����')���)������ #$���'/��'
3������� (Client-Side Script) ���'7? JavaScript VBScript �$8���� ����&')� Java Applet
������'(�5�' "5�'�$8��$ �� )���� ^ ���� �'����7? Java ����2'���! ��"� � (�5'3)��&��$8�
�� #$���'/��'3�������) "5�'3q������$8����!�,��(���&;�3)��) *�#�����&!�'��$ ���!���� ^
�'/��'�"# �q��� �3�� ���� � �#����]�6��)�� �$8���� "5�'�$8��+����(�&���� �! )7? HTML
)� ��,' �������;�&'�$8��+�����&�� ����&�5�?�#�)� �'��)�,������&� 6��)��������'��
���!�,��5')��&�?<����&��!! Static
5
6
2. �+������' �$8��+�6�' “Dynamic Web” "5�',&-�)���+�� � ���)�� ����� #$��
�'/��'�"# �q��� � (Server-Side Script) )�����,#�)��)�) *6�'���� HTML ��� �#����
�&!�'��$ ���!���� ^ �'/��'�"# �q��� � ���� ]�6��)�� ( ���&�,�&'��� $ �)����6�'���!
�"# �q��� ��,����2'�!'���' ���� � �'(��'���� (Chat Room) � ���*)-��! (Web
Board) �$8����
����������2( &! Dynamic Web �����'� � "5�'�$8���� ���&��&�)�����+� ��� CGI
(Common Gateway Interface) 7?�������6����� #$�� CGI )�(��7? ���� Perl ��� C �$8����
CGI �$8��$ �� )����2'������'/��'���!�"# �q��� � �)���������)�� � ������ CGI �)����� CGI ����
�2'��)(��������*���6����� #$��65;�) "5�'������'���&,%���!��&!3$�&'������( ��3)���3��
65;������&!��)�� �!+(�����3������ #$�� CGI ( ��3)�
���)��)����������(�����'���)�(�&�� ���� ^ CGI �,����2'��'/��'���!
�"# �q��� � ���� ASP (Active Server Pages) 6�'3)�� "�q�� ��� JSP (Java Server Pages) ���
���7? Java ��� ,&-� �)*5' PHP (Professional Home Page)
3. �+�����) �$8��+�6�' “Web Services” ����#�6�'���!�"� ��#� �$8�� �2�#�'���)�����
��#)),&-��,#�)��#)����&�� �����)�#�)6�'������������! ����#���� ������$8��&�(�+�
�� #) �&�?<�6�'���!�"� ��#������� � �������#%�6�'��)�,�����( ���$ �� )����$|��(�! #�
������! ������������3)� ��������������� #' ^ 6�'�$ �� )�&;����������),#���� ��� ���'3(� �&;'������
$ �����3 ����,��q� �)��3
��������#�6�'���!�"� ��#��2�(���#���)�����)��'�&� �(��'�,��q� �) ����
�����, ������()���������� SOAP (Simple Object Access Protocol) �����, ������()���;
�) *� ��������)�,������� ^ ����,��q� �)�� ^ ��3�� ����, ��������2'�����!�
�, ����� HTTP "5�'�$8��, ������2( &!���! �&'�&;�� � ��������)�,���������&�
�, ����� SOAP ������ � ���������!�&����'
7
���#�&-�� 6�'������������!���+����(�5�' �+������' ����+�����) �&'���3������
)����6�'��� �) *���'3���&'7,��� 1 (�)�5� �� ���, �3��� 5-5)
:���� 2Dynamic Web: HTML + Database
:���� 1Static Web: HTMLpublish, requet & response HTML files
:���� 3Web Services: A2A publish, request & response services (sw components)
7,��� 1 �#�&-�� 6�'������������!
���) : �)�5� �� ���, “Web Services the Next Generation of Web”, 2545, �3��� 5.
�����$�����4��5��"���
��)()�6�'���!�"� ��#� (Web Services) 3��)�����(���)()�6�'���!�"� ��#� 3��
�&'��;
\&� �&� �+6��� (2006) 3���(���)()�6�'���!�"� ��#��� �$8� �!!"�q���� ����
����!!)�,�����&!��+�� �2'� �(��'��),#���� ��&!��),#���� ���� �!!�� ��6��
������7?��������� �#��������� �(��'��),#���� ����7? XML
�)�5� �� ��� (! ��) 3�������� ���!�"� ��#��$8�)� ]��$|�����2�(��) *
$ �� (Publish) ��)� “! #� ” (Services ( �������$ �� )����2'�! #� !'���' Software
Components) ��� “���!��,,�#���&��” �����) *�6�3$��!������� ������! #� ������
�$ �� )�&;�3�� ���!�"� ��#��5'�$8��������������2�(���,�#���&����' ^ ����$�����6��)���&�3��
�)�����,�#���&���(����;��� �'!��*$���� ) 7? ���]�6��)����������'�&� ���!�"� ��#�
�) *�2�(���,�#���&����' ^ �) * Interface �&�3�������� XML �$8�7?��'���
����� ����� ��6����),#���� � �,����(�)�)� ]� ��)�&���� ����� ����7? XML
8
� �+% ���� ���+� (2544 : 36) 3���(���)()�6�'���!�"� ��#����$8���,,�#���&��
( ���$ �� )"5�'�2'����'�����'(�5�'���&�?<�� �(�! #� �����*��� ������'���
��,,�#���&��( ���$ �� )���� ^ ������! � �(�! #� 6�'���!�"� ��#� ��)����� ����%#!�
�+<�)!&�#6�'� �(�! #� �2�&!3�� ���)�� �2�����(��% <�� &!� ! ������! #� �5'
�) *���(���!�"� ��#�3��������3)��2�$8����' ���������� #'6�'��,,�#���&��( ���$ �� )�&;�
�&��# ��� � �����'���� ��)#7&��#� (2006) 3������3���� ���!�"� ��#� �������#�
� ,&-�"�q���� �����()�����) *�2(������$ ���!6�'"�q���� ����)���)������,&�
�(��'��������������&�����)�����) **��� ������'����$ �� )$ ��+����������
�!!�� ��6����),#���� �
����)()�6�'���!�"� ��#� �&'���3������)����6�'��� ,�� +$3���� ���!�"� ��#�
�$8��������������2�(���,,�#���&����' ^ ����$�����6��)�����&�?<�6�'� �(�! #� �(��'
�&�3�� ������7? XML��� ����� ����� ��6����),#���� � "5�'������! #� �) *���(
���!�"� ��#�3�����3)��2�$8����' ���������6�'��,,�#���&���&;� ^
���������������4��5��"��� ������)�)�$ � �&'(&���6�3���4��5��"���
���!�"� ��#��$8�,�;�]��2�&�6�'� ! #� �()� ^ ���&�?<�������'� �����)��'
�!!� �������)���)�����'�6������&����'�&���)&�# ���� � ,<#����#����� ��#���
�(��'%+ �#��&!%+ �#� (B2B) �!!� ! #� &]!��#����� ��#��� ���&�?<����)�� �����)
! #� 6�'7� &]�&!7� &]�6������&� �,����2�(���#�� ! #� ���$ �������+������3��
(One Stop Services) �$8���� �������&����',�;�]�(�5�' ���� �����)��' �(��' �!!� �&�'"�;�
6�'! #?&����6�! #?&�(�5�' 3$�&' �!!� ����� �&���'6�'! #?&��&���'���! #?&�(�5�'
���$8�3$3��'��)�65;��������������6�'��!�"� ��#� ,�;�]��&'������;���2�(� "� �&�� (��'
�"��+$�����������#����� ��#���" (e-SCM:Supply Chain Management) ���%+ �#��������
�#����� ��#������)�$ ��#�%#7, ���)���)�+�)��)�65;� ���)�� ����$�����6��)��%+ �#� �(��'
�'��� ��(��'�"��+$�� ��������! #?&���)� �!!'� (��,,�#���&��) ������ �$�!!6�'6��)��
(q� ��)� ���) ��������'�&�3�� "5�'�)���)�� ��'6��)�����'��� (�5�'3$����'��� (�5�' �!!
��),#���� �6�'! #?&���� &!�) *�26��)�����3��3$$ �)�������3���&��� � �����)��' �!!
����)�)# �"6�'(�� ���&! �!!(�&' �� �����&'�����)��'�&! �!!� ����6�',&�%)#� �'
9
��,�;�]��2�&�6�'� ! #� ���&�?<�6�'� �����)��' �!!� ����
�&'���� ���!�"� ��#��5')�(�&�� �2'� ��������������������� ,&-����!�"� ��#� �&'���3$��;
1. ���������������4��5��"���
Publish WSDL UDDI
FindWSDL UDDI
ServiceRequestor
ServiceProvider Bind
ServiceRegistry
ServiceDescription
ServiceDescription
Service
7,��� 2 Web Services Model
���) : \&� �&� �+6���, Web Services abc [���3���].�6�*5'�)��� 5 �+)7,&�%� 2549. �6�*5'3����
http://wsiam.com/document/abcwebservices/webserviceabc.jsp
��7,��� 2 Web Services Model �) *�%#!�(�&�� �2'�6�'���!�"� ��#�3���&'
���'�� � '��� 1
10
� '��� 1 �%#!�(�&�� �2'�6�'���!�"� ��#� ��7,��� 2
�'��$ ���! �2�%#!�
Requestor �$8��� ���)������'� � ������! #� �� Provider "5�'�) *���(! #�
������'� 3���� UDDI registry ( �� Service Registry ( ���#������ Provider
���� '
Registry �2(������$8��&���'�(� Provider )�'���!���3�� ������ WSDL 3q��
!�� ��������6�'! #?&����! #� ���)��(� "5�'�������( ��3)������3��
Provider �$8�����(�! #� )�(�������� �$|�! #� �,��� �' &!� 6����! #� ��
Requestor
���� ����6�)6����
���) : \&� �&� �+6���, Web Services abc [���3���].�6�*5'�)��� 5 �+)7,&�%� 2549. �6�*5'3����
http://wsiam.com/document/abcwebservices/webserviceabc.jsp
2. ���)�)�$ � �&'(&���6�3� ��4��5��"���
������������������ ,&-����!�"� ��#� $ ���!���� SOAP WSDL ��� UDDI "5�'
)� �������� �&'��;
2.1 SOAP (Simple Object Access Protocol) �$8��, �������������� �6�*5' ���!������
(( ����)�,�����) �����#%�� '�� ^ ��� SOAP �&��$8��, ���������� ����&�3��� <�6�'
7? XML �&����� �$8�6����)% )�������) �!���������&����' "5�'�)��?������ SOAP �$8�
�, ���������2'�3���&!�, ������� ��6��(���, ����� ���� HTTP SMTP ��� �&'���'
��7,��� 3 (� �+% ���� ���+� 2544: 43-46)
11
7,��� 3 XML messaging using SOAP
���) : \&� �&� �+6���, Web Services abc [���3���].�6�*5'�)��� 5 �+)7,&�%� 2549.�6�*5'3����
http://wsiam.com/document/abcwebservices/webserviceabc.jsp
��7,��� 3 ���(��3�������,&-����!�"� ��#� �)�&;'���� ���������!�"� ��#� 3)��2�$8����'
�+�'�������&!� �')��� �'� �#���������, ����� SOAP ���� ' �&;'��;�, ���� �2'�� #'
��)��$ �� )�������� �'� �#���������, ����� SOAP �������� "5�'�) *�%#!�6&;�����&;'
4 6&;���� 3���&'��;
6&;������� 1 ���6����! #� � �' SOAP message �,���� ������! #� 6�'���!�"� ��#�
6&;������� 2 ����(�! #� 3�� &! SOAP message �����6����! #� "5�'������ �$�!!
XML �5'�$�6����)�&;���&!)������ �$�!!������!�"# �q��� ��6��� ����� ����!�����6����
12
6&;������� 3 (�&'����)�,���������(�! #� ���!�"� ��#���'���&,%�)���� ���
�(�! #� ����� �' SOAP message ���)����&,%��&;����)
6&;������� 4 ���6����! #� 3�� &! SOAP message ��������� �$�!! XML �5'�$�
6����)�&;���&!)�� �$�!!����$ �� )6�'���6����! #� �6��������2���&,%�3$���'�
���� ���'�� ( ���23$�2���'���� ���������)�� �6����$ �� ) �' &!3���(��2���'3
���(��3���� SOAP message ��� &!-��'3$)�&;� ������ �$�!! XML ������')�� �$�
��&!)������ �$�!!����$ �� )( �����!�"# �q��� ��6��� ���)� XML Parser "5�'�$8��$ �� )���
�2(������$���)()�6�'���� XML ����\,� ���7����� ���'���!�"# �q��� �����(�! #�
���!�"� ��#������')��$ �� )��#�(�5�'�2(�������� &!q�'�� )�� � ���������!�"� ��#�( ���&'
���! #� ���!�"� ��#������! #� ����)�3q�� SOAP Listener �2��� 1 3q�� �)��������)�� � ������
���!�"� ��#� 3q���$ �� )��#�����$8� SOAP Listener ����3$$�+��(����!�"� ��#��2'�
�2( &!�� '� �'6�'���� SOAP �� �$�!! XML �&;� �) *�!�'�$8�����6�'
���� 3���$8� 3 ����(�&� �&'���'��7,��� 4 (\&� �&� �+6��� 2006)
1. SOAP envelop ���;�(� � (Content) 6�'���� �&;'()�
2. SOAP header �����,#�)��#)6�'���� SOAP "5�'��)���3�� ( ��3)�)���3��
3. SOAP body ������������� � ������'��"� ��#� ������&,%����3�����"� ��#�
7,��� 4 �� '� �'6�'���� SOAP
���) : \&� �&� �+6���, Web Services abc [���3���].�6�*5'�)��� 5 �+)7,&�%� 2549. �6�*5'3����
http://wsiam.com/document/abcwebservices/webserviceabc.jsp
13
����,����2�(���#���)�6�����������' ^ 6�'�� '� �'���� SOAP �5'���'�&����'����
SOAP �&'7,��� 5
</soap:Fault>
</soap:Envelope>
</GetPrice>
</soap:Body>
<soap:Fault>
<!-- 6��)��6�' SOAP ��� <�)�6���#�,�� �� SOAP Node -->
<Quantity>100</Quantity>
<Item>Rose</Item>
<!-- 6��)��������6�' Body -->
<GetPrice>
<soap:Body>
<i:currency>Bath</i:currency>
</i:local>
</soap:Header>
<i:local xmlns:i="http://www.i3t.or.th/ws/">
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<soap:Header>
<!-- 6��)��������6�' Header -->
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
7,��� 5 �&����'���� SOAP
���) : \&� �&� �+6���, Web Services abc [���3���].�6�*5'�)��� 5 �+)7,&�%� 2549. �6�*5'3����
http://wsiam.com/document/abcwebservices/webserviceabc.jsp
14
���&����'���� SOAP �&'���'��7,��� 5 �) *�%#!� ��������3�� �&'� '��� 2
� '��� 2 �%#!����� SOAP ��7,��� 5
�'��$ ���! �2�%#!�
<Envelope>
���$8� Root 6�'���� XML SOAP ��)� ������&����'����� Namespaces ��
"http://schemas.xmlsoap.org/soap/envelope/" (Schema for the SOAP/1.1 envelope)
�&'�&;� Element ��' ^ ���&����'��;������������� XML ��������$8�)� ]�6�'
SOAP � ��)� Namespaces ���� �&;'�$8� soap (<soap:Envelop>, <soap:Header>,
<soap:Body>, <soap:Fault>
Attribute �� Envelop
Attribute encodingStyle ���&����')�� ��'� encoding ��
"http://schemas.xmlsoap.org/soap/encoding/" ( Schema for the SOAP/1.1 encoding)
�������� <����� )�� ��� Parameter (����#�6��)�������� (Data Type) ����
Boolean, String, Integer �$8����
<Header>
���&����')�� �,#�)���;�(6�'���� SOAP �6�3$������6�' Header �������;���
��+��'#� (Currency) "5�'������;�����������6�' Application 3)�3���$8�����6�'
)� ]�6�' SOAP ���������'��$8�����2(�������' (User-defined)
<Body>
���$��#�������� SOAP �����')�����6�' Body �, ��$8������$8����;�(� �
� #' ^ 6�' SOAP ���&����'� ���'� ��!*) �6�'����+(�!�2��� 100
��� "5�' <GetPrice>, <Item> ��� <Quantity>�$8� Element ������'��� Application
3)����)� ]�6�' SOAP
<Fault>
�$8����������*������)���)�6���#�,����� $ �)����6�'���� SOAP "5�'���
$��#���(���\,�����$8����� ��!��&!����&;� (Reply Message ( �� Answer
Message) "5�'�&����'���$8����� ����$8�� ��'6�! #� (Request Message) "5�'
3)�����)�����6�' <Fault> Element �������6���3���,����(��(��7, �)6�'�� '� �'
���� SOAP�&;'()����� �&����'6��)���� <Fault> Element ���)�� ��#�
6���#�,��
���) : \&� �&� �+6���, Web Services abc [���3���].�6�*5'�)��� 5 �+)7,&�%� 2549. �6�*5'3����
http://wsiam.com/document/abcwebservices/webserviceabc.jsp
15
SOAP )�6�������'(�5�'����(�������, ������!!��#) ���� DCOM RMI ( �� IIOP
��� SOAP message �) *��� �!!���)�3q ������ (firewall) $��'�&�� !+� +� �&;'��;�����'��
SOAP �2'������&!�, ����� HTTP "5�'���% )��#6�'3q ���������$|��(�� ����� ����
�, ����� HTTP ���3�����'����� �&'�&;� SOAP message �5'���3�������&����3)�)�$��(
��6<�����, ������!!��#) ^ �(���&;� 3q ������)&���3)���)�(����'�� ^ ��� SOAP ���&')��+�
��������!'$ �� $ �� � � �����'���&�?<�6�' SOAP Message �$8����� XML �2�(�
���������� �$���&!)�$8� �$�!!����$ �� )�6��� ���$ �� �����' SOAP �2'������&!
�, ����� HTTP "5�'���% )��#�����, �������;)��) *����� &!-��'6��)����2
����\,��)����$ ��!����!�&!�, ��������� ^ ���� IIOP (� �+% ���� ���+�, 2544: 47)
��� ��� SOAP �&��$8��, ���������� ����&�3��� <�6�'7? XML �&'���3��
����)����6�'��� XML (Extensible Markup Language) �5'�$8�7?��),#���� ����*������!!
)�(� �' &!� ����$�����6��)��"5�'�&�����&������'�,��q� �)�&� ��)��')� ]����
�����'6�'7?��' ^ ��$���+!&� ����2(�� �$�!!6�'�2�&�'��7?��������)��� (HTML)
����2(�� �$�!!6�'�2�&�' Markup ��' ^ ,&-�)����������)��� (SGML �&�? ���6�'
Standard Generalized Markup Language) "5�'�$8�)� ]��2( &!� �2(��� ���'������
�&!�+$� <����'����#���' ^ � ���'� XML �,��'����2(�� �$�!!6�'���� (Tag) ���3)�3��
�2(��� ���'��6�'���� �, ��)�����6��)���� �$�!! XML 3$���'�����+$� <���#�����
���'�2�����)�#%����'��6�'�+$� <��&;� ^ �5')�� ��� XML ��)�&! Style Sheet ( ��
)� ]����� ^ ���� ���)� ]� SMIL �&!6��)��)&��#)����� ( ����� Style Sheet XSL �2( &!�
���'����! ��"� �����"����)��� *�����)� ]� ISO 10646 �,�����&!��+��&��&�? 7?
����# �) *�6��������$ �� )���366����)�&��3$ (%�, �#��� 2547: 608)
���7? XML )��+�$ ��'����� ���'������'�&!7? HTML ������ HTML *������!!)
�(������ ���'6��)���,��'���'����� (������3)� ����6��)������2�&'���'���������3 ) �&����'����
� ���'��6��)���$8��&�(� �&�����' �$8���� ����2( &! XML ����'�&����'�#;���#' �, ���
XML �) *���' ��( ���%#!�3����6��)��������;�����3 ����� ���'� �����'( �����'��6��)��
��)�'7 ��(�7?���� ^ �2(����������'�(����')��� ���� 7? XSL (+7�&� �),�#�
2544: 6)
2.2 WSDL (Web Services Description Language) �$8�7?�������%#!� �+<�&�?<�
� ���! #� 6�'���!�"� ��#� ����#%�� �#�����&!���!�"� ��#�������3��� <� XML ���WSDL
17
7,��� 6 3q�� WSDL �������%#!��+<�)!&�#6�'���!�"� ��#�(�5�' "5�'�(�! #� 6��)�� �(+��6�'
! #?&���' ^ (���)
���) : � �+% ���� ���+�, *�� (&�.Net + Web Services (� +'��,)(�� : ! #?&� �#���; � +�$
�2�&�, 2544) ,49-50.
</portType>
<binding name = “StockQuoteBinding”
type = “tnsStockQuotePortType”>
<soap:binding style = “rpc”
transport = http://schemas.xmlsoap.org/soap/http/>
<operation name = “getQuote”> // #!*������� � 2
<soap:operation soapAction=”” />
<input>
<soap:body use = ‘encoded’>
namespace = “urn:xmethods-delayed-quotes”
encoding Style = http://schemas.xmlsoap.org/soap/encoding/”/>
</input>
<output>
<soap:body use = “encoded”
namespace = “urn:xmethods-delayed-quotes”
encoding Style = http://schemas.xmlsoap.org/soap/encoding/”/>
<output>
</operation>
</binding>
<service name = “StockQuoteService”> // #!*������� � 1
<documentation>Obtains 20-minute deplayed quote from Yahoo</documentation>
<port name = “StockQuotePort” binding = “tns:s\StockQuoteBinding”>
http://services.xmethods.net:80/ soap”/ <soap:address location = > // #!*������� � 5
</port>
</service>
</definitions>
18
��7,��� 6 ���&����'3q�� WSDL �&'����6�'��� ���(����3q�� WSDL �����3q�� )�
5 �+������ �� "5�'� ��'�2�&!�)��)�2�&���)�3$(���� �&'��;
1. �+��&'������ 1 !���������!�"� ��#� ����2�(��'��3q�� WSDL ���!���������!�"� ��#�
��������� #!#��� name 6�'�#�#�)��� <service> �2( &!�������!�"� ��#����&����'�&'���'��7,
��� 6 ��� StockQuoteService
2. �+��&'������ 2 !�������)%��6�'���!�"� ��#� ����2�(��'��3q�� WSDL ���!�'!��
�����)%�� ����������� #!#��� name 6�'�#�#�)��� <operation> "5�'�����)%��6�'���!�"� �#���
�&����'�&'���'��7,��� 6 ��� getQuote
3. �+��&'������ 3 ��� 4 !��6��)��, )#��� �6�'�)%��6�'���!�"� �#� ��������
��'��&!) �����3q�� WSDL ��)��#�#�)��� <message> �$8���� ^ "5�'�����6��)��, )#��� �6�'�)%
�������'3$�(����!�"� ��#�$ �)���� ���6��)�����&,%������'��&!) �����(��)&���������+��&'������
3 ��� 4 �,����(�� !��#�6��)�� ��, )#��� ������'3$���6��)+������'��&!�$8���#���3 "5�'��
�&����'�&'���'��7,��� 6 �$8�6��)��, )#��� ���#� string (�, ��)%�� getQuote �(����
, )#��� ��$8��������6�'! #?&�������'� � ! �(+��) ����6��)�������'��&!�$8���#� float
(�&���6�&��� �(+��"5�'�$8���6��#�))
4. �+��&'������ 5 !���2�(��'6�'3q��"5�'�2(������$8� SOAP Listener ���3q�� SOAP
Listener ���2(��������q�'��)�� � ������!�"� ��#�( ��3)� *�)�����3$$�+��(����!�"� ��#��&;� ^
�2'� ����2�(��'6�'3q����;��!���������� #!#��� location ���#�#�)��� <address>
2.3 UDDI (Universal Description, Discovery and Integration protocol) � �'65;�)�,����$8�
)� ]���� ���(! #� ���!�"� ��#��2( &!������'%+ �#� ��� UDDI �$ ��!��)���
]�6��)��6���(��"5�')�6��)��6�'���!�"� ��#�����(�! #� �'%+ �#� !'� &;'(�(6��)����
�#���� ����� ��,!�2�� UDDI Business Registry "5�'()�*5']�6��)�����!�"� ��#�6�'! #?&������
�'%+ �#��&;���' (� �+% ���� ���+� 2544: 52) ( ��������3���� UDDI �$8�)� ]�����(��+�
,�;�]� APIs (Application Programming Interface) 6�' SOAP ����) *�2)������ ,&-�
�$8��&����6�'����(�! #� (Service broker) UDDI ����2( &!���(�"� ��#�������'� ����)���
3��)���� UDDI �&'�&�(6�� ���'���#%�� ��������'��$ ��!3���&!�)+�(���(���' �$8�
)� ]�����&��&;'65;����! #?&�3�!����) ! #?&�3)�� "�q�� ���! #?&�� �! (Ariba) $���+!&�)�
! #?&���� ��)�&��2(��)� ]�6�' UDDI )���� 70 ! #?&� "5�')� ]�6�' UDDI *��
�2(���(��$8�)� ]��2( &! B2B interoperability (\&� �&� �+6��� 2006)
19
�������������������� ,&-����!�"� ��#��&'���3������)����6�'��� ,�� +$3����
���!�"� ��#�$ ���!3$�������������(�&� ^ ��� �, ����� SOAP 7? WSDL ��� �!!
]�6��)�� UDDI ����#�'����(�����'�&������� 7? XML 3��)�!�!����')���������������!
�"� ��#� �&'���'��7,��� 7 Web Services with SOAP, UDDI ��� WSDL
7,��� 7 Web Services with SOAP, UDDI ��� WSDL
���) : \&� �&� �+6���, Web Services abc [���3���].�6�*5'�)��� 5 �+)7,&�%� 2549.�6�*5'3����
http://wsiam.com/document/abcwebservices/webserviceabc.jsp
20
���/2�������������� ���������������������
6������0�2��������1�� "����2�����&�����'�'�(�������)������������ 6��
������(���(��1��� ���.� ���2�����)�.��� ����91���������(���(��1�������� �������# ,0��
�������(���(��1�������� �������#�����/����#������1�������� �������#�(��.����0�� (�
�D���3 �� ���������������K . (��� �"���� �1���6������*������(����������� �������#
��66�D��������*����K . (�����-�9������K .K&�8����-#�� ��̂�� �K&� (���� ���� ���#
)����'�6�# *� "� 2548: 54)
)��6������0�2���������� ��U6D�)�����2�������&�����'�'�(�������
)������������K&�&��)�&��������(� 3
�����(� 3 ���2�������&�����'�'�(�������)������������ )��'��)�� (���&�����
������2�����
���2�������&�����'�'�(
�������)������������
'��)�� (���&�����������2�����
1. ��!+���&'(����*(�@!���#
1.1 �����&������ ��8��D�
(Word Processing)
Microsoft Word, Sun StarOffice Writer
1.2 '��'���$ �)�����2
(Word Processing)
Microsoft Word, Sun StarOffice Writer
1.3 '��'���� '�2��<
(Spreadsheet)
Microsoft Excel , Sun StarOffice Calc
1.4 '��'����2������'�
(Presentation)
Microsoft PowerPoint , Sun StarOffice Impress
1.5 '��'���]�6��)�� (Database) Microsoft Access, Oracle, MySQL
1.6 '��#�� �(�6��)��������),#���� � SPSS, Minitab, SAS
1.7 '��2( &!�� ���' PDA Microsoft Pocket Outlook, Microsoft Pocket Excel,
QuickNotes
1.8 '��'��� �!!�2�&�'��&���)&�# Microsoft Office, SUN StarOffice
21
� '��� 3 (���)
���2�������&�����'�'�(
�������)������������
'��)�� (���&�����������2�����
1.9 '��'����&�� �� '� Microsoft Project
1.10 '��'���!&��� InsuitQuickBooks,Peachtree Complete Accounting
2. ��!+���&'(����*(���JJX���������� �* $ (Graphic and Multimedia)
2.1 '�����!!
(Computer Aided Design)
Autodesk AutoCAD, Microsoft Visio Professional
2.2 '��#�',#),�
(Desktop Publishing)
Adobe InDesign, Adobe PageMaker, Corel
VENTURA, QuarkXPress
2.3 '������'7,
(Paint/Image Editing)
Adobe Illustrator, Adobe Photoshop, CorelDRAW
2.4 '��&�����#�����������'
(Video and Audio Editing)
Adobe Premiere, Cakewalk SONAR, Pinnacle
Studio DV
2.5 '�� �'����)&��#)�����
(Multimedia Authoring)
Toolbook Instructor, Macromedia Authorware,
Macromedia Director Shockwave Studio
3. ��!+���&'(������4��������*�+��]���� (Web and Communication)
3.1 '����(6��)��������'����#���� ����� Microsoft Internet Explorer, Mozzila Firefox,
Opera
3.2 '��&�� ���)�� Microsoft Outlook, Outlook Express, Mozzila
Thunderbird
3.3 '�*�����3q�� Cute_FTP, WS_FTP
3.4 '�� �'���! (Webpage Authoring) Adobe Golive, Macromedia Dreamweaver,
Macromedia Fireworks, Macromedia Flash,
Microsoft FrontPage
3.5 '��$8�����������! (Web Master) �$ �� )( ��(�&���� Website Development
and Management
22
�����(� 3 (�.�)
���2�������&�����'�'�(
�������)������������
'��)�� (���&�����������2�����
4. ��!+�_`(�' �$�'�
4.1 ��'����#���),#���� �
(Computer Operator)
�$ �� )( ���#��'���� ���� � �#���� ��#���
"�q���� � �!! �!!�� ��6����),#���� �
�!�;�'���
4.2 ,&-��$ �� )��),#���� �
4.2.1 Web Programmer PHP, ASP, ASP.Net, Visual Basic.Net, JAVA
Script, XML, HTML, JAVA Development, JSP,
Macromedia Flash, Macromedia Dreamweaver
4.2.2 Application Programmer Visual Basic, Delphi, C, C++, OOP, UML, Foxpro,
Clipper, Oracle Developer, Pascal, Cobol,
Fortran, Assembly, J2ME
4.2.3 System Programmer Perl, CGI Script
4.3 �������������# ��
(Network Administrator)
�#��'��� �!!�� ��6����),#���� ��!�;�'���
�!!�� ��6����),#���� �6&;���' Windows Server
Management, Windows Nt , Windows Xp, UNIX,
Solaris, HTML, Web Design �$8����
4.4 �#�� "�q���� �
(Software Engineer)
�$ �� )( ���#��'��� Real time Processing,
Lab View "�q���� ��,���'���!�+) � ���� �
SCADA
4.5 ���!)���� � (Web Master) �$ �� )( ���#��'��� Website Development
and Management �$ �� )�&�� ]�6��)�� ����
Access, Oracle, MySQL, SQL Server �$ �� )���
� �'���! ���� Adobe Golive, Macromedia
Dreamweaver, Macromedia Fireworks,
Macromedia Flash, Microsoft FrontPage
23
4.6 �&��#�� �(� �!! (System Analyst)
�$ �� ) Visio 7?�$ �� )��),#���� �
�2( &! Web Programmer, Application
Programmer, System Programmer ��� System
Analysis and Design
����#�$� ��� �$��(��
����#�$&������
��6��̀#�"���#������_`(�+��@!�������������4��5��"���&���������_�������]���� � Session
Authentication for Web Services In Mobile Computing (%� �,'� �&-�,#���+� 2546 )
�$8�� 5�? � ,#������&�� #'6�'��� ��)%+ � )�2( &!���!�"� ��#���� $ �)����
�!!���������� �������$ ����� SAWIM (Session Authentication for Web Services In Mobile
Computing) "5�'����� �2%+ � )���������6��'�&!(��/��"5�'�) *,#������&�� #'6�'����2
%+ � )�����/�� ����&��!!�������#�&��2������� �$ ����� SSL ����$ ������������#�&�3��
,&-�65;� ! #� �����)$���7&�$ ���!���� � $�$|�6��)�� ��)*�����'6�'6��)�� �
,#������&�� #'������ &!�����'3)��) *$�#��%� &!��'6��)��3��
Mobile
Security-
Processing
Server
Session
and Key
Management
Authority
(SKMA)
Web Service
Provider
(WSP)
1.Send Transaction
3.Return Session Message
5.Request Session Information
6.Return Session Information
7.Return Transaction Message over session
AuthenticationMessage
2.Request Session Message
MessageMobile
8.Receive Transaction
7,��� 8 ���'�!!�2��'���''��6�'�$ ����� SAWIM
24
��������+��)5+�!���)*$&'(��4��5��"��� ��j w�.&��!������������� An Implementation
of Supply Chain Management Using Web Services: A Case Study in Textile Industry (�+ �&���
�;2(�) 2546 )
�$8�� 5�?� ! #( (��'�"��+$�����������!�"� ��#� � <�5�?���+��(� )
�#�'�� "5�')��$�()����� ''���#����;��� ���� ''���#����������#�&�3��,&-����!�"� ��#��,���
�����)��'6��)��6��� ��(��'�"��+$������\,�� �����)��'6��)������ $ �)�����2�&�'
"�;� ��� 6�6��)����� �2�������� ����$8�� ��? ����,#�)�*��� ��!��&!6�'
�*��� �&�'"�;� ����#�&�3���2���� Web Forecasting Center Services (WFCS) "5�'���2�
� ����!�2������ �$�!!�,�����)�()��)��� ��������;��� �2���� Web Purchase
Order Service (WPOS) �,����&�� � ���'� �&�'"�;�����q�"�3$�&'�����#�����&���)&�# ����2����
Web Fabric Planning Service(WFPS) �,������$��(� ��!��&!6�'�*��� �&�'"�;�������2
� ���! information 6�'�*���#���������!3��`
�������������6$����!.$" �6]����#�*����z{����� Human Resource System for the
Management of Training (� ,&�%� !+ #�� ��&-� 2545)
3���2� 5�? �!!� ����� &,�� )�+?�� �,���� �&�� � /0��! ) "5�'
����#�&�3���2� ,&-� �!! �����&�� ���� /0��! )6�'�2�&�,&-����! #� �#��
(�,!.) �*!&���������� �)'�� ����������#��'� � ,&-�"�q���� � ��)�&!�#%�� ,&-�
�!!����!! data model ������3����� Relational Data Model �$8��$ �� )�!!3�������-
�"# �q��� � "5�' �!!�) *�&����!$ ��&�#!+��� 6�'�2�&�,&-����! #� �#�� $ ��&�#�
�(�� /0��! ) $ ��&�#(�&���� ���3�� &!� /0��! ) � +$� $ ��)#����!!$ ��)#��#���
6�'�2�&�,&-����! #� �#�� �*!&���������� �)'��
25
Assess training needs � Organizational analysis � Taskl analysis � Individual analysis
Identifytraining
objectives
Develop Critria
NEEDSASSESSMENT PHASE
Design Training Select training
Methods and apply Learning principles
Measure and Compare
Training outcomes against criteria
Conduct training
TRAINING PHASE EVALUATION PHASE
7,��� 9 ���'�!!�2��' �!!� ����� &,�� )�+?�� �,���� �&�� � /0��! )
����#�$�+������
D.Fensel and C. Bussler, The Web Service Modeling Framework WSMF, �2�
�2��' WSMF ������'� �2'�6�' e-commerce �(��) *�2'�!����!�"� ��#� ���� ������
�!!�2��' WSMF "5�'�!!�2��'��;���$8�������' )������ �2'�����2�&� 2 ������� ����� �
� �2�������$ ���!6�'6��)��!���)�����'6�'6��)��7����'��� ���� �%#!�
message ����$ ����� ��������� ����$�����6��)�� ���������' � �&�� ������� �(�! #�
����#�� �(�6���� ���'6�'�2&,�����6�������'6�' �$�!!��� �#����
Rama Akkiraju, David Flaxer, Henry Chang, Tian Chao, Liang-Jie Zhang, Frederick
Wu, Jun-Jang Jeng, A Framework for Facilitating Dynamic e-Business Via Web Services 3��
���� Web Service Enablement Framework "5�'�2(������#��������� �(��'����(�! #� ��� ���
� ������! #� �,����2�����)������(��&!������'%+ �#���� ���6��)�� � �����������'%+ �#�
����()��)!�,�;�]�6�'��)���'� 6�'���6�! #� � � �'���!�"� ��#� "5�'$ ���!����
Web service syndication � � ��� Web service ���'�&���)&�# "5�'����!�,�;�]�6�'��)
$���7&� ��� �!!$��'�&�6��)�� ��� �2%+ � )!� �!!,<#����#����� ��#����!!�&���)&�#
�&'���'��7,
26
Web Service Enablement Framework
Framework Components
Monitoring Logging & Audit Data
Collection
Web Service Invocation Enabler
ServiceProvider
ServiceRequestor
7,��� 10 ���' Web service enablement framework
Business Partner Selection
Web Service Syndication
Business Partner & Service Discovery
Service Provisioning & Subscription
Authentication & Authorization
Private Web Service Registry
ServiceProvider
B
A X
ServiceRequestor
Y
Service ServiceProvider Requestor
ZC
��� � 3
#&'�����;���&����
�����!�������"�#�������$%���� &�����'�'�(�������)������������
'&�*���+��,��#��� ,0����/���������(�*.����������������������(��*�1�� "�6���U����(�
���������$%���� (��.� �����1.� '&�U����(��1���.� �����1.����� (������)��������+�
�,��#����������������� �������������(X�� ��U��(��*���������(����������"��)�����
�����(�K&� 60��D���&1�X�����.�� _ '& (������(& &���(X
6&;������� 1 5�?� �2'�6�' �!!���!�"� ��#� ������ ���'��#�&����
������6��'
6&;������� 2 5�?� �2'�6�'�$ �� )������2),&-� �!!'�����$ �� )
]�6��)�� �&�3����� Visual Studio.Net ��� SQL sever
6&;������� 3 5�?��)�&),&�%�6�'�&�?<�'���� &!�#���! � �����),#���� �
(�&���� ���3�� &!� �! ))�������(�&���� ������'� /0��! ) �&!(�&���� �! )�'���
���������� ����
6&;������� 4 ,&-� �!!������'� /0��! )������������� ���� ����
����� ���������!�"� ��#����� /0��! ) ���� ����!! �!! � ���� 3(�6�'6��)��
����� '� �']�6��)�� ���&;��5'�2� ����! �!! $ &!$ +' �!!'� ���� +$���
�2��#�'��#�&� "5�')� �������� �&'��;
��������6������0�2��������D����1����+��,��#��� )����'�'�((��*��������!��
��+��,��#��� �� U0������"�����$%���� &�����'�'�(�������1���U�����.�� _ (�
���������$%���� )�����2�����1�����#��9����;���)�����*� 8"���6�K&����)���������
��!�������"�#�������$%���� &�����'�'�(�������)������������'&�*���+��,��#���
)�� Conceptual Model 6�' �!! &��)�&���9��(� 11 )��9��(� 12
27
28
Server Server Server
7,��� 11 ���'� �2��' �!!� ,&-� �!!������'� /0��! )������������
� ������� ����� ���������!�"� ��#�
�U����������
(����������
�����"�#����������
�D�)���D����$%����
&�����'�'�(�����
��&����+��,��#���
�U����������
(����������
�����"�#����������
�D�)���D����$%����
&�����'�'�(����� ��
&����+��,��#���
�U����������
(� 1�����������+�
�,��#���
�U����������
(� 2�����������+�
�,��#���
�U����������
(� 3�����������+�
�,��#���
�����"�� �����"��
�����"��
Profile
���� ���
Profile
���� ���
Profile
���� ���
8"�1��*�
����
-��*�(���
��(�
���
������
���(
�
���
������
���(
�
7,��� 12 ���' Conceptual Model 6�' �!!
29
�������,������(��̀�
1. � ���� 3(�6�'6��)�� ��&!��' (Context Diagram)
���)����K��1��1�� "���&���"� ��/����)�&������+�U0������1��1�� "�(��1���".
���� 8����-#(�K&���� )��8����-#(�K&�6���,��#���1���U����(�������������$%���� &��
)�&���9��(� 13
��
���
(�8"�1
���
)�&�
8���
���
��D�)�
��D�
���
���
����
����
�P��
�-
�1���
".���
�)�
�1��
D�)�
��D�
�U����������
(����������
��+��,��#���
�U����������
(����������
��+��,��#���
�����"�#����������
�D�)���D����$%����
&�����'�'�(�����
��&����+��,��#���
8"�1��*�����
1��*�������
������(&�����"��
1��*�������
������(&�����"��
������(&
�����"��1��*�
������
�U����������
(����������
��+��,��#���
7,��� 13 ���'� ���� 3(�6�'6��)�� ��&!��' (Context Diagram)
30
2. � ���6��)�� ��&!��� 1 (Data Flow Diagram Level 1)
���)�1�� "���&��(� 1 ��/����)�&�������(&.�6��)8�9�����)�1�� "���&��
�"���& ,0�� (���������D���� &���(X
2.1 ��������(�1��8"�1��*�����
�.��6�1��1���*������������D�)���D� 8"��*�����6�����D���������(��������
�"�#�������$%���� &�����'�'�(�������)�����������������1�*���8"��*�)������8.�� '&
����6�D�������6����.��������(�)�������K .U�������(�)����+K .���������(�,XD��(�
7,��� 14 ���'���7,� ���6��)�� ��&!��� 1 � �'���!����,���6����'� �!!
���.���(X�����"�#�����������D�)���D����$%���� 6�����D�������6���
1�� "���������(��.�,XD�,�������K . U��K .,XD�,����+6���������������(�)�����8"�1��*�
�D���&*���8"��*�)������8.��
�����(�8"�1��*�����
8"�1��*�����
8�������6��!
1�� "����
�����(�
8���������(�
���6��������1�� "�8"�1��*�����
��� � 4 _���*�������
� ,&-� �!!������'� /0��! )������������� �������� ����� ���
������!�"� ��#�$ ���!�������!�"� ��#�����$|��(�! #� 6�' �!!������'� /0��! )���
���������� �������� ����� ����&��2�(��&!����/0��! )����6� ��)�� '� ��� � ������
'� �����������$8�(������� ���)6����'��#�����&! �!!������'� /0��! )������)6����
'��) *!&��5�$ ��&�#� �! ) ���2����2� /0��! )(�&���� ��'^ "5�' ��������6�'
��� �#�&�)��&'��;
��4��5��"���� ���X*&�(�����
���!�"� ��#�6�' �!!������'� /0��! )������������� �������� �����
)����!�"� ��#�����(�! #� $ ���!����
1. �"� ��#��'���!����(��&!����/0��! )����6� ��)�� '�
��������$|��(�! #� : ������'� /0��! )������������� �������� �����
�����"� ��#�: addTrainingHouse
6��)����� &!�6�: HouseName ��� ����6�'�*��! ),
Location ����������6�'�*��! ) ���
Telephonenumber ��� ()���6�� &,������#����3��6�'
�*� �! )
�����3��: �&���6����'�#'6�'�*��! )"5�'�������� � ��2
� &!/��'6��)�� ���������!�"� ��#����������3$
7,��� 23 ���'�"� ��#� addTrainingHouse
54
55
��7,��� 23 �!!������'� /0��! )������������� �������� ����� ��
)��"� ��#�����(�! #� �'���!����(��&!�*!&�/0��! )��� ��)�� '� ����*!&���� ��)
�� '� �2� � �������"� ��#� addTrainingHouse �����'��, )#��� � ���� ������� �!� ��� &,��
����#����3��
6�'�*��! ) ���*�3)�)�6���#�,�� �!!������'� /0��! )������������� ����
���� ����� ����'������$8�����'�#'6�'�*!&���� ��)�� '� ��&!)
2. �"� ��#���'�� (&�(�&������#�(�&�6�'(�&����
��������$|��(�! #� : ������'� /0��! )������������� �������� �����
�����"� ��#�: reqCourseMainCategory
6��)����� &!�6�: 3)�)�
�����3��: �$8��+�6��)�� DataTable ���$ ���!���� ���� #!#���
�� (&�6�'��#�(�&�6�'�� ���! ) (CourseMainCategoryID)
����6�'��#�(�&�6�'�� ��/0��! )(CourseMainCategory
7,��� 24 ���'�"� ��#� reqCourseMainCategory
��7,��� 24 �!!������'� /0��! )������������� �������� ����� ��
)��"� ��#�����(�! #� $ ��7�(�&�6�'(�&���� �,����(�����/0��! )����$8��)�#��) *� ���
( ���6�*5'6��)������$8�$ ��7�(�&�"5�'�������;������'� /0��! )� ���!�'�$8� 4 ��+�)�(��
3����� $ ��7�� ���'��'���%+ �#� � ���'��'���� qq|����)&��#)����� � ���'�!�
���!��� �#��������� �����+�)�����������
56
3. �"� ��#���'�� ��&!6�'(�&����
��������$|��(�! #� : ������'� /0��! )������������� �������� �����
�����"� ��#�: repCourseSkillLevel
6��)����� &!�6�: 3)�)�
�����3��: �$8��+�6��)�� DataTable ���$ ���!���� ���� #!#���
�� (&�6�' ��&! (CourseSkillLevelId)������� ��&!6�'(�&����
(CourseSkillLevel)
7,��� 25 ���'�"� ��#� reqCourseSkillLevel
��7,��� 25 �!!������'� /0��! )������������� �������� ����� ��
)��"� ��#�����(�! #� ��#� ��&!6�'(�&���� �,����(�����/0��! )����$8��)�#��) *� ���( ��
�6�*5'6��)������$8� (&�6�' ��&! ����6�' ��&!"5�'�������;������'� /0��! )� ���!�'�$8� 4
��&!3����� ��&!,�;�]� ��&!��' ��&!��' ��� ��&!)�����, "��'�) *�$������$�'3��
4. �"� ��#���'���*��6�'(�&����
��������$|��(�! #� : ������'� /0��! )������������� �������� �����
�����"� ��#�: repCourseStatus
6��)����� &!�6� : 3)�)�
�����3��: �$8��+�6��)�� DataTable ���$ ���!���� ���� #!#���
�� (&�6�'�*�� (CourseStatusId)������� ��������6�'�*��
(�&���� (CourseStatus)
57
7,��� 26 ���'�"� ��#� reqCourseStatus
��7,��� 26 �!!������'� /0��! )������������� �������� �����
��)��"� ��#�����(�! #� �*��6�'(�&���� �,����(�����/0��! )����$8��)�#��) *� ���( ��
�6�*5'6��)������$8��*�� �,����$8�6��)���(���� Application "5�'�������(��*��! )�) *
�2(���*��6�'�� ������&���'�$|�����(�3��� '�&! �!!����2�� '� �! ) ��������
6�'�*��"5�'�������;������'� /0��! )� ���2(���$8� 5 �*��3����� !&��5�$ ��&�#�
�! ) �) *�'���!���3�� 3)��) *�'���!���3�� ����#��� �� �#;��+�$|��� ���)!� <� "5�'
6��)���) *�$������$�'3��
5. �"� ��#���'�� (&������#�����6�'(�&����
��������$|��(�! #� : ������'� /0��! )������������� �������� �����
�����"� ��#� : repCourseSubCategory
6��)����� &!�6�: 3)�)�
�����3��: �$8��+�6��)�� DataTable ���$ ���!���� ���� #!#���
�� (&�$ ��7�����6�'�� ���! ) (CourseSubcategoryID)
����6�'$ ��7�����6�'�� ��/0��! )(CourseSubcategoryCategory
7,��� 27 ���'�"� ��#� reqCourseSubCategory
58
��7,��� 27 �!!������'� /0��! )������������� �������� ����� ��
)��"� ��#�����(�! #� $ ��7�����6�'(�&���� �,����(�����/0��! )����$8��)�#��) *� ���( ��
�6�*5'6��)������$8�$ ��7������,����$8�6��)���(���� Application "5�'�������(��*��! )�) *
�!+$ ��7�����6�'�� ������&���'�$|����3��� '�&! �!!����2�� '� �! )"5�'�������;
������'� /0��! )� ���!�'���65;������&!$ ��7�(�&�6�'(�&���� ����$ ��7�(�&�6�'
(�&���� �����+�)� ���'��'���� q|����)&��#)����� $ ��7�����6�'��+�)��;��� '�����!!
'��#�',#),� '������'7, '��&�����#�����������' ���'�� �'����)&��#)����� �$8����
6. �"� ��#���'�� (&�����+-#� 5�?
��������$|��(�! #� : ������'� /0��! )������������� �������� �����
�����"� ��#� : reqEdlev
6��)����� &!�6�: 3)�)�
�����3��: �$8��+�6��)�� DataTable ���$ ���!���� ���� #!#���
�� (&� ��&!� 5�? (EdlevID) ����6�' ��&!� 5�? (EdlevTxt)
7,��� 28 ���'�"� ��#� reqEdlev
��7,��� 28 �!!������'� /0��! )������������� �������� �����
��)��"� ��#�����(�! #� (&���������+-#� 5�? �,����(�����/0��! )����$8��)�#��) *� ���
( ����'*5'6��)������$8� ��&!� 5�?�,����$8�6��)���(���� Application "5�'�������(��*��! )
�) *�2(���+-#� 5�?6�'����! )����()��)����� ������&���'�$|����3��� '�&! �!!
����2�� '� �! )
59
7. �"� ��#����36/�,#�) �� '� �! )�()�
��������$|��(�! #� : ������'� /0��! )������������� �������� �����
�����"� ��#�: reqUpdateTrainingCourse
6��)����� &!�6�: ��6�����'�#'6�'�*�/0��! )(TrainingHouseId) (&�(�&����
(CourseId) ����(�&���� (CourseName) �2�%#!�(�&����
(CourseDescription) ���! )(CourseExpense) $ ��7�(�&�6�'
(�&���� (CourseMainCategory) $ ��7�����6�'(�&����
(CourseSubCategory �� ��&!6�'(�&���� (CourseSkillLevel)
��+6&;���2 (Minage) ��&!� 5�?6&;���2 (Minedlev) �*��6�'
(�&���� (CourseStatus)
�����3��: �2� ��'�+�6��)��(�&���� ���!&��5��()� ( ������2� ���36 ��'3$
���36( ���,#�)��� �!!������'� /0��! )
7,��� 29 ���'�"� ��#� reqUpdateTrainingCourse
60
��7,��� 29 �!!������'� /0��! )������������� �������� ����� ��
)��"� ��#�����(�! #� ���36 /�,#�) �� '� �! ) �,����(�����/0��! )����$8��)�#��) *�,#�)
( �����36(�&���� ������'���������'� /0��! )3��
8. �"� ��#����36 ������������/0��! )����6� ��)�� '�
��������$|��(�! #� : ������'� /0��! )������������� �������� �����
�����"� ��#�: updateTrainingHouse
6��)����� &!�6�: ��6��'�#'6�'�*!&��! ) (HouseId) , �����*!&�/0��! )
(Housename), �*�����&;'6�'�*!&� (Location)
()���6�� &,������#����6�'�*!&� (TelephoneNumber)
7,��� 30 ���'�"� ��#� updateTrainingHouse
��7,��� 30 �!!������'� /0��! )������������� �������� ����� ��
)��"� ��#�����(�! #� � ���36 ��������6�'�*!&�/0��! )��� ��)�� '� ����*!&���� ��)
�� '� �2� � �������"� ��#� updateTrainingHouse �����'��, )#��� � ���� ������� �!� �
�� &,������#����3�� 6�'�*��! ) ���*�3)�)�6���#�,�� �!!������'� /0��! )���
���������� �������� ����� ���2� ���36 ��������6�'�*!&��(��)6��)�������'3$
61
)����������̀�$"�����z{�����*(����)�)�$ �����������]����
�$ �� ) �!!������'� /0��! )������������� ������� ����� �$8�
�$ �� )���������������'� �6���� �!!�2� �'���!����,���6��6���� �!!���� �� �����������
�$8��*�7,����!+��� 3�������6���!&� $ ��2�&�$ ���� �2�2(������ ����-�)��+� �&�
�����$>��#� ��&!� 5�? �+-#� 5�? �&�?���� �����),#���� � �����#� ��� (&����
����$ �� )���2� � ����!6��)���&'���3$��;
- � �����6$ ��2�&�$ ������� ! 13 (�&�( ��3)�
- ���������#� ���'3)�)����'��' ���3)�";2�&!6�'������
- (&�����������&� (&�������'�()����&�
- 6��)������2�&�� ��� !*���
�)����'���!���3�������#����������'��&!�6����(��� �6�' �!!���� �� �����#����
(&���� *������#��2� �� �$ �� )�����'(��$ ��&�#� �6� &!� /0��! ) ����6���� �!!
�) *��$ ��&�# ( ���,#�)$ ��&�#� �6� &!� �! ) "5�'�) *�,#�)3������,#�)����6��)��� ��
��'����,#�)������6��)��� �! )�� �!!
� 6���� ����2�� ���! )��(�����$ �� )�����' ��������(�&����
�! )�&'���3$��; (�&���� ����&'3)�����6� &!� �! ) (�&���� �! )�� ��&!���(�� (�&����
�! )����!����&!(�&���� �������! ) (�&���� � �! )�����2����������! ) ���(�&���� ���� ^
�������(������� '� ���3�� &!� �! )����
� ���((�&���� �! )�� �!!�������) *���(3��������(�&���� ( ��
$ ��7�(�&���� ( ���*����/0��! ) ( �� ��&!6�'(�&����
)��������&'(��&��+����������z{�����&�)����� �$ �� )������6�'�*!&�/0��! )��$ ���!����(�������' ������������ ���
���� ()���6�� &,������#����3��6�'�*!&� ��� ��������(�&���� ����$|��! )6�'�*!&�
�������) *���36 ��������6�'�*!&� �,#�)�$ �� )� /0��! ) ��/���36 ��������6�'
(�&���� �! ) �&'7,
62
7,��� 31 ���'(����� ���'�6�'�$ �� )6�'�*!&���� ��)�� '�
*���������#��)�����$+�)��'6��)����)�� � ����������6�'�$ �� )�&'���'
TryIf ConfigurationModule.serverside_HouseID <> -1 Then
WSobject. updateTrainingHouse(ConfigurationModule.serverside_HouseID,vtxt_HouseName.Text, txt_HouseLocation.Text, txt_HouseTelephoneNumber.Text) MessageBox.Show("3���2� $ &!$ +'6��)����� �!! web service � ��! �������","�2� ��", MessageBoxButtons.OK)
Else ConfigurationModule.serverside_HouseID = WSobject.addTrainingHouse(txt_HouseName.Text, txt_HouseLocation.Text, txt_HouseTelephoneNumber.Text) MessageBox.Show("3���2� �'���!���6��)����� �!! web service � ��! �������"+ " ()���6����'���!������ : " + ConfigurationModule.serverside_HouseID, "�2� ��",MessageBoxButtons.OK)
End IfCatch ex As Exception
MessageBox.Show("3)��) *�2� ��'6��)���6����! service 3��", "� ��'6��)��3)�
�2� ��", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) End Try
*� � * !& � ��; � � � � ' � � � !� � � � � � ! ! � �� � � � � $8 � � 3 $ � � � � � " � � �# �
updateTraininghouse "5�'��3$�2� ���366��)��6�'�*!&�/0��! )����*!&�������' ���*��&'
3)�����'���!�����3$� ����"� ��#� addTraininghouse "5�'��3$�2� �,#�)6��)��6�'�*!&����
�*!&�������'�����3�� &!()���6��'�#'��&!)
*��������2� �,#�)6��)��(�&���� ������#����$+�) “!&��5�6��)���'��]�6��)�� Local”
�$ �� )���2� !&��5�6��)���']�6��)���*!&� �����*)�� “���'� �������'6��)��6�'
63
If MessageBox.Show("���'� �������'6��)��6�'�$ �� )� /0��! )3$��� web ( ��3)� ?", "��'6��)�����",MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Then
Try'�2� ��'6��)����� WebService "5�'��3���� ID 6�' Course ��&!)
Dim oWS As New wserviceTrainingHouse() With drow
CurrentCourse_ServerID = oWS.reqUpdateTrainingCourse(ConfigurationModule.serverside_HouseID,"no key now", CurrentCourse_ServerID, _ .CourseName, .CourseDescription, .Expenditure, .CourseMainCategory, .CourseSubCategory, .CourseSkillLevel, .MinAge, .MinEdLev, .CourseStatus)
End With isWSsuccess = True MessageBox.Show("�2� ��'6��)��3$�&' server 3��� ��! ���", "�2� ��")
Catch ex As Exception errFlag = True MessageBox.Show(",!6���#�,����6<���'6��)�������� Web Service"+ vbCrLf + ex.Message, "ERROR")
End TryEnd If
� � �������"� ��#� reqUpdateTrainingCourse (�&'������2� ���36(�&���� ���
�*!&�/0��! )�������(����*)�����'� �������'6��)��6�'�$ �� )� /0��! )3$������!
( ��3)�*���������! Yes ��� �������"� ��#� reqUpdateTrainingCourse �����', )#��� �()���6
$ ��2�*!&�/0��! ), ()���6(�&���� , ����(�&���� , ��������(�&���� , �2�%#!�
(�&���� , �, $ ��7�(�&� $ ��7� �'6�'(�&���� , ��&!6�'(�&���� , ��+6&;���2,
� 5�?6&;���2, �*��(�&���� *�3)�)�6���#�,����� ��'��)�6����) “�2� ��'6��)��3$�&'
server 3��� ��! ���” *�)�6���#�,����� ��'( ��3)��) *��'6��)��3����)�6����) “,!
6���#�,����6<���'6��)�������� Web Service”
���*�������
�)����2� ����!!���,&-��$ �� ) �!!������'� /0��! )���
��������� � �������� ����� ���������!�"� ��#� ���,&-�3���!�'6&;����� ����!
�$ �� )3�����
o ����!� �2'�6�'�������&��3$����6�)��� �!!������'� /0��! )���
��������� � �������� �����
64
o ����!� �2'�6�'���!�"� ��#�6�' �!!������'� /0��! )���
��������� � �������� �����
o ����!� �2'�6�'�$ �� )6�'�*!&�/0��! )����6� ��)�� '� �
� ���������!�"� ��#����� ��'6��)���6���� �!!������'� /0��! )
o � ����!�,���(�+�!�, ��'6�'�$ �� ) ����2� ���36$ &!$ +'
�$ �� )
o � � ����!*)��)�#��(��6�'������ �!!�2��� 6 ���������!!��!*)
��)�#��(��
��� �2 �!!������'� /0��! )������������� �������� ����� ������
���!�"� ��#� 3$����'����&!!+��� ���$�#!&�#'���(����'�7���)(�#���&�#�$� ,!��
!+��� ����6���� �!!)���),5',������7, �)������ ��&!)� (X= 4.10 ) ����)���,#� <
�$8� �6�� ,!�������� ��&!)��+�6�� ���� ��'�2�&!��)�3$����3����� � �6���� �!!)���)
�����3)��+�'�� ( X= 4.33, SD = 0.52 ) 6&;������� �6����'��$8� �!! ����&!� ���(�� �
��! )�� �!!�) *���(3��'��(X= 4.17, SD=0.41 ) � � ��$ ��&�#�6� &!� �! )
�) *�23��'�� ( X= 4.00, SD=0.00 ) ���� ����2�� ���! )�2�(�3�� &!$ ������)�
(X = 3.83, SD=0.41 ) �)�2�&!
6��������������(������������'��� �!!������'� /0��! )������������
� �������� �����
-(��� ��6��)��� �'���!���3)���)������#��6���� �!!�, �(�������,#),������#�
���3)���&!3$(��� ����) *,#),�3�����3)��) *�6���� �!!3���2�(�������''
- � ���((�&���� �! )(�)��6����2�%#!������� ���(�����&��������3������
)�
��� � 5
����!�
� ,&-� �!!������'� /0��! )������������� �������� ����� ���
������!�"� ��#� �2�(�3�� �!!�2��'��� �(�! #� �2����2(�&���� ����()��)�&!�&�?<�
'�6�'������ �6���� �!! ���)����!�"� ��#�����(�! #� �2����2(�&���� ����2� ���(
(�&���� ���*!&��������)��� ���'�)�6������2(������(�! #� 6��)�����(�&���� ����$|��! ) ��
�*!&���'^ ����) *��������6��)�� ��)�&���� ���'6�'(�&���� $ ��&�#� /0��! )6�'
�)�#� �������)�#��) *������2� �)&� �6� &!� �! )���*!&�����6� ��)�� '�
����2� �)&� ��� �!!������'� /0��! )���,&-�65;�3������ '
� �2��#�� �#�&�3���2� ����!!�� '� �'6��)��������$ ���!��'��#�&� 3�����
6��)����������$8�������'� /0��! )������������� ������� 6��)���*!&�/0��! )
��� ��)���� '� ��� �!!���,&-��) *��!���'��)���'� 6�'��������� � ��
$ ��&�#� �6� &!� �! ) � 6���$ ��&�#� �6� &!� �! ) � 6��2����2(�&���� ���
�� �6� &!� �! ) �� '� �! )����$|�����*!&���� ��)�� '� "5�'������$8� ��&! ������
�) *���((�&���� �! )���*!&�����6� ��)�� '� ����) *�2(���'����36��
� ���(������(�&���� $ ��7�6�'(�&���� �*!&�/0��! )( �� ��&!6�'(�&����
�������6���� �!!�) *6��'���!����,����6� &!� /0��! )��(�&���� ������'� �! )
����2� �'���!������������'� /0��! ) ������&;��&'�$8�� �!��� �#������'
6��)��(�&���� �� ��$|��! )���*!&�/0��! )3$�&'������'� /0��! ) ���� 6�
6��)���,���� ��'(�&���� ��������'� /0��! )3$�(��*!&�/0��! )��� ��)�� '�
���������!�"� ��#����*!&�����$8�������'� /0��! ) ������ �&�� ����6��)��������
�� ��$8��� ����� �!!������'�) *���36�$�� ����$�'( ���!6��)���2�2(���� �� ��&!
� 5�? �+-#� 5�? ��&!6�'(�&���� $ ��7�(�&�6�'(�&���� $ ��7� �'6�'
(�&���� ����) *$ &!�*��6�'�*!&�/0��! )��� ��)�� '� ���&'�2��#�� ����
( ��3)�
65
66
�)���� ,&-� �!!������'� /0��! )������������� �������� �����
���������!�"� ��#��� ���#;� ���3������!� �2'�6�' �!! ,!�� �!!'����,&-�3��! �+
�&�*+$ ��'������&;'3�����
1.3�� �!!������'� /0��! )������������� �������� ����� �������!
�"� ��#�"5�'�) *�2)$ ��+�������&!)(�#���&�#�$� 3��
2. )��"� ��#�����(�! #� �������&!� �,#�)/���36�*!&��! ) �,#�)/���36(�&���� �! )
�(��'�! )��� $ ��&�#� �! ) � 6�6��)����'^ 6�'�*!&��! )��� ��)�� '�
3. �) *����$�����6��)��(�&���� $ ��&�#� /0��! )�&�3�� �(��'������'�
/0��! )������������� �������� ����� ����*!&�/0��! )��� ��)�� '�
�)����2 �!!���3��3$�23$����'��������+�)����������$8�!+��� 7���)(�#���&�
#�$� �2��� 6 �����������3���2� $ ��)#� �!!,!��������)���),5',����� ��&!)� ���
)���),5',������ ���'� �6���� �!!)���)�����3)��+�'�� )�����+� �'�')3����� 6&;����
� �6����'��$8� �!! � ���(�� ���! )�� �!!�) *���(3��'�� � � ��$ ��&�#�6�
&!� �! )�23��'�� ���� ����2�� ���! )�2�(�3�� &!$ ������)�
�����!�����
��� ,&-� �!!������'� /0��! )������������� ��������
����� ���������!�"� ��#� 3��,!$��(����+$� ��&'��;
1. � ,&-��$ �� )*�)�� �,#�)q|���( ��)���)���'� ���!�&�?<�6��)���,#�)��#)�
���36��)���)�+�'�������'�����')���)*�����'� '�&� �(��'�*!&�����$8�������'�
/0��! )�&!�*!&�/0��! )��� ��)�� '�
2. � ! #( �&�� 6��)��(�&���� ������6�'������'� /0��! )������������
� �������� ����� ����,#�))�65;�
�(��������
��� �2 �!!������'� /0��! )������������� �������� ����� ���
���!�"� ��#�3$�2� ,&-�������������,&-��� �� #)��$ �������' ^ �&'��;
1. �� �,#�)������� �&�� �&! �!!������'� /0��! )������������� ����
���� ����� ������'������6�'6��)�����)��2���)�65;�
2. � ����!!������� �(��2����2(�&���� ����� �! )
67
��2��:���
4�/�<� \&� �&� �+6���. Web Services abc [���3���]. �6�*5'�)��� 8 �)?�� 2549. �6�*5'3����
http://wsiam.com/document/abcwebservices/webservicesabc.jsp
����&� ('?��+)��� ����'���&� �+� <����# #. �#�3"�� ASP.NET \!&!�)!� <� .
� +'��,)(�� : �$ �#�&��, 2546.
%�, �#���. ���)���2&,����),#���� �.� +'��,)(�� : ! #?&� ���.,�."�., #;��#;' �2�&�, 2547.
)(�#���&���?� �� �. ��'� ���(�����. �2�&�'��%#� !��. )� ]��2(���2�(��'
[���3���]. 6�*5'�)��� 6 )���) 2549. �6�*5'3���� http://person.ku.ac.th/sajja/html/
pstand-B.html
�#� �,#�)� &,�� ����#� ��� �&�)��. ��) ���!�;�'����������&!��),#���� �������������
� ����. � +'��,)(�� : �$ �#�&��, 2548.
�#�#� �����+�. � /0��! ). � +'��,)(�� : ����(�&'����+¢�'� <�)(�#���&�, 2537.
+7�&� �&),�#�. �6���������'�7? XML \!&!�$ �� )�)� �. ���!+ � : �#��q�, �, 2544.
����/0��! )������. �,#�)�����3��� [���3���]. �6�*5'�)��� 6 )���) 2006. �6�*5'3����
http:// ite.nectec.or.th/modules.php?.name=News&file=categories&op=newindex
of catid=5
�)�5� �� ���. “Web Services the Next Generation of Web.” ���� $ ���!� ! ��.
14-15 �+)7,&�%� 2545
� �+% ���� ���+�. *�� (&� .NET + Web Services. � +'��,)(�� : ! #?&� �#���; � +�$ �2�&�,
2544.
�&��# ��� � �����'���� ��)#7&��#�. � $ ���!�&�6�'���!�"� ��#����'�&���)&�#���������
���#��&��� #�5) [���3���]. �6�*5'�)��� 8 �)?�� 2549. �6�*5'3���� http://
cs.tu.ac.th/tucs/th/knowledge_abstract_thesis1.html
�2�&�/0��! )���,&-�� &,�� !+��� )(�#���&����������)(�� . $�#�#�� �&�
�� '� /0��! )!+���7���� $ ��2$> 2548 [���3���]. �6�*5'�)��� 6 )���) 2549.
�6�*5'3���� http:// training.mut.ac.th/course2548
Job Application Thailand. �2'��������? [���3���]. �6�*5'�)��� 6 )���) 2549. �6�*5'3����
http:// appjob.com/searchjobbytypejob.php?gid=000024
68
|.�+������
D.Fensel and C.Bussler. The Web Service Modeling Framework WSMF. Vrije Universiteit
Amsterdam (VU) And Oracle Corporation. [Online]. Access 22 August 2006.
http://www.wsmo.org/papers/publications/wsmf.paper.pdf
Akkiraju, Rama and Others. A Framework for Facilitating Dynamic e-Business Via Web
Services. [Online]. Access 22 August 2006.
http://www.research.ibm.com/coopDS/ooPSLA2001.pdf
W3C. Web Services Architecture. W3C Working Draft 14 November 2002. [Online].Access 26
December 2006. http://www.w3.org/TR/ws-arch/
69
|�_���
70
|�_��� � �̀+�]���&'(��)������
71
URL http:// IP /Trainingcenter/
32
32
“ ”
72
33
“”
73
34
“ ”
74
35
“ ” 36
36
37
75
37
2
37 “”
76
38
, , ,
“ ”
“ ” 37 38
39
77
39
“ ” “” “ ”
“ ”
78
40
41
79
37
“ ”
42
80
43
Scroll bar
44
81
44
44 “OK”
43
“ ”
45
45
45 “ ”
“—“
82
37
“ ”
46
“ ” 47
83
47
47
scroll bar
“ ”
32
84
32
48
48
login password
49
85
49
49
“ ” 50
50
86
50
“ ”
51
87
/
49
“ ” 52
52
52
“ ”
88
/
49 “” 53
53 /
53
“ ”
89
/
49
“ ” 54
54 /
54
“ ”
90
/
49 /
“ ” 55
55 /
55
“ ”
91
49
“ ” 56
56
56
“
”
92
49
“ ” 57
57
57
“ ”“ ”
“ ”
93
49
“ ” 58
58
( )
94
Run
59
59
“Web service” 60
95
60
60 OK “” 61
61
96
/
Local
62
62
62 OK 63
63
Yes
No
Yes 64
97
64 server
65
65
98
/
“ / ”ok / 66
66 /
“ Local” 62
OK 62 63
99
37
::
WebMethod
addTrainingHouse(HouseName) ,
(Location),
(TelephoneNumber),
(WebSiteURL)
/
DataTablereqCourseMainCategory -
Application
- (CourseMainCategoryID)
-(CourseMainCategory)
- DataTablerepCourseSkillLevel -
Application
-
(CourseSkillLevelID)
-
(CourseSkillLevel)
- (CourseSkillWeight)
100
reqCourseStatus -
Application
-
(CourseStatusID)
-
(CourseStatus)
-
reqCourseSubCategory
Application
-
(CourseSubCategoryID)
-
(CourseSubCategory)
-
reqEdlev
Application
-
- (EdlevID)
- (EdlevTxt)
-
reqUpdateTrainingCourse -
/
CourseID
(TrainingHouseID)
-
TrainingHouse
(SecurityKey)
-
CourseID -1
CourseID
CourseID Webservice
102
|�_��� � �$���� $*��6�3�)������
103
�$���� $*��6�3�)������
��6�3�����̀�$"�����z{�����*(����)�)�$ ������������]����
��6�3�)������
,&-�����7? ASP.Net 6�' Microsoft Visual Studio .NET Version 2005 ������
Microsoft SQL Server2005 ��� �&�� 6��)�� ����������$8� �!!������' ���3)�� "�q��
����"��&����!6��)�� ����������$8��*!&�/0��! )����^ "5�'$ ���!�����$ �� )��'^ �&'��;
)������&��+�� TrainingCenter
1. � �6����(��� �
�$ �� )���� Default.aspx
�&�*+$ ��'�� �,����(�����6���� �!!�2� $��� �����#� ��� (&���� ����2� � ����!�&!
6��)����������]�6��)�� �,����6����'� *��$8�����������6�����$8�� &;'� ������'�2
� �'���!�������6���� �����������$+�)� ��6��)���,����'���!���
6��)���6� �����#� (username) ��� (&���� (Password) ( ��� ����� $+�)� ��6��)���,���
�'���!���
���&,%����3�� - ��� <��������6����$��� �����#���� (&���� �$ �� )���2� � ����!
6��)�����$����&!6��)�����!�������6���� *� 3)�� '�&!]�6��)�������'6����)
�2 “�����#�3)����” *�6��)��*�����'���6����(����� �6���� �!!���)����!�(�
�������� $ ��&�#� �6��! ) �!!� ����2�� ���! ) ��� ���(�� ���
! )�� �!!
- ��� <��������6�����$8�� &;'� ������ “� ��6��)���,����'���!���” ��$ ��
(�����(�������� ��6��)���,����'���!����6����
2. � �'���!�������6���� �!!
�$ �� )���� SignUp.aspx
�&�*+$ ��'�� �,����(�����6���� �!!�'���!������ �!!������$8�(���� &!6��)��
���������!�;�'���6�'������ �)�&;'�2(��������������� (&���� ���������
104
6��)���6� ��6$ ��2�&�$ ���� (CitizenId) �2�2(������ (PreN) ���� (Fname)
�)��+�(Lname) �&������$>��#� (BirthDate) ��&!� 5�? (EdlevId) �+-#
� 5�? (EddescId ) �&�?���� �����),#���� � (Computer Skill) ���
�2(������������ (UserName) ��� (&���� (UserPassword) �������&� (&����
���&,%����3�� )�� !&��5�6��)��� �'���!����'� ' UserReg *���������#����$+�)
!&��5�6��)��� �'���!��� ���� � �� ��������� !*����)!� <� ������
$+�)”� ��6��)���,����'���!���” ���$������$8� “��&!3$(��� �”
3. (�������'$ ��&�#� �! )6�'������
�$ �� )���� CourseHistory.aspx
�&�*+$ ��'�� �,������'$ ��&�#� �! )6�'������ < 6��)��$���+!&���� �!!)�����
6��)���6� 3)�)�
���&,%����3�� ���������� '� ���3������ �! )���� $ ���!���� ������ '�
���������� '� �*����/0��! ) $ ��7�(�&�6�'�� '� $ ��7� �'
6�'�� '� ��&!6�'�� '�
4. � $���6��)��(�&���� �������! )6�'������
�$ �� )���� EditCourseHistory.aspx
�&�*+$ ��'�� �,����,#�)$ ��&�#� �! )6�'������ ����) *�����3�� 2 �!!��� � �,#�)$ ��&�#
����� � ��6��)����'6�'������ ( �� �,#�)$ ��&�#�! )������6��)��� �! )�� �!!
6��)���6� �������) *�����3���� 2 $+�)����,#�)$ ��&�#� �! )����6��)��� ����'
(EditTrainCourse) ��� �,#�)��#)$ ��&�#� �! )������6��)��� �! )�� �!!
(SelectCourseHistory)
���&,%����3�� *���������#��)�����$+�) “�,#�)$ ��&�#� �! )����6��)��� ����'” ���6����(����
6�'�$ �� ) EditTrainCourse.aspx *�������������,#�)��#)$ ��&�#� �! )���
���6��)��� �! )�� �!! ���6����(����6�'�$ �� )
SelectCourseHistory.aspx
105
5. � �,#�)��#)$ ��&�#� �! )����6��)��� ����'
�$ �� )���� EditTrainCourse.aspx
�&�*+$ ��'�� �,����(�������$���6��)��$ ��&�#� �! )��������'������(�&���� ����������
�! )3)�)��� �!! ����) *!&��5�6��)���'��]�6��)��$ ��&�#� �! )
6��)���6� ����(�&���� � �! ) ��������6�'� �! ) $ ��7�6�'�� '� �! )
��� ��&!6�'(�&���� ����! ) (,�;�]� ��' ��' ( �� ��&!)�����, )
���&,%����3�� *�������� ��6��)��� !*��������#����$+�)!&��5�6��)�� 6��)����*��!&��5����� '
$ ��&�#� �! )��]�6��)��������'� /0��! )
�$ �� )���� SelectCourseHistory.aspx
�&�*+$ ��'�� �,����(�������$���6��)��$ ��&�#� �! )������(�&���� ���������� �! ))���
�!!�������� ����) *!&��5�6��)���'��]�6��)��$ ��&�#� �! )
6��)���6� �������) *������*!&�����&�/0��! ) �)���������*!&���$ ���� '� �! )
6�'�*!&��������� ���&;��(������(�&���� �������! )����2�)��3$��#����$+�)
�����(��(�&���� ������'� �� ��������#����$+�) “3������ �! )���#���������
����”
���&,%����3�� *�������������*!&����(������$ �� ���������� '� �! )�&'��; ����
�� '� �������� �������� �*�����&�/0��! ) $ ��7�(�&�6�'(�&����
$ ��7� �'6�'(�&���� ��&!6�'(�&���� �+<�+-#6&;���2 ��+ �&����$ &!$ +'
6��)�� *�������� ��6��)��� !*��������#����$+�)3������ �! )���#���������
���� 6��)����*��!&��5����� '$ ��&�#� �! )��]�6��)��������'�
/0��! )
7. � ���'6������2(�&���� ����� �! )
�$ �� )���� CourseRecomendation.aspx
�&�*+$ ��'�� �,������' ��������(�&���� ( ���� '� �! )����������&'3)�����! ) �� '�
�! )�� ��&!���(�� �� '� �! )�������!����&!�� '� �! )�������! )
106
6��)���6� (���������' ��������� ���'6������2(�&���� ����� �! ) ������)���
��������#���������$+�) “ �!!� ����2�� ���! )”
���&,%����3�� (��� ������'(�&���� ( ���� '� �! )����������&'3)�����! ) �� '�
�! )�� ��&!���(�� �� '� �! )�������!����&!�� '� �! )�������! )
���� �� '� �! )�����2����� '� �������! )���� ����� '� �! )��
$ ��7�����^ �������(������� '� ���3�� &!� �! )���� ��������'
���������&'��;��������� '� ���������� '� �������� �*����/0��! )
$ ��7�(�&�6�'�� '� $ ��7� �'6�'�� '� ��&!6�'�� '� �+-#
� 5�?6&;���2 ��+6&;���2 �&�������$ &!$ +'6��)��
8. � ���((�&����
�$ �� )���� CourseSearch.aspx
�&�*+$ ��'�� �,����(��������) *���((�&���� ������'� �)�� '� $ ��7� �*����
/0��! ) ( �� �) ��&!�������
6��)���6� ������ '� $ ��7�6�'�� '� (!�(������)��(�������&;'$ ��7�(�&����
$ ��7� �') �*����/0��! ) ��&!6�'�� '� �! ) ��� �������
�� '� �! )
���&,%����3�� ����(�&���� ��� ����������'^ 6�'(�&���� ���� '�&!�'����36����2� ���(
3����� �������� �*����/0��! ) $ ��7�(�&�6�'�� '� $ ��7� �'6�'
�� '� ��&!6�'�� '� �+-#� 5�?6&;���2 ��+6&;���2 �&�������$ &!$ +'
6��)�� (��������'�)���(�5�'�*����(�5�'(�&���� )
9. � ���' ��������(�&����
�$ �� )���� CourseView.aspx
�&�*+$ ��'�� �,������' ��������6�'(�&���� ���3����� ���( "5�'�����'�)�����������#����
�$7,(������(�&���� �! )
6��)���6� 3)�)�
107
���&,%����3�� ��������6�'(�&���� �����������#���� �$7,���(��(�&���� �&;���������'
�� �$�!!6�'(����'����+�65;�)�,����(��(�� ���������&;'()�6�'(�&���� �&;�
10. � ����2(�&���� ��(�&���� ���������� �! )����
�$ �� )���� CourseSuggestionCalculator.vb
�&�*+$ ��'�� �,����2� $ �)����������������� �! )(�&���� ��3 )����
���(�&���� ��3 ����&'3)�����6� &!� �! )
6��)���6� 3)�)�
���&,%����3�� (��� ������'(�&���� ( ���� '� �! )����������&'3)�����! )
�� '� �! )�� ��&!���(�� �� '� �! )�������!����&!�� '�
�! )�������! )���� �� '� �! )�����2����� '� �������! )����
����� '� �! )��$ ��7�����^ �������(������� '� ���3�� &!
� �! )���� ��������' ���������&'��;��������� '� ��������
�� '� �������� �*����/0��! ) $ ��7�(�&�6�'�� '� $ ��7�
�'6�'�� '� ��&!6�'�� '� �+-#� 5�?6&;���2 ��+6&;���2 �&�
������$ &!$ +'6��)��
)������&��+�� TrainingHouse
�������*!&���� ��)�� '� ��� �� ���')����� Microsoft Visual Studio.NET Version
2005 ������]�6��)�� Microsoft Access 7?������,&-���� Visual Basic
11. (��(�&�6�' ��,�#���&��6�'����/0��! )
�$ �� )���� MainForm.vb
�&�*+$ ��'�� �,����$8�(��(�&�6�'�*!&�/0��! )��� ��)�� '� ������'
��������6�'�*!&� ��������(�&���� ����*!&��$|�����) *
�,#�)(�&���� ���36(�&���� ����!&��5��']�6��)��6�'�*!&������'
6��)��3$���36��� Server 6�'������'� /0��! )
���&,%����3�� (���������' �������������*!&� ������� �!� ��� &,�� ��������
(�&���� 3����� (&�(�&���� ����(�&���� ��������(�&���� �
108
(�&���� ,�;�]�����6�'(�&���� $ ��7�(�&� $ ��7����� ��&!
6�'(�&���� ��) ��,�;�]� ��+ �*��6�'(�&���� (�����) *
�'���!��� 3)��) *�'���!��� ����#��� �� �#;��+�$|��� �6��)���&'
3)�3��*���'���!���3$�&'Server 6��)��*���'���!���3$Server ����
6��)���&'3)�3��$ &!$ +'��� Server 6��)��$ &!$ +'��� Server ����)
12. � �&�� ��� #�)���6�' Project
�$ �� )���� ConfigurationModule.vb
�&�*+$ ��'�� �,����2(����� #�)6�'�������6�' Webservice �����)�� ��'*5'
�2(��� ��'�#']�6��)�� ��������� (���'��� �,��� &!
response �� web service
13. �������� ���������!�"� ��#��� �!!������'� /0��! )
�$ �� )���� wserviceTrainingHouse.vb
�&�*+$ ��'�� �,���$ �����!�"� ��#����)��(�! #� �� Server 6�' �!!������'
���)� �����$ �� )���)�� ��'6�����"� ��#����� �"� ��#��,#�)( ��
���36����/0��! ) (TrainingHouse) �"� ��#�� �������#�(�&�6�'
(�&���� (Main Category) � �������#�����6�'(�&���� (Subcategory)
� ����� ��&!6�'(�&���� (CourseSkill) � ������+-#� 5�?6&;���26�'
(�&���� � ������*��6�'(�&���� � �������"� ��#��,#�)/���36(�&����
�����)�� &!�������'��&!���"� ��#����)�� � ���
6��)���6� 3)�)�
���&,%����3�� � �!��� ��� � ���������!�"� ��#���������'� �! )
14. ��������$8�(��� �'/���36�� '� �! )6�'����/0��! )
�$ �� )���� frm_NewCourse.vb
�&�*+$ ��'�� �,���� �'/���36�� '� �! )�������/0��! )����2� !&��5��'
]�6��)��6�'�*!&������'�� '� 3$�&' Server 6�' �!!������'
� /0��! )������'
6��)���6� ������ '� �! ) ���������� '� �������� ,�;�]���� ���'�
109
��),#���� � $ ��7�(�&�6�'�� '� (���'�������'�&!$ ��7����)�
������������' ���� ��+�)���'��'���%+ �#� ��+�)���� qq|� ��+�)
� ���'�!����! ��+�)�����������) $ ��7�����6�'�� '� ��&!
(�&���� � 5�?6&;���2 � �2(����+6�'����6��! )
���&,%����3�� *��2� �,#�)( �����36�� '� �! )�2� �������$+�)�(�)�� !&��5�
6��)��6��)��(�&���� ��*��!&��5��'��]�6��)��
TrainingHouseDB.MDB ���*����������'� �2� $ &!$ +'(�&���� 3$
����"# �q��� �������'���� �������"� ��#���� $ &!$ +'(�&���� *�3)�
)�6���#�,�� �!!���2� $ &!$ +'(�&���� ���������'�(�����
110
|�_��� � ���������6]������#�$
111
���������6]������#�$
������ ������������ ������������������������� ����������������������� !"��#$�%���#&�
--------------------------------
�2��;��'��� ��!�!!��!*)
1. �!!��!*)��;)���))+�'()������5�?��),5',���6�'������! #� �.������"�#�������
$%���� &�����'�'�(�������)������������ �,����2��� �#�&�3$����$8�6��)��,�;�]�
�2( &!� ,&-� �!!�(�)�$ ��#�%#7,���3$
2. �!!��!*)�+���;�!�'����$8� 3 ��� ���
������ 1 6��)���&��3$ 6�'�����!�!!��!*) �2��� 3 6��
������ 2 ��)�#��(���������&!�����"�#�������$%���� &�����'�'�(�������)��
����������
6D���� 5 1��
������ 3 �2*)$���$|� �$8�6����������,#�)��#)�������&!� �*������������"�#����
���$%���� &���
��'�'�(�������)������������ �2��� 1 6��
����#�&�(�&'�$8����'�#�'����3�� &!��) ��))��������$8����'�� �5'6�6�!�+<
) < ������;�$8����'��'����
����%#� ����,������
�&�5�?�6�#��#��� ��),#���� �
)(�#���&�#�$�
112
���������6]������#�$
������ ������������ ������������������������� ����������������������� !"��#$�%���#&�
--------------------------------
���� � 1 �(��̀�����,� ���_`(�����������
��' %�#� �$ ���#)�2�'�����'��' ( ���2�� ���'()� � �'�� ( ) �)��)�$8�� #'
1. �, ( ) �� ( ) (�#'
2. ��� ( ) ��D���.� 25 �̀ ( ) 25 - 35 �̀
( ) 36 - 46 $> ( ) 46 $> 65;�3$
3. ��&!� 5�? ( ) ��+$ #�� ( ) $ #��� � �����'���
���� � 2 �����*��4��� �$�������� ������������������������� ���������������������
��' %�#� �$ ����'��)�#��(�����6����)��' ^ ����6����� ���'()� � �'�����'���� '�&!
��)�#��(��6�'���
��&!��)�#��(��
6��
��)�#��(���������&!�����"�#�������$%���� &���
��'�'�(�������)������������
�(��
����
)�
����+�
5
�(��
����
)�
4
�(��
����
$�
��'
3
�(��
����
����
2
�(��
����
����
����+�
1
�2( &!
����#�&�
� �6���� �!!)���)�����3)��+�'��…...…………….. 1. ….. ….. ….. ….. ….. 6
2. 6&;������� �6����'� �$8� �!!………………..…… ….. ….. ….. ….. ….. 7
3. � � ��$ ��&�#�6� &!� �! ) �) *�23��'��……. ….. ….. ….. ….. ….. 8
4. � ����2�� ���! ) �2�(����3�� &!$ ������)�… ….. ….. ….. ….. ….. 9
5. � ���(�� ���! )���� �!! �) *���(3��'�� ….. ….. ….. ….. ….. 10
113
���� � 3 �(���������6��������� �$������!"��&������� ������������������������� ���������������������
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
114
�������_`(��#�$
���� - ��+� ����%#� ����,������
������� 80 *.��?� �#� ".��?� �#� �.�2,� �.�)��' �.�� $]) 73000
�� &,�� (034)219148
$ ��&�#� 5�?
,..2530 �2� ��� 5�?�#���� !&<=#� �#�����6�#��� ��),#���� �
��)(�#���&�����'�()�
,..2546 5�?��� ��&!$ #��#���� )(!&<=#��6�#�����),#���� �
!&<=#��#���&� )(�#���&�#�$�
$ ��&�#� �2'�
,..2532 ���(����� �!!'���),#���� � ������),#���� � )(�#���&�
#�$�
,..2539 �&��#�� ��),#���� � ������),#���� � )(�#���&�#�$�