This demo shows SESJ interoperability with .NET over .NET collections.
SESJ is fully compatible with .NET over all the basic types which is .NET able to serialize and deserialize over SOAP. Those are:
System.Collections.ArrayList System.Collections.Specialized.StringCollection
Demo shows communication in both modes, rpc/encoded and document/literal.
The docLit\ and rpcEnc\ subdirectories each contain the files described in Files and Directories and the following:
File or directory | Description |
---|---|
src\service\ | Service source code |
src\demo\interop\msInterop\dotNetCollections\client\ | Client source code |
The following list outlines the software and service packs that you will need to be able to compile and run C# clients and access the features of ASP.NET:
Microsoft .NET Framework and .NET Framework SDK,
IIS with the latest security updates (must be installed prior to installing the .NET Framework and .NET Framework SDK),
In addition, you will need administrative rights on the computer.
You can run the demo using "run.sh" or "run.bat" scripts. The script on invocation without arguments prints out a help message.
Create a Virtual Folder in IIS by
Click Start, point to Programs, select , and then click Internet Services Manager.
In the left pane, right-click Default Web Site, select New, and then click Virtual Directory.
In the first screen of the Virtual Directory Creation Wizard click Next, type an alias for the site (DotNetCollectionsDocLit or DotNetCollectionsRpcEnc) and click Next again.
In the third screen, click Browse. Browse to
%WASP_HOME%\demo\interop\msInterop\dotNetCollections\docLit\src\service or %WASP_HOME%\demo\interop\msInterop\dotNetCollections\rpcEnc\src\service.
Click Next.
In the fourth screen, click Next.
Click Finish to complete the wizard.
Close Internet Services Manager.
Make client classes ...
Windows: run.bat make_client Linux: ./run.sh make_client
Run the CollectionsClient (it calls CollectionsService) ...
Windows: run.bat run_client Linux: ./run.sh run_client
If you wish to follow the progress of the invocation with SoapSpy, perform the following:
Run server_java60/bin/soapspy.bat or soapspy.sh. This will bring up the SoapSpy GUI.
Start spying by selecting Start Spying from the Spy menu or by clicking the spy icon in the main pane.
Run the client using the run spy_client command instead of run_client.
Undeploy service by manually deleting created Virtual Folder.