HW18: Chapter 18


18.4. Define an interface specification for the Currency Converter and Check credit rating services shown in Figure 18.7

Currency Converter

<interface name = “CurrencyConverter”>
<operation name = “ConvertCurrency” pattern = “wsdlns: in-out”>
<input messageLabel = “In” element = “ratens: ExchangeRate”/>
<output messageLabel = “Out” element = “ratens: USDRate”/>
<outfault messageLabel = “Out” element = “ratens: InDataFault”/>
</operation>
</interface>

Check Credit Rating

<interface name = “CheckCreditRating”>
<operation name = “checkCredit” pattern = “wsdlns: in-out”>
<input messageLabel = “In” element = “creditns: SocialSecurityNumber”/>
<output messageLabel = “Out” element = “creditns: CreditRating”/>
<outfault messageLabel = “Out” element = “creditns: InDataFault”/>
</operation>
</interface>

Comments

Popular posts from this blog

HW6: Chapter 4

HW24: Chapter 23

HW11: Chapter 6