Hello !!
i try to create a webservice with nusoap.
now i try to create a function that returns an array !??Code:$soap = new soap_server(); $soap->configureWSDL('TEST', 'xxx://xxx.test.de/'); $soap->wsdl->schemaTargetNamespace = 'xxx://soapinterop.org/xsd/'; $soap->register( 'strtest', array( 'p1' => 'xsd:string', 'p2' => 'xsd:string' ), array( 'erg' => 'xsd:string' ), 'xxx://soapinterop.org/' ); $soap->service(isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : ''); function strtest($p1,$p2) { return "BLA ".$p1." BLA . ".$p2." "; }
i dont know how to make the register-code ?
I need it, because i use the wsdl-file that nusoap creates for me.
bye jogi



Bookmarks