configureWSDL('cds', $ns, '', 'document'); $server->register('cdStore', // register as a service operation. array('cd' => 'xsd:string', 'quant' => 'xsd:int'), //input array('invoice' => 'xsd:string'), //output $ns, // namespace $ns.'#cdStore', // soapaction 'document', // style 'literal', // use 'Submit a PO for cdStore' // documentation ); // cdx.php has the cdStore function for cdStore $HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : ''; $server->service($HTTP_RAW_POST_DATA); ?>