Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About jogisarge

  • Rank
  1. You are right.i don't understand, why i should do this.the company,that use my files, needs it.They say, there parser won't work without it.
  2. Hi,i generate a XML-file using the following Code: $document=DOMImplementation::createDocument();$document->encoding='UTF-8';$document->standalone='no'; $document->formatOutput = TRUE;...$document->save("./test.xml"); the generated XML looks like: <?xml version="1.0" encoding="UTF-8" standalone="no"?>... Now in want to habe a blank between standalone="no" and ?> The header has to look like : <?xml version="1.0" encoding="UTF-8" standalone=[b]"no" ?>[/b]... Can anybody tell me how to get this?bye jo
  3. Hello @all,i am new and i try to create a webservice using nusoap.the service should provide a function that becomes a arraylist with parms and return another arraylist.my problem is, i dont know how to code the register method for this function ??my Code so far: require_once 'nusoap.php'; $soap = new soap_server();$soap->configureWSDL('IDSTEST', 'http://www.test-server.de/'); $soap->wsdl->schemaTargetNamespace = 'http://soapinterop.org/xsd/';$soap->register( 'strtest', array( 'parray' => 'xsd:????????????????' ), array( 'farray' => 'xsd:????????????????????????' ), 'http://soapinterop.org/');$soap->service(isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : ''); function strtest($parray) { // business logic ... return $farray;}// ------------- Client -------------$funcarray[0] = array("parm1"="1","parm2"="car","parm3"="green");$funcarray[1] = array("parm1"="2","parm2"="bike","parm3"="red");$funcarray[2] = array("parm1"="3","parm2"="mbike","parm3"="blue"); $soap = new soapclient('http://...?wsdl', true); $proxy = $soap->getProxy(); $erglist= $proxy->strtest($funcarray); can anybody give me some help, to get the service running?perhaps anybody has examples of function with array as parms with the wsdl-files, so i can look at.gruß jogi
  • Create New...