Web Services in.net (7)
|
|
- Laurence Davidson
- 6 years ago
- Views:
Transcription
1 Web Services in.net (7) These slides are meant to be for teaching purposes only and only for the students that are registered in CSE4413 and should not be published as a book or in any form of commercial product, unless written permission is obtained. 1
2 Win app code structure The web service incorporated into our application. The win app Form. 2
3 The web service class Service1 and the supporting classes Date, Employee, Manager. 3
4 The properties exposed from the supporting classes. 4
5 The exposed WebMethods. 5
6 The code (Form1.cs) using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace WindowsApplication1 { /// <summary> /// Summary description for Form1. /// </summary> public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Button button3; private System.Windows.Forms.Label label3; private System.Windows.Forms.Button button4; private System.Windows.Forms.Label label4; /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null; 6
7 public Form1() { InitializeComponent(); protected override void Dispose( bool disposing ) { if( disposing ) { if (components!= null) { components.dispose(); base.dispose( disposing ); // #region Windows Form Designer generated code private void InitializeComponent() { #endregion /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.Run(new Form1()); 7
8 private EmployeeManagerDateService.Service1 myws ; private void button1_click(object sender, System.EventArgs e) { myws = new EmployeeManagerDateService.Service1(); // EmployeeManagerDateService.Date dob = myws.makedate(1985,12, 23);// new EmployeeManagerDateService.Date(); /* alternatively call Date() and then do: dob.year = 1985; dob.month = 12; dob.day = 23; */ EmployeeManagerDateService.Employee ee = myws.makeemployee( "Joe Doe", 11111, myws.makedate(1985,12, 23)); label1.text = myws.tostringemployee( ee); /* alternatively... * label1.text = "Name = " + ee.name; label1.text += " Salary = " + ee.salary; label1.text += " DOB = " + myws.tostringdate( ee.dob); label1.text += " DOB year = " + ee.dob.year; label1.text += " month = " + ee.dob.month; label1.text += " day = " + ee.dob.day; */ 8
9 private void button2_click(object sender, System.EventArgs e) { myws = new EmployeeManagerDateService.Service1(); EmployeeManagerDateService.Date dob = new EmployeeManagerDateService.Date(); dob.year = 1979; dob.month = 1; dob.day = 23; EmployeeManagerDateService.Manager mm = myws.makemanager( "Joe Doe II", 22222, dob, 500); label2.text = myws.tostringmanager( mm); /*alternatively... label2.text = "Name = " + mm.name + ", Salary = " + mm.salary + ", DOB.Year = " + mm.dob.year + ", DOB.Month = " + mm.dob.month + ", DOB.Day = " + mm.dob.day + ", Bonus = " + mm.bonus; */ 9
10 / private void button3_click(object sender, System.EventArgs e) { myws = new EmployeeManagerDateService.Service1(); EmployeeManagerDateService.Employee ee = myws.makeemployee( "Joe Doe", 10000, myws.makedate(1985,12, 23)); label3.text = myws.tostringemployee( ee); // alternative... but not very good //ee.salary = ee.salary * ( /100); ee = myws.raiseemployeesalary( ee, 20); label3.text += "---- new :: " + myws.tostringemployee( ee); private void button4_click(object sender, System.EventArgs e) { myws = new EmployeeManagerDateService.Service1(); EmployeeManagerDateService.Manager mm = myws.makemanager( "Joe Doe II", 20000, myws.makedate(1985,12, 23), 500); label4.text = myws.tostringmanager( mm); mm = myws.raisemanagersalary( mm, 20); label4.text += "---- new :: " + myws.tostringmanager( mm); 10
11 Reference.cs (the glue code) // // <autogenerated> // This code was generated by a tool. // Runtime Version: // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerated> // // // This source code was auto-generated by Microsoft.VSDesigner, Version // namespace WindowsApplication1.EmployeeManagerDateService { using System.Diagnostics; using System.Xml.Serialization; using System; using System.Web.Services.Protocols; using System.ComponentModel; using System.Web.Services; 11
12 [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="Service1Soap", Namespace=" public class Service1 : System.Web.Services.Protocols.SoapHttpClientProtocol { public Service1() { this.url = " [System.Web.Services.Protocols.SoapDocumentMethodAttribute(" loyee", RequestNamespace=" ResponseNamespace=" Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public Employee MakeEmployee(string name, System.Double salary, Date dob) { object[] results = this.invoke("makeemployee", new object[] { name, salary, dob); return ((Employee)(results[0])); 12
13 public System.IAsyncResult BeginMakeEmployee(string name, System.Double salary, Date dob, System.AsyncCallback callback, object asyncstate) { return this.begininvoke("makeemployee", new object[] { name, salary, dob, callback, asyncstate); public Employee EndMakeEmployee(System.IAsyncResult asyncresult) { object[] results = this.endinvoke(asyncresult); return ((Employee)(results[0])); [System.Web.Services.Protocols.SoapDocumentMethodAttribute(" ager", RequestNamespace=" ResponseNamespace=" Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public Manager MakeManager(string name, System.Double salary, Date dob, System.Double bonus) { object[] results = this.invoke("makemanager", new object[] { name, salary, dob, bonus); return ((Manager)(results[0])); 13
14 public System.IAsyncResult BeginMakeManager(string name, System.Double salary, Date dob, System.Double bonus, System.AsyncCallback callback, object asyncstate) { return this.begininvoke("makemanager", new object[] { name, salary, dob, bonus, callback, asyncstate); public Manager EndMakeManager(System.IAsyncResult asyncresult) { object[] results = this.endinvoke(asyncresult); return ((Manager)(results[0])); [System.Web.Services.Protocols.SoapDocumentMethodAttribute(" gemployee", RequestNamespace=" ResponseNamespace=" Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string ToStringEmployee(Employee e) { object[] results = this.invoke("tostringemployee", new object[] { e); return ((string)(results[0])); public System.IAsyncResult BeginToStringEmployee(Employee e, System.AsyncCallback callback, object asyncstate) { return this.begininvoke("tostringemployee", new object[] { e, callback, asyncstate); 14
15 public string EndToStringEmployee(System.IAsyncResult asyncresult) { object[] results = this.endinvoke(asyncresult); return ((string)(results[0])); [System.Web.Services.Protocols.SoapDocumentMethodAttribute(" Manager", RequestNamespace=" ResponseNamespace=" Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string ToStringManager(Manager m) { object[] results = this.invoke("tostringmanager", new object[] { m); return ((string)(results[0])); public System.IAsyncResult BeginToStringManager(Manager m, System.AsyncCallback callback, object asyncstate) { return this.begininvoke("tostringmanager", new object[] { m, callback, asyncstate); public string EndToStringManager(System.IAsyncResult asyncresult) { object[] results = this.endinvoke(asyncresult); return ((string)(results[0])); 15
16 [System.Web.Services.Protocols.SoapDocumentMethodAttribute(" ", RequestNamespace=" ResponseNamespace=" Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string ToStringDate(Date dd) { object[] results = this.invoke("tostringdate", new object[] { dd); return ((string)(results[0])); public System.IAsyncResult BeginToStringDate(Date dd, System.AsyncCallback callback, object asyncstate) { return this.begininvoke("tostringdate", new object[] { dd, callback, asyncstate); public string EndToStringDate(System.IAsyncResult asyncresult) { object[] results = this.endinvoke(asyncresult); return ((string)(results[0])); [System.Web.Services.Protocols.SoapDocumentMethodAttribute(" ", RequestNamespace=" ResponseNamespace=" Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public Date MakeDate(int year, int month, int day) { object[] results = this.invoke("makedate", new object[] { year, month, day); return ((Date)(results[0])); 16
17 public System.IAsyncResult BeginMakeDate(int year, int month, int day, System.AsyncCallback callback, object asyncstate) { return this.begininvoke("makedate", new object[] { year, month, day, callback, asyncstate); public Date EndMakeDate(System.IAsyncResult asyncresult) { object[] results = this.endinvoke(asyncresult); return ((Date)(results[0])); [System.Web.Services.Protocols.SoapDocumentMethodAttribute(" loyeesalary", RequestNamespace=" ResponseNamespace=" Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public Employee RaiseEmployeeSalary(Employee ee, System.Double percent) { object[] results = this.invoke("raiseemployeesalary", new object[] { ee, percent); return ((Employee)(results[0])); 17
18 public System.IAsyncResult BeginRaiseEmployeeSalary(Employee ee, System.Double percent, System.AsyncCallback callback, object asyncstate) { return this.begininvoke("raiseemployeesalary", new object[] { ee, percent, callback, asyncstate); public Employee EndRaiseEmployeeSalary(System.IAsyncResult asyncresult) { object[] results = this.endinvoke(asyncresult); return ((Employee)(results[0])); [System.Web.Services.Protocols.SoapDocumentMethodAttribute(" gersalary", RequestNamespace=" ResponseNamespace=" Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public Manager RaiseManagerSalary(Manager mm, System.Double percent) { object[] results = this.invoke("raisemanagersalary", new object[] { mm, percent); return ((Manager)(results[0])); public System.IAsyncResult BeginRaiseManagerSalary(Manager mm, System.Double percent, System.AsyncCallback callback, object asyncstate) { return this.begininvoke("raisemanagersalary", new object[] { mm, percent, callback, asyncstate); 18
19 public Manager EndRaiseManagerSalary(System.IAsyncResult asyncresult) { object[] results = this.endinvoke(asyncresult); return ((Manager)(results[0])); [System.Xml.Serialization.XmlTypeAttribute(Namespace=" public class Date { public int Year; public int Month; public int Day; [System.Xml.Serialization.XmlTypeAttribute(Namespace=" [System.Xml.Serialization.XmlIncludeAttribute(typeof(Manager))] public class Employee { public string Name; public System.Double Salary; public Date DOB; 19
20 / [System.Xml.Serialization.XmlTypeAttribut e(namespace=" public class Manager : Employee { public System.Double Bonus; 20
21 WSDL MakeEmployee web method. <?xml version="1.0" encoding="utf-8"?> - <definitions xmlns:http=" xmlns:soap=" xmlns:s=" xmlns:s0=" xmlns:soapenc=" xmlns:tm=" xmlns:mime=" targetnamespace=" xmlns=" - <types> - <s:schema elementformdefault="qualified" targetnamespace=" - <s:element name="makeemployee"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="name" type="s:string" /> <s:element minoccurs="1" maxoccurs="1" name="salary" type="s:double" /> <s:element minoccurs="0" maxoccurs="1" name="dob" type="s0:date" /> </s:sequence> </s:complextype> </s:element> - <s:complextype name="date"> - <s:sequence> <s:element minoccurs="1" maxoccurs="1" name="year" type="s:int" /> <s:element minoccurs="1" maxoccurs="1" name="month" type="s:int" /> <s:element minoccurs="1" maxoccurs="1" name="day" type="s:int" /> </s:sequence> </s:complextype> - Definition of class Date. 21
22 <s:element name="makeemployeeresponse"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="makeemployeeresult" type="s0:employee" /> </s:sequence> </s:complextype> </s:element> Definition of class Employee. - <s:complextype name="employee"> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="name" type="s:string" /> <s:element minoccurs="1" maxoccurs="1" name="salary" type="s:double" /> <s:element minoccurs="0" maxoccurs="1" name="dob" type="s0:date" /> </s:sequence> </s:complextype> - <s:element name="makemanager"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="name" type="s:string" /> <s:element minoccurs="1" maxoccurs="1" name="salary" type="s:double" /> <s:element minoccurs="0" maxoccurs="1" name="dob" type="s0:date" /> <s:element minoccurs="1" maxoccurs="1" name="bonus" type="s:double" /> </s:sequence> </s:complextype> </s:element> - <s:element name="makemanagerresponse"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="makemanagerresult" type="s0:manager" /> </s:sequence> </s:complextype> </s:element> MakeManager web method 22
23 - <s:complextype name="manager"> - <s:complexcontent mixed="false"> - <s:extension base="s0:employee"> - <s:sequence> <s:element minoccurs="1" maxoccurs="1" name="bonus" type="s:double" /> </s:sequence> </s:extension> </s:complexcontent> </s:complextype> - <s:element name="tostringemployee"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="e" type="s0:employee" /> </s:sequence> </s:complextype> </s:element> - <s:element name="tostringemployeeresponse"> - <s:complextype> - <s:sequence> Definition of class Manager as subclass of Employee. <s:element minoccurs="0" maxoccurs="1" name="tostringemployeeresult" type="s:string" /> </s:sequence> </s:complextype> </s:element> - <s:element name="tostringmanager"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="m" type="s0:manager" /> </s:sequence> </s:complextype> </s:element> 23
24 - <s:element name="tostringmanagerresponse"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="tostringmanagerresult" type="s:string" /> </s:sequence> </s:complextype> </s:element> - <s:element name="tostringdate"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="dd" type="s0:date" /> </s:sequence> </s:complextype> </s:element> - <s:element name="tostringdateresponse"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="tostringdateresult" type="s:string" /> </s:sequence> </s:complextype> </s:element> - <s:element name="makedate"> - <s:complextype> - <s:sequence> <s:element minoccurs="1" maxoccurs="1" name="year" type="s:int" /> <s:element minoccurs="1" maxoccurs="1" name="month" type="s:int" /> <s:element minoccurs="1" maxoccurs="1" name="day" type="s:int" /> </s:sequence> </s:complextype> </s:element> 24
25 - <s:element name="makedateresponse"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="makedateresult" type="s0:date" /> </s:sequence> </s:complextype> </s:element> - <s:element name="raiseemployeesalary"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="ee" type="s0:employee" /> <s:element minoccurs="1" maxoccurs="1" name="percent" type="s:double" /> </s:sequence> </s:complextype> </s:element> - <s:element name="raiseemployeesalaryresponse"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="raiseemployeesalaryresult" type="s0:employee" /> </s:sequence> </s:complextype> </s:element> - <s:element name="raisemanagersalary"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="mm" type="s0:manager" /> <s:element minoccurs="1" maxoccurs="1" name="percent" type="s:double" /> </s:sequence> </s:complextype> </s:element> 25
26 - <s:element name="raisemanagersalaryresponse"> - <s:complextype> - <s:sequence> <s:element minoccurs="0" maxoccurs="1" name="raisemanagersalaryresult" type="s0:manager" /> </s:sequence> </s:complextype> </s:element> </s:schema> </types> - <message name="makeemployeesoapin"> <part name="parameters" element="s0:makeemployee" /> </message> - <message name="makeemployeesoapout"> <part name="parameters" element="s0:makeemployeeresponse" /> </message> - <message name="makemanagersoapin"> <part name="parameters" element="s0:makemanager" /> </message> - <message name="makemanagersoapout"> <part name="parameters" element="s0:makemanagerresponse" /> </message> - <message name="tostringemployeesoapin"> <part name="parameters" element="s0:tostringemployee" /> </message> - <message name="tostringemployeesoapout"> <part name="parameters" element="s0:tostringemployeeresponse" /> </message> - <message name="tostringmanagersoapin"> <part name="parameters" element="s0:tostringmanager" /> </message> 26
27 - <message name="tostringmanagersoapout"> <part name="parameters" element="s0:tostringmanagerresponse" /> </message> - <message name="tostringdatesoapin"> <part name="parameters" element="s0:tostringdate" /> </message> - <message name="tostringdatesoapout"> <part name="parameters" element="s0:tostringdateresponse" /> </message> - <message name="makedatesoapin"> <part name="parameters" element="s0:makedate" /> </message> - <message name="makedatesoapout"> <part name="parameters" element="s0:makedateresponse" /> </message> - <message name="raiseemployeesalarysoapin"> <part name="parameters" element="s0:raiseemployeesalary" /> </message> - <message name="raiseemployeesalarysoapout"> <part name="parameters" element="s0:raiseemployeesalaryresponse" /> </message> - <message name="raisemanagersalarysoapin"> <part name="parameters" element="s0:raisemanagersalary" /> </message> - <message name="raisemanagersalarysoapout"> <part name="parameters" element="s0:raisemanagersalaryresponse" /> </message> - <porttype name="service1soap"> - <operation name="makeemployee"> <documentation>make Employee with specified name and salary</documentation> <input message="s0:makeemployeesoapin" /> <output message="s0:makeemployeesoapout" /> </operation> 27
28 - <operation name="makemanager"> <documentation>make Manager with specified name, salary, bonus</documentation> <input message="s0:makemanagersoapin" /> <output message="s0:makemanagersoapout" /> </operation> - <operation name="tostringemployee"> <documentation>return a string representation of the specified Employee</documentation> <input message="s0:tostringemployeesoapin" /> <output message="s0:tostringemployeesoapout" /> </operation> - <operation name="tostringmanager"> <documentation>return a string representation of the specified Manager</documentation> <input message="s0:tostringmanagersoapin" /> <output message="s0:tostringmanagersoapout" /> </operation> - <operation name="tostringdate"> <documentation>return a string rep of the specified Date</documentation> <input message="s0:tostringdatesoapin" /> <output message="s0:tostringdatesoapout" /> </operation> - <operation name="makedate"> <documentation>returns a Date with the specified year, month, day</documentation> <input message="s0:makedatesoapin" /> <output message="s0:makedatesoapout" /> </operation> - <operation name="raiseemployeesalary"> <documentation>raise salary of the specified Employee by the specified percentage.</documentation> <input message="s0:raiseemployeesalarysoapin" /> <output message="s0:raiseemployeesalarysoapout" /> </operation> 28
29 - <operation name="raisemanagersalary"> <documentation>raise salary of the specified Manager by the specified percentage.</documentation> <input message="s0:raisemanagersalarysoapin" /> <output message="s0:raisemanagersalarysoapout" /> </operation> </porttype> - <binding name="service1soap" type="s0:service1soap"> <soap:binding transport=" style="document" /> - <operation name="makeemployee"> <soap:operation soapaction=" style="document" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> - <operation name="makemanager"> <soap:operation soapaction=" style="document" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> 29
30 - <operation name="tostringemployee"> <soap:operation soapaction=" style="document" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> - <operation name="tostringmanager"> <soap:operation soapaction=" style="document" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> - <operation name="tostringdate"> <soap:operation soapaction=" style="document" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> 30
31 - <operation name="makedate"> <soap:operation soapaction=" style="document" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> - <operation name="raiseemployeesalary"> <soap:operation soapaction=" style="document" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> - <operation name="raisemanagersalary"> <soap:operation soapaction=" style="document" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> </binding> 31
32 / - <service name="service1"> - <port name="service1soap" binding="s0:service1soap"> <soap:address location=" /> </port> </service> </definitions> 32
33 SOAPs there are two soap messages for each exposed method. SOAP Request this is the SOAP message from the consumer to the web service SOAP response this is the SOAP message from the web service to the consumer 33
34 SOAP :: MakeDate :: request (consumer to web service) POST /WebService3ClassSubclass/Service1.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: " <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <MakeDate xmlns=" <year>int</year> <month>int</month> <day>int</day> </MakeDate> </soap:body> </soap:envelope> Consumer calls MakeDate ( year, month, day) 34
35 SOAP :: MakeDate :: response (web service to consumer) HTTP/ OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <MakeDateResponse xmlns=" <MakeDateResult> <Year>int</Year> <Month>int</Month> <Day>int</Day> </MakeDateResult> </MakeDateResponse> </soap:body> </soap:envelope> Web service responds with a Date object which is sent serialized as Year, Month, Day. 35
36 SOAP :: MakeEmployee :: request POST /WebService3ClassSubclass/Service1.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: " <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <MakeEmployee xmlns=" <name>string</name> <salary>double</salary> <dob> <Year>int</Year> <Month>int</Month> <Day>int</Day> </dob> </MakeEmployee> </soap:body> </soap:envelope> Consumer calls MakeEmployee ( name, salary, dob). dob is a Date and is serialized as Year, Month, Day. 36
37 SOAP :: MakeEmployee :: response HTTP/ OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <MakeEmployeeResponse xmlns=" <MakeEmployeeResult> <Name>string</Name> <Salary>double</Salary> <DOB> <Year>int</Year> <Month>int</Month> <Day>int</Day> </DOB> </MakeEmployeeResult> </MakeEmployeeResponse> </soap:body> </soap:envelope> Web service responds with an Employee object which is sent serialized as Name, Salary, DOB (which is serialized as Year, Month, Day). 37
38 SOAP :: MakeManager :: request POST /WebService3ClassSubclass/Service1.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: " <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <MakeManager xmlns=" <name>string</name> <salary>double</salary> <dob> <Year>int</Year> <Month>int</Month> <Day>int</Day> </dob> <bonus>double</bonus> </MakeManager> </soap:body> </soap:envelope> Consumer calls MakeManager(name, salary, dob, bonus). Dob is a Date object and is serialized to Year, Month, Day. 38
39 SOAP :: MakeManager :: response HTTP/ OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <MakeManagerResponse xmlns=" <MakeManagerResult> <Bonus>double</Bonus> </MakeManagerResult> </MakeManagerResponse> </soap:body> </soap:envelope> Notice that the response shows Bonus only. The Employee part of the Manager is also sent, but not shown in the SOAP! 39
40 SOAP :: ToStringEmployee :: request POST /WebService3ClassSubclass/Service1.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: " <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <ToStringEmployee xmlns=" <e> <Name>string</Name> <Salary>double</Salary> <DOB> <Year>int</Year> <Month>int</Month> <Day>int</Day> </DOB> </e> </ToStringEmployee> </soap:body> </soap:envelope> Consumer calls ToStringEmployee( Name, Salary, DOB). DOB is serialized to Year, Month, Day. 40
41 SOAP :: ToStringEmployee :: response HTTP/ OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <ToStringEmployeeResponse xmlns=" <ToStringEmployeeResult>string</ToStringEmployeeResult> </ToStringEmployeeResponse> </soap:body> </soap:envelope> 41
42 SOAP :: ToStringDate :: request POST /WebService3ClassSubclass/Service1.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: " <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <ToStringDate xmlns=" <dd> <Year>int</Year> <Month>int</Month> <Day>int</Day> </dd> </ToStringDate> </soap:body> </soap:envelope> Consumer calls ToStringDate( Year, Month, Day). 42
43 SOAP :: ToStringDate :: response HTTP/ OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <ToStringDateResponse xmlns=" <ToStringDateResult>string</ToStringDateResult> </ToStringDateResponse> </soap:body> </soap:envelope> 43
44 SOAP ToStringManager :: request POST /WebService3ClassSubclass/Service1.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: " <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <ToStringManager xmlns=" <m> <Bonus>double</Bonus> </m> </ToStringManager> </soap:body> </soap:envelope> <m> is of type Manager (see WSDL). This allows the web service to understand the received SOAP. Consumer calls ToStringManager( ManagerObject) ManagerObject is [Employee, Bonus]. Only Bonus is shown in SOAP message! 44
45 SOAP ToStringManager :: response HTTP/ OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <ToStringManagerResponse xmlns=" <ToStringManagerResult>string</ToStringManagerResult> </ToStringManagerResponse> </soap:body> </soap:envelope> 45
46 SOAP :: RaiseManagerSalary :: request POST /WebService3ClassSubclass/Service1.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: " <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <RaiseManagerSalary xmlns=" <mm> <Bonus>double</Bonus> </mm> <percent>double</percent> </RaiseManagerSalary> </soap:body> </soap:envelope> 46
47 SOAP :: RaiseManagerSalary :: response HTTP/ OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <RaiseManagerSalaryResponse xmlns=" <RaiseManagerSalaryResult> <Bonus>double</Bonus> </RaiseManagerSalaryResult> </RaiseManagerSalaryResponse> </soap:body> </soap:envelope> 47
48 SOAP :: RaiseEmployeeSalary :: request POST /WebService3ClassSubclass/Service1.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: " <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <RaiseEmployeeSalary xmlns=" <ee> <Name>string</Name> <Salary>double</Salary> <DOB> <Year>int</Year> <Month>int</Month> <Day>int</Day> </DOB> </ee> <percent>double</percent> </RaiseEmployeeSalary> </soap:body> </soap:envelope> 48
49 SOAP :: RaiseEmployeeSalary :: response HTTP/ OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi=" xmlns:xsd=" xmlns:soap=" <soap:body> <RaiseEmployeeSalaryResponse xmlns=" <RaiseEmployeeSalaryResult> <Name>string</Name> <Salary>double</Salary> <DOB> <Year>int</Year> <Month>int</Month> <Day>int</Day> </DOB> </RaiseEmployeeSalaryResult> </RaiseEmployeeSalaryResponse> </soap:body> </soap:envelope> 49
Web Services in.net (6) cont d
Web Services in.net (6) cont d These slides are meant to be for teaching purposes only and only for the students that are registered in CSE3403 and should not be published as a book or in any form of commercial
More informationWeb Services in.net (6)
Web Services in.net (6) These slides are meant to be for teaching purposes only and only for the students that are registered in CSE4413 and should not be published as a book or in any form of commercial
More informationWeb Services in.net (2)
Web Services in.net (2) These slides are meant to be for teaching purposes only and only for the students that are registered in CSE4413 and should not be published as a book or in any form of commercial
More informationPreliminary. Database Publishing Wizard Protocol Specification
[MS-SSDPWP]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,
More informationNo Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
[MS-SSDPWP]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,
More informationExercise sheet 4 Web services
STI Innsbruck, University Innsbruck Dieter Fensel, Anna Fensel and Ioan Toma 15. April 2010 Semantic Web Services Exercise sheet 4 Exercise 1 (WSDL) (4 points) Complete the following WSDL file in a way
More informationSOA SOA SOA SOA SOA SOA SOA SOA SOA SOA SOA SOA SOA SOA
P P CRM - Monolithic - Objects - Component - Interface - . IT. IT loosely-coupled Client : - Reusability - Interoperability - Scalability - Flexibility - Cost Efficiency - Customized SUN BEA IBM - extensible
More information[MS-SSDPWP-Diff]: Database Publishing Wizard Protocol. Intellectual Property Rights Notice for Open Specifications Documentation
[MS-SSDPWP-Diff]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation ( this documentation ) for protocols,
More informationDevelopment of distributed services - Project III. Jan Magne Tjensvold
Development of distributed services - Project III Jan Magne Tjensvold November 11, 2007 Chapter 1 Project III 1.1 Introduction In this project we were going to make a web service from one of the assignments
More informationVoiceForge. xmlns:s=" xmlns:soap12="
VoiceForge 1. BASIC INFORMATION (Overview and purpose of the tool) 1. Webservice name VoiceForge Webservice (TTL2Ro) 2. Overview and purpose of the webservice The VoiceForge Webservice provides a set of
More informationCandidate Resume Data API
Candidate Resume Data API Version 1.03 gradleaders.com Table of Contents 614.791.9000 TABLE OF CONTENTS OVERVIEW... 1 EXAMPLE CODE... 1 WEB SERVICE... 1 Invocation Result... 1 Configuration... 1 Method
More informationUser-Defined Controls
C# cont d (C-sharp) (many of these slides are extracted and adapted from Deitel s book and slides, How to Program in C#. They are provided for CSE3403 students only. Not to be published or publicly distributed
More informationCalendar Data API. Version gradleaders.com
Version 1.03 gradleaders.com Table of Contents 614.791.9000 TABLE OF CONTENTS Overview... 1 Example Code... 1 Web Service... 1 Invocation Result... 1 Configuration... 1 Method - GetCustomFields... 2 Method
More informationImplementation Guide for the ASAP Prescription Monitoring Program Web Service Standard
ASAP Implementation Guide for the ASAP Prescription Monitoring Program Web Service Standard Bidirectional Electronic Connections between Pharmacies, Prescribers, and Prescription Monitoring Programs Version
More informationSecurities Lending Reporting Web Service
Securities Lending Reporting Web Service External Interface Specification Broker Trades Message Specification November 2009 (November 2007) ASX Market Information 2009 ASX Limited ABN 98 008 624 691 Table
More informationDyalog APL SAWS Reference Guide
The tool of thought for expert programming Dyalog APL SAWS Reference Guide SAWS Version 1.4 Dyalog Limited Minchens Court, Minchens Lane Bramley, Hampshire RG26 5BH United Kingdom tel: +44(0)1256 830030
More informationTutorial 6 Enhancing the Inventory Application Introducing Variables, Memory Concepts and Arithmetic
Tutorial 6 Enhancing the Inventory Application Introducing Variables, Memory Concepts and Arithmetic Outline 6.1 Test-Driving the Enhanced Inventory Application 6.2 Variables 6.3 Handling the TextChanged
More informationSupport For assistance, please contact Grapevine: or
External OBS (incorporating Double Opt-in) User Manual Version 1.3 Date 07 October 2011 Support For assistance, please contact Grapevine: +27 21 702-3333 or email info@vine.co.za. Feedback Was this document
More informationClasses in C# namespace classtest { public class myclass { public myclass() { } } }
Classes in C# A class is of similar function to our previously used Active X components. The difference between the two is the components are registered with windows and can be shared by different applications,
More information[MS-SPLCHK]: SpellCheck Web Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation
[MS-SPLCHK]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,
More informationEl fichero de descripción del servicio se puede obtener a partir de la siguiente URL:
WSDL El fichero de descripción del servicio se puede obtener a partir de la siguiente URL: https://invenes.oepm.es/invenesservices/invenessearchservice?wsdl Contenido del WSDL
More informationTutorial 5 Completing the Inventory Application Introducing Programming
1 Tutorial 5 Completing the Inventory Application Introducing Programming Outline 5.1 Test-Driving the Inventory Application 5.2 Introduction to C# Code 5.3 Inserting an Event Handler 5.4 Performing a
More informationSOAP Primer for INSPIRE Discovery and View Services
SOAP Primer for INSPIRE Discovery and View Services Matteo Villa, Giovanni Di Matteo TXT e-solutions Roberto Lucchi, Michel Millot, Ioannis Kanellopoulos European Commission Joint Research Centre Institute
More informationWSDL. Stop a while to read about me!
WSDL Stop a while to read about me! Part of the code shown in the following slides is taken from the book Java by D.A. Chappell and T. Jawell, O Reilly, ISBN 0-596-00269-6 What is WSDL? Description Language
More informationAutomotive Append - Version 1.0.0
Automotive Append - Version 1.0.0 WSDL: http://ws.strikeiron.com/autoappend?wsdl Product Web Page: http://www.strikeiron.com/data-enrichment/automotive-append/ Description: StrikeIron s Automotive Append
More informationCALCULATOR APPLICATION
CALCULATOR APPLICATION Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;
More informationCase study group setup at catme.org Please respond before Tuesday next week to have better group setup
Notes Case study group setup at catme.org Please respond before Tuesday next week to have better group setup Discussion To boost discussion, one write-up for the whole group is fine Write down the names
More information<xsd:element name="name" maxoccurs="1" minoccurs="0" <xsd:element name="parentaccountid" maxoccurs="1" minoccurs="0" <xsd:element name="parentaccounti
More information
Inheriting Windows Forms with Visual C#.NET
Inheriting Windows Forms with Visual C#.NET Overview In order to understand the power of OOP, consider, for example, form inheritance, a new feature of.net that lets you create a base form that becomes
More informationCreating simulation-based training tools for customer relationship management with serviceoriented
Eastern Michigan University DigitalCommons@EMU Master's Theses and Doctoral Dissertations Master's Theses, and Doctoral Dissertations, and Graduate Capstone Projects 2011 Creating simulation-based training
More informationIn order to create your proxy classes, we have provided a WSDL file. This can be located at the following URL:
Send SMS via SOAP API Introduction You can seamlessly integrate your applications with aql's outbound SMS messaging service via SOAP using our SOAP API. Sending messages via the SOAP gateway WSDL file
More information@WebService OUT params via javax.xml.ws.holder
@WebService OUT params via javax.xml.ws.holder Example webservice-holder can be browsed at https://github.com/apache/tomee/tree/master/examples/webservice-holder With SOAP it is possible to return multiple
More informationWeb Services. Brian A. LaMacchia Microsoft
Web Services Brian A. LaMacchia Microsoft Five Questions! What is a Web Service?! Why are Web Services interesting?! Why should I care about them?! What e-commercee business models do Web Services enable?!
More informationTutorial 19 - Microwave Oven Application Building Your Own Classes and Objects
1 Tutorial 19 - Microwave Oven Application Building Your Own Classes and Objects Outline 19.1 Test-Driving the Microwave Oven Application 19.2 Designing the Microwave Oven Application 19.3 Adding a New
More informationDistributed Object Systems
Overview! Goals object-based approach hide communication details! Advantages more space more CPU redundancy locality Problems! Coherency ensure that same object definition is used! Interoperability serialization
More informationDevelopment of a Reliable SOA Framework
Chapter 4 Development of a Reliable SOA Framework Service-Oriented Architecture (SOA) supersedes the traditional software architecture because of its dynamic nature of service composition. Service is an
More informationNo Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
[MS-SLIDELI]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,
More informationPreliminary. No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
[MS-SLIDELI]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,
More information<wsdl:definitions targetnamespace="http://www.trustedcomputinggroup.org/xml/wsdl/migrationservi ce_1-00_1-00">
More information
Web Applications. Web Services problems solved. Web services problems solved. Web services - definition. W3C web services standard
Web Applications 31242/32549 Advanced Internet Programming Advanced Java Programming Presentation-oriented: PAGE based App generates Markup pages (HTML, XHTML etc) Human oriented : user interacts with
More informationXML Key Management Specification Bulk Operation (X-BULK)
. For further information, contact: xbulk@research.baltimore.com XML Key Management Specification Bulk Operation (X-BULK).......... Baltimore Technologies Gemplus Oberthur Card Systems Schlumberger Draft
More informationMedia Object Server Protocol v Table of Contents
Media Object Server (MOS ) Media Object Server Protocol v3.8.3 Table of Contents 3.2.6 4. Other messages and data structures 4.1. Other messages and data structures 4.1.1. heartbeat - Connection Confidence
More informationListBox. Class ListBoxTest. Allows users to add and remove items from ListBox Uses event handlers to add to, remove from, and clear list
C# cont d (C-sharp) (many of these slides are extracted and adapted from Deitel s book and slides, How to Program in C#. They are provided for CSE3403 students only. Not to be published or publicly distributed
More informationTechnical Specifications for TAXI (Web Services using tml) Version template-3.0
Technical Specifications for TAXI (Web Services using tml) Version template-3.0 2005 Verizon. All Rights Reserved. Not to be disclosed outside the Verizon Companies without prior written permission. -
More informationThis is the start of the server code
This is the start of the server code using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Net; using System.Net.Sockets;
More informationPS2 Random Walk Simulator
PS2 Random Walk Simulator Windows Forms Global data using Singletons ArrayList for storing objects Serialization to Files XML Timers Animation This is a fairly extensive Problem Set with several new concepts.
More informationSciX. D10: Implementation report IST Open, self organising repository for scientific information exchange
IST-2001-33127 SciX Open, self organising repository for scientific information exchange D10: Implementation report Responsible authors: Tomo Cerovšek, Žiga Turk, Gudni Gudnason, Brian Clifton, Bob Martens,
More information1. Windows Forms 2. Event-Handling Model 3. Basic Event Handling 4. Control Properties and Layout 5. Labels, TextBoxes and Buttons 6.
C# cont d (C-sharp) (many of these slides are extracted and adapted from Deitel s book and slides, How to Program in C#. They are provided for CSE3403 students only. Not to be published or publicly distributed
More informationNo Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
[MS-OXWOOF]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,
More informationCMS SOAP CLIENT SOFTWARE REQUIREMENTS SPECIFICATION
CMS SOAP CLIENT SOFTWARE REQUIREMENTS SPECIFICATION CONTENTS 1. Introduction 1.1. Purpose 1.2. Scope Of Project 1.3. Glossary 1.4. References 1.5. Overview Of Document 2. Overall Description 2.1. System
More informationDeveloping Applications for the Java EE 7 Platform 6-2
Developing Applications for the Java EE 7 Platform 6-2 Developing Applications for the Java EE 7 Platform 6-3 Developing Applications for the Java EE 7 Platform 6-4 Developing Applications for the Java
More informationWeb services. In plain words, they provide a good mechanism to connect heterogeneous systems with WSDL, XML, SOAP etc.
Web Services Web Services A Web service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format
More informationA namespace prefix is defined with a xmlns attribute using the syntax xmlns:prefix="uri".
Question 1 XML Syntax and Basics (a) What are 'namespaces' used for in relation to XML and how are they applied to an XML document?(2 marks) Namespaces are used to avoid element name conflicts when using/mixing
More informationETSI TS V9.0.0 ( ) Technical Specification
TS 132 347 V9.0.0 (2010-01) Technical Specification Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; Telecommunication management; File Transfer
More informationISM Configuration Step by Step Guide SOAP Monitor. Overview. Version 1.1
ISM Configuration Step by Step Guide SOAP Monitor Version 1.1 Date Version Author Change 19 Sept 2014 1.1 Timothy Koh Added Nested complex type example 11 Oct 2012 1.0 Michael Wager Draft Complete 2 Oct
More informationOracle Communications Network Charging and Control. Web Services Description Language Reference Guide Release 6.0.1
Oracle Communications Network Charging and Control Web Services Description Language Reference Guide Release 6.0.1 April 2017 Copyright Copyright 2017, Oracle and/or its affiliates. All rights reserved.
More information@WebService handlers
@WebService handlers with @HandlerChain Example webservice-handlerchain can be browsed at https://github.com/apache/tomee/tree/master/examples/webservicehandlerchain In this example we see a basic JAX-WS
More informationArtix ESB. Bindings and Transports, Java Runtime. Version 5.5 December 2008
Artix ESB Bindings and Transports, Java Runtime Version 5.5 December 2008 Bindings and Transports, Java Runtime Version 5.5 Publication date 18 Mar 2009 Copyright 2001-2009 Progress Software Corporation
More informationname="aai"> <xsd:element name="acctid"> </xsd:element> name="acna"> </xsd:element> name="acttype"> </xsd:element> name="adi"> </xsd:element>
More information
Page 1 of 6 MSDN Home MSDN Magazine April 2003 XML Files: Web Services and DataSets Web Services and DataSets Aaron Skonnard Get the sample code for this article. rogrammers using Visual Basic 6.0 have
More informationArtix Bindings and Transports, C++
Artix 5.6.4 Bindings and Transports, C++ Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright Micro Focus 2015. All rights reserved. MICRO FOCUS,
More informationGuide: SOAP and WSDL WSDL. A guide to the elements of the SOAP and WSDL specifications and how SOAP and WSDL interact.
Guide: SOAP and WSDL A guide to the elements of the SOAP and WSDL specifications and how SOAP and WSDL interact. WSDL Definitions Type_Declarations Messages Operations Request-Response One-way Solicit-Response
More informationWeb Services. GC: Web Services Part 2: Rajeev Wankar
Web Services 1 Web Services Part II 2 Web Services Registered using JAXR, JUDDI, UDDI4J X! 3 Client-Service Implementation Suppose we have found the service and have its WSDL description, i.e. got past
More informationProfessional ASP.NET Web Services : Asynchronous Programming
Professional ASP.NET Web Services : Asynchronous Programming To wait or not to wait; that is the question! Whether or not to implement asynchronous processing is one of the fundamental issues that a developer
More informationSupplier Web Services (Full)
Supplier Web Services (Full) All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording, taping, or
More informationCMR College of Engineering & Technology Department of Computer Science & Engineering
Class:M.Tech(CSE) I Year-II Sem Faculty:K.Yellaswamy Date:03.07.2015 (B1532) WEB SERVICES LAB 1. Write a Program to implement WSDL Service (Hello Service,WSDL File) Using JAX-WS Web Service.we will see
More informationSOAP Web Services Objektumorientált szoftvertervezés Object-oriented software design. Web services 11/23/2016. Outline. Remote call.
SOAP Web Services Objektumorientált szoftvertervezés Object-oriented software design Outline Web Services SOAP WSDL Web Service APIs.NET: WCF Java: JAX-WS Dr. Balázs Simon BME, IIT 2 Remote call Remote
More informationWeb Services Using C# and ASP.NET
Web Services Using C# and ASP.NET Student Guide Revision 3.0 Object Innovations Course 4150 Web Services Using C# and ASP.NET Rev. 3.0 Student Guide Information in this document is subject to change without
More informationJava CAPS 6 Update 1 Exposing MTOM-capable Java CAPS Classic Web Service Contents Introduction
Java CAPS 6 Update 1 Exposing MTOM-capable Java CAPS Classic Web Service Michael.Czapski@sun.com February 2009 Contents 1. Introduction...1 2. WSDL Notes...3 4. Build einsight / BPEL 1.0-based Web Service...12
More informationThe following list is the recommended system requirements for running the code in this book:
What You Need to Use This Book The following list is the recommended system requirements for running the code in this book: Windows 2000 Professional or higher with IIS installed Windows XP Professional
More informationSOA & Web services. PV207 Business Process Management
SOA & Web services PV207 Business Process Management Spring 2012 Jiří Kolář Last lecture summary Processes What is business process? What is BPM? Why BPM? Roles in BPM Process life-cycle Phases of process
More informationVSCM PackageHub API Reference Documentation
VSCM PackageHub API Reference Documentation Document Version 1.0 - May 6, 2017 Table of Contents 1. Overview... 3 1.1. Introduction... 3 1.2. Conventions and Features... 3 1.3. Security Token Authentication...
More informationFlag Quiz Application
T U T O R I A L 17 Objectives In this tutorial, you will learn to: Create and initialize arrays. Store information in an array. Refer to individual elements of an array. Sort arrays. Use ComboBoxes to
More informationUser Manual. 3-Heights Document Converter API. Version 4.10
User Manual 3-Heights Document Converter API Version 4.10 Contents 1 Introduction........................................................................ 3 1.1 Interfaces...........................................................................
More informationInterface Control Document
Project Title: BIO_SOS Biodiversity Multisource Monitoring System: from Space TO Species Contract No: FP7-SPA-2010-1-263435 Instrument: Collaborative Project Thematic Priority: FP7-SPACE-2010-1 Start of
More informationNotes. Any feedback/suggestions? IS 651: Distributed Systems
Notes Grading statistics Midterm1: average 10.60 out of 15 with stdev 2.22 Total: average 15.46 out of 21 with stdev 2.80 A range: [18.26, 23] B range: [12.66, 18.26) C or worse range: [0, 12.66) The curve
More informationETSI TS V9.0.0 ( ) Technical Specification
TS 132 417 V9.0.0 (2010-01) Technical Specification Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; Telecommunication management; Performance
More informationBest Practices for Publishing and Consuming Web Services with Service Manager
Best Practices for Publishing and Consuming Web Services with Service Manager How to use Web Services for integrating applications with Service Manager HP Management Software Service Management Introduction...
More informationThe Florida State University College of Arts and Sciences. WSDL Importer. Kiran Kaja. Major Professor: Dr. Robert van Engelen
The Florida State University College of Arts and Sciences WSDL Importer By Kiran Kaja Major Professor: Dr. Robert van Engelen A project submitted to the department of Computer Science in partial fulfillment
More informationHP Service Manager Software
HP Service Manager Software For the Windows and Unix Operating Systems Software version 9.20 Web Services Tailoring Guide Document Release Date: June 2010 Software Release Date: June 2010 Legal Notices
More informationSoftware Developer s Guide for Cisco Secure Access Control System 5.3
Software Developer s Guide for Cisco Secure Access Control System 5.3 November 2012 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel:
More informationPART VII Building Web Services With JAX-RPC. 7.5 JAX Web Service Architecture. Development of a Web Service with JAX. Runtime View of a Web Service
PART VII Building Web Services With JAX-RPC 7.5 JAX Web Service Architecture 5. Overview of the JAX-RPC Web Service Architecture 6. Building and Deploying a JAX-RPC Web Service 7. Building and Running
More information02267: Software Development of Web Services
02267: Software Development of Web Services Week 3 Hubert Baumeister huba@dtu.dk Department of Applied Mathematics and Computer Science Technical University of Denmark Fall 2016 1 Recap www.example.com
More informationX-Road: Protocol for Management Services
X-Road: Protocol for Management Services Technical Document Version: 1.8 09.11.2015 22 pages Doc. ID: PR-MSERV 09.11.2015 1/22 Date Version Description Author 19.08.2015 0.1 Initial version Martin Lind
More informationTECNOLOGIAS DE MIDDLEWARE
TECNOLOGIAS DE MIDDLEWARE Introdução ao WSDL. Concretização num Projecto de LBS. 18/11/2004 André Barbosa WSDL-SUMÁRIO SUMÁRIO DA APRESENTAÇÃO INTRODUÇÃO AO WSDL: Introdução ao WSDL Descrição e Utilização
More informationPublications Office. TED Website - Notice Viewer WS Technical Specifications Document - Appendix D - NoticeViewer
Publications Office Subject NoticeViewer WS API Version / Status 1.03 Release Date 17/02/2017 Filename Document Reference TED_WEBSITE-TSP-Technical_Specifications_Document-v1.03 TED-TSP-Appendix D Table
More informationIntroduction to Web Services
20 th July 2004 www.eu-egee.org Introduction to Web Services David Fergusson NeSC EGEE is a project funded by the European Union under contract IST-2003-508833 Objectives Context for Web Services Architecture
More informationNo Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
[MS-RDWR]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,
More informationThe contents of this document are directly taken from the EPiServer SDK. Please see the SDK for further technical information about EPiServer.
Web Services Product version: 4.50 Document version: 1.0 Document creation date: 04-05-2005 Purpose The contents of this document are directly taken from the EPiServer SDK. Please see the SDK for further
More informationTutorial on Fast Web Services
Tutorial on Fast Web Services This document provides tutorial material on Fast Web Services (it is equivalent to Annex C of X.892 ISO/IEC 24824-2). Some of the advantages of using Fast Web Services are
More informationnamespace Tst_Form { private: /// <summary> /// Required designer variable. /// </summary> System::ComponentModel::Container ^components;
Exercise 9.3 In Form1.h #pragma once #include "Form2.h" Add to the beginning of Form1.h #include #include For srand() s input parameter namespace Tst_Form using namespace System; using
More informationFuse ESB Enterprise Using the Web Services Bindings and Transports
Fuse ESB Enterprise Using the Web Services Bindings and Transports Version 7.1 December 2012 Integration Everywhere Using the Web Services Bindings and Transports Version 7.1 Updated: 08 Jan 2014 Copyright
More informationIHS Haystack Web Services Quick Start Guide April 2014
IHS Haystack Web Services Quick Start Guide April 2014 Table of Contents: Overview Methods GetFLISBriefResultsByCAGECodeAndPartNumber GetFLISBriefResultsByPartNumber GetFLISSummaryResultsByMultipleNIINs
More informationPTC Integrity 10.7 Web Services Reference
PTC Integrity 10.7 Web Services Reference PTC Integrity 10.7 Web Services Reference Copyright 2015 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved. User and training guides and related documentation
More informationNORTHPOINTE SUITE WEB SERVICES ARCHITECTURE
NORTHPOINTE SUITE WEB SERVICES ARCHITECTURE Table of Contents LDAP LOGIN 2 APPLICATION LOGIN 4 LIST REFERENCE CODES 9 STORE REFERENCE CODES 14 LIST AGENCIES 18 GET AGENCY ID 23 LIST SECURITY GROUPS 27
More information[MS-OXWOOF]: Out of Office (OOF) Web Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation
[MS-OXWOOF]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation ( this documentation ) for protocols,
More informationDeveloping JAX-RPC Web services
Developing JAX-RPC Web services {scrollbar} This tutorial will take you through the steps required in developing, deploying and testing a Web Service in Apache Geronimo. After completing this tutorial
More informationCSC 330 Object-Oriented Programming. Encapsulation
CSC 330 Object-Oriented Programming Encapsulation Implementing Data Encapsulation using Properties Use C# properties to provide access to data safely data members should be declared private, with public
More informationLampiran B. Program pengendali
Lampiran B Program pengendali #pragma once namespace serial using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms;
More information02267: Software Development of Web Services
02267: Software Development of Web Services Week 4 Hubert Baumeister huba@dtu.dk Department of Applied Mathematics and Computer Science Technical University of Denmark Fall 2016 1 Recap SOAP part II: SOAP
More information