jogisarge Posted August 12, 2008 Share Posted August 12, 2008 Hello !! i try to create a webservice with nusoap. $soap = new soap_server(); $soap->configureWSDL('TEST', 'http://www.test.de/'); $soap->wsdl->schemaTargetNamespace = 'http://soapinterop.org/xsd/'; $soap->register( 'strtest', array( 'p1' => 'xsd:string', 'p2' => 'xsd:string' ), array( 'erg' => 'xsd:string' ), 'http://soapinterop.org/' ); $soap->service(isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : ''); function strtest($p1,$p2) { return "BLA ".$p1." BLA . ".$p2." "; } now i try to create a function that returns an array !?? 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 Link to comment https://forums.phpfreaks.com/topic/119375-webservice-with-nusoap-function/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.