Csis 4311 web service in this assignment we will simulate a mini
1. CSIS 4311 Web Service
In this assignment we will simulate a mini order management
system. We will use one web service to get the open orders and
another one to create shipping labels and get shipping costs. We
will use SOAP messages to communicate with one web service,
and we will import the WSDL and use the generated classes to
communicate with the other service.
Below are the two services. You can test them out in the
browser.
Using WSDL import
Order Service: http://www.devception.com/orderservice.asmx
Using SOAP
Shipping Service:
http://www.devception.com/shippingservice.asmx
Question 1:
a- Create a new console application.
b- Import the service reference for the order service.
c- Then use the generated classes to get the list of orders.
d- Then for the first 3 orders received from part c get the order
details.
Question 2
a- Using the information received from the order details call
you made in question 1 part d call the shipping service by
crafting a SOAP message to get a label.
b- Once the label is received save the label in the labels folder.
c- Create a new SOAP message to update the order with the
tracking numbers.
Question 3
One of the most important design principles is the single
2. responsibility principle (SRP). It is part of the SOLID
principles that every experienced developer should become
familiar with. Read upon the SRP it and structure your code
accordingly. Please also provide a brief explanation of how
your code follows the SRP.
Notes on the assignment:
· All of the questions can be done in one program.
· So do not create multiple projects. Only one project is
sufficient.
· You do not have to submit the entire solution. You can submit
only the code files. In other words, the files with the .cs
extension.