[cvs] [Wiki] changed: Doc/Dev/SOAP

Jan Schneider jan at horde.org
Thu Jun 21 15:51:59 UTC 2007


jan  Thu, 21 Jun 2007 08:51:59 -0700

Modified page: http://wiki.horde.org/Doc/Dev/SOAP
New Revision:  1.1
Change log:  Style

@@ -5,9 +5,9 @@
 (more details on this should go here or be linked here)

 ++ Complex Types

-You can define complex types in the <code>$_types</code> array in
<code>app/lib/api.php</code>. Here is an example:
+You can define complex types in the {{$_types}} array in
{{app/lib/api.php}} Here is an example:

 <code type="php">
 $_types = array(
     'attrValues' => array('attr'   => 'string',
@@ -33,9 +33,9 @@
         </complexContent>
 </complexType>
 </code>

-The application which uses these types servers several thousand SOAP
transactions a day, with a !J2EE/Axis application on the other end.
+The application which uses these types serves several thousand SOAP
transactions a day, with a !J2EE/Axis application on the other end.

 Here is another example including both the $_types and $_services
definitions for an application which checks ADSL coverage areas:

 <code type="php">
@@ -55,11 +55,11 @@
     array('item' => '{urn:horde}coverage_coverageResults')
 );

 $_services['check'] = array(
-  'args' => array('numbers' => '{urn:horde}stringArray'),
-  'checkperms' => false,
-  'type' => '{urn:horde}coverage_coverageResultsArray'
+    'args' => array('numbers' => '{urn:horde}stringArray'),
+    'checkperms' => false,
+    'type' => '{urn:horde}coverage_coverageResultsArray'
 );

 function _coverage_check($numbers) {
     // code that returns an array of results


More information about the cvs mailing list