
Chapter 8. Scenario: Synchronous stateless (WebSphere consumer and .NET producer) 335
total += ((float)iterator.Current);
}
return total;//Return sum of array elements
}
}
7. Build the project once the coding part is over to create Calculator.dll. The
following diagram shows the relation between Calculator.dll and the Web
Services we will now create.
Figure 8-3 Calculator.dll Assembly and Web Services
Developing the Web Services in Microsoft .NET
Microsoft .NET supports Web Services either using RPC/encoded message style
or Document/literal message style.
The Document style format indicates that the SOAP body simply contains an
XML document. The litera ...