Assignment10 & 11
Due: in class, 11/11 & 11/13.
Draw the tree structure of the following WSDL language.
For Assignment 10:
<definitions>
<types>
align="left"> definition of types........
</types>
<message>
definition of a message....
</message>
<portType>
definition of a port.......
</portType>
<binding>
definition of a binding....
</binding>
</definitions>
For Assignment 11:
<definitions>
<message name="getTermRequest">
<part name="term" type="xs:string"/>
</message>
<message name="getTermResponse">
<part name="value" type="xs:string"/>
</message>
<portType name="glossaryTerms">
<operation name="getTerm">
<input message="getTermRequest"/>
<output message="getTermResponse"/>
</operation>
</portType>
<binding type="glossaryTerms" name="b1">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<operation>
<soap:operation
soapAction="http://example.com/getTerm"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
</definitions>
Assignment9
Due: 10/28, Tuesday, in class.
Draw the tree structure of the SOAP message.
<?xml version="1.0"?>
<soap:Envelope xmlns:soap=http://....../soap-envelope soap:encodingStyle="http://....../soap-encoding">
<soap:Header>
... ...
</soap:Header>
<soap:Body>
... ...
<soap:Fault>
... ...
</soap:Fault>
</soap:Body>
</soap:Envelope>
Assignment8
Due: 10/21, Tuesday, in class.
Use Web Service provided by http://www.w3schools.com/webservices/tempconvert.asmx/FahrenheitToCelsius
and create a html including a user input area, Text "Fahrenheit" and a button with name "Apply". Once you click the button "Apply", it will run the web service and convert the temperature from Fahrenheit to Celsius.
Email Dr. Jiang your source code (html file).
Assignment7
Due: 9/30, Tuesday, in class.
Download the example2 package.
1. What's the "root" in the content of cd_catalog.xml?
2. Draw the tree structure of cd_catalog.xml with the tags only.
3. Modify the html source code to display the TITLE, ARTIST, PRICE and YEAR in the table.
Assignment6
Due: 9/25, Thursday, in class.
Check the following XML and identify the correctness. If it is not correct, give the correct solution.
1. <student> <name> Alex </name> </student>
2. <book> COBOL - ABC </Book>
3. <book> COBOL - ABC <book>
4. <student> Alex </student>
<Textbook> COBOL - ABC </Textbook>
5. <student class=CSC236> Alex </student>
6. <student>
<name>Alex</name>
<grade> > 60 </grade>
</student>
Assignment5
Due: 9/23, Tuesday, in class.
1. Design XML code for :
<bookstore>
-<book>
-<title> COBOL-ABC
-<author> aaa
-<year> 2007
-<price> $50.00
2. Assume that we have attribute category for book, and the value is "textbook"; attribute lang for title has the value "en". How would we change the code?
Assignment4
Due: 9/18, Thursday, in class.
1. Go to http://www.google.com/, view the source, and write down 3 tags, 3 elements and 3 attributes.
2. Save the source code to be a local file, and modify the first word "Web" to be your name. Submit the modified file to Blackboard Dropbox.
3. Modify the JavaScript example: change the pictures to other local pictures, and change the link to http://www.yahoo.com/
Submit above package to Blackboard Dropbox.
Assignment3
Due: 9/9, Tuesday, in class.
Read Chapter 4 and 5.
1. Describe SOA Reference Architecture.
2. What is ESB? What are ESB's major tasks?
3. What is web service? What's the relationship of web service with XML, SOAP, and WSDL?
4. What is BSRR? What are the major tasks of BSRR?
Assignment2
Due: 9/2, Tuesday, in class.
Read Chapter 3.
1. Summarize the steps to deconstruct a business.
2. Treat your family life as a business, try to use the learned method to analyze it and build a component business model.
Assignment1
Due: 8/28, Thursday, in class.
Read Chapter 1 and 2.
1. What is SOA?
2. What drive the business agenda for the immediate future?
3. What is Flex-pon-sive?
4. List 2 major drivers of the increasing need for flexibility today?