home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD><TITLE>Sambar Server SOAP Control Panel</TITLE>
- <%
- #include "../header.asp"
- #include "../menu.asp"
- area = "register";
- #include "submenu.asp"
- %>
- <BR>
- <B>Registering soap interop services...</B>
- <BLOCKQUOTE><PRE><CODE>
- /*
- ** Register SOAP Services
- */
- soapRegister("echoNull", SOAP_AUTH_ALL, "echoNull.c",
- "Echo a NULL value.");
- soapRegister("echoString", SOAP_AUTH_ALL, "echoString.c",
- "Echo a string.");
- soapRegister("echoStringArray", SOAP_AUTH_ALL, "echoStringArray.c",
- "Echo a string array.");
- soapRegister("echoInteger", SOAP_AUTH_ALL, "echoInteger.c",
- "Echo an integer.");
- soapRegister("echoIntegerArray", SOAP_AUTH_ALL, "echoIntegerArray.c",
- "Echo an integer array.");
- soapRegister("echoFloat", SOAP_AUTH_ALL, "echoFloat.c",
- "Echo a floating point number.");
- soapRegister("echoFloatArray", SOAP_AUTH_ALL, "echoFloatArray.c",
- "Echo an array of floating point numbers.");
-
- </CODE></PRE></BLOCKQUOTE>
- <%
- /*
- ** Register SOAP Services
- */
- soapRegister("echoNull", SOAP_AUTH_ALL, "echoNull.c",
- "Echo a NULL value.");
- soapRegister("echoString", SOAP_AUTH_ALL, "echoString.c",
- "Echo a string.");
- soapRegister("echoStringArray", SOAP_AUTH_ALL, "echoStringArray.c",
- "Echo a string array.");
- soapRegister("echoInteger", SOAP_AUTH_ALL, "echoInteger.c",
- "Echo an integer.");
- soapRegister("echoIntegerArray", SOAP_AUTH_ALL, "echoIntegerArray.c",
- "Echo an integer array.");
- soapRegister("echoFloat", SOAP_AUTH_ALL, "echoFloat.c",
- "Echo a floating point number.");
- soapRegister("echoFloatArray", SOAP_AUTH_ALL, "echoFloatArray.c",
- "Echo an array of floating point numbers.");
- %>
- <B>Done registering services...</B>
- <P>
- <B>Notes...</B>
- <UL>
- <LI> SOAP services can be registered via the authentication properties:
- <B>SOAP_AUTH_ALL</B> | <B>SOAP_AUTH_USER</B> | <B>SOAP_AUTH_ADMIN</B></LI>
- <LI>The <I>path</I> to the file must be specified as either a complete,
- file-system path, or the file is assumed to be relative to the <I>syssoap</I>
- directory.
- </UL>
- <P>
- <I>Hint!</I> To register services "automatically" when the server starts
- up, you can place the above calls in the <I>config/globals.c</I> file.
- The CScript ASP engine loads and executes the <I>config/globals.c</I>
- file at startup of the server.
- <%
- #include "../footer.asp"
- %>
- </BODY></HTML>
-