php - nusoap wsdl connection error but in telnet test everything is OK -


i use nusoap connect url, cannot connect , didn't error in $soapclient->geterror() .

i can connect url via ssh commant , telnet, url show xml data on browser , seems ok php cannot connect!

i think have problem in php.ini configuration ! can me solve problem ?

when trying echo $soapclient; content :

object(nusoap_client)#25 (50) {   ["username"]=>   string(0) ""   ["password"]=>   string(0) ""   ["authtype"]=>   string(0) ""   ["certrequest"]=>   array(0) {   }   ["requestheaders"]=>   bool(false)   ["responseheaders"]=>   string(0) ""   ["responseheader"]=>   null   ["document"]=>   string(0) ""   ["endpoint"]=>   string(60) "https://******?wsdl"   ["forceendpoint"]=>   string(0) ""   ["proxyhost"]=>   bool(false)   ["proxyport"]=>   bool(false)   ["proxyusername"]=>   bool(false)   ["proxypassword"]=>   bool(false)   ["portname"]=>   string(0) ""   ["xml_encoding"]=>   string(0) ""   ["http_encoding"]=>   bool(false)   ["timeout"]=>   int(0)   ["response_timeout"]=>   int(30)   ["endpointtype"]=>   string(4) "wsdl"   ["persistentconnection"]=>   bool(false)   ["defaultrpcparams"]=>   bool(false)   ["request"]=>   string(0) ""   ["response"]=>   string(0) ""   ["responsedata"]=>   string(0) ""   ["cookies"]=>   array(0) {   }   ["decode_utf8"]=>   bool(true)   ["operations"]=>   array(0) {   }   ["curl_options"]=>   array(0) {   }   ["bindingtype"]=>   string(0) ""   ["use_curl"]=>   bool(false)   ["fault"]=>   null   ["faultcode"]=>   null   ["faultstring"]=>   null   ["faultdetail"]=>   null   ["title"]=>   string(6) "nusoap"   ["version"]=>   string(5) "0.9.5"   ["revision"]=>   string(18) "$revision: 1.123 $"   ["error_str"]=>   string(0) ""   ["debug_str"]=>   string(311) "2013-05-13 10:35:52.670129 nusoap_client: ctor wsdl=wsdl timeout=0 response_timeout=30 endpoint=string(60) "https://******?wsdl" 2013-05-13 10:35:52.670242 nusoap_client: use lazy evaluation of wsdl https://******?wsdl "   ["charencoding"]=>   bool(true)   ["debuglevel"]=>   int(9)   ["xmlschemaversion"]=>   string(32) "http://www.w3.org/2001/xmlschema"   ["soap_defencoding"]=>   string(10) "iso-8859-1"   ["namespaces"]=>   array(4) {     ["soap-env"]=>     string(41) "http://schemas.xmlsoap.org/soap/envelope/"     ["xsd"]=>     string(32) "http://www.w3.org/2001/xmlschema"     ["xsi"]=>     string(41) "http://www.w3.org/2001/xmlschema-instance"     ["soap-enc"]=>     string(41) "http://schemas.xmlsoap.org/soap/encoding/"   }   ["usednamespaces"]=>   array(0) {   }   ["typemap"]=>   array(6) {     ["http://www.w3.org/2001/xmlschema"]=>     array(43) {       ["string"]=>       string(6) "string"       ["boolean"]=>       string(7) "boolean"       ["float"]=>       string(6) "double"       ["double"]=>       string(6) "double"       ["decimal"]=>       string(6) "double"       ["duration"]=>       string(0) ""       ["datetime"]=>       string(6) "string"       ["time"]=>       string(6) "string"       ["date"]=>       string(6) "string"       ["gyearmonth"]=>       string(0) ""       ["gyear"]=>       string(0) ""       ["gmonthday"]=>       string(0) ""       ["gday"]=>       string(0) ""       ["gmonth"]=>       string(0) ""       ["hexbinary"]=>       string(6) "string"       ["base64binary"]=>       string(6) "string"       ["anytype"]=>       string(6) "string"       ["anysimpletype"]=>       string(6) "string"       ["normalizedstring"]=>       string(6) "string"       ["token"]=>       string(6) "string"       ["language"]=>       string(0) ""       ["nmtoken"]=>       string(0) ""       ["nmtokens"]=>       string(0) ""       ["name"]=>       string(0) ""       ["ncname"]=>       string(0) ""       ["id"]=>       string(0) ""       ["idref"]=>       string(0) ""       ["idrefs"]=>       string(0) ""       ["entity"]=>       string(0) ""       ["entities"]=>       string(0) ""       ["integer"]=>       string(7) "integer"       ["nonpositiveinteger"]=>       string(7) "integer"       ["negativeinteger"]=>       string(7) "integer"       ["long"]=>       string(7) "integer"       ["int"]=>       string(7) "integer"       ["short"]=>       string(7) "integer"       ["byte"]=>       string(7) "integer"       ["nonnegativeinteger"]=>       string(7) "integer"       ["unsignedlong"]=>       string(0) ""       ["unsignedint"]=>       string(0) ""       ["unsignedshort"]=>       string(0) ""       ["unsignedbyte"]=>       string(0) ""       ["positiveinteger"]=>       string(0) ""     }     ["http://www.w3.org/2000/10/xmlschema"]=>     array(11) {       ["i4"]=>       string(0) ""       ["int"]=>       string(7) "integer"       ["boolean"]=>       string(7) "boolean"       ["string"]=>       string(6) "string"       ["double"]=>       string(6) "double"       ["float"]=>       string(6) "double"       ["datetime"]=>       string(6) "string"       ["timeinstant"]=>       string(6) "string"       ["base64binary"]=>       string(6) "string"       ["base64"]=>       string(6) "string"       ["ur-type"]=>       string(5) "array"     }     ["http://www.w3.org/1999/xmlschema"]=>     array(11) {       ["i4"]=>       string(0) ""       ["int"]=>       string(7) "integer"       ["boolean"]=>       string(7) "boolean"       ["string"]=>       string(6) "string"       ["double"]=>       string(6) "double"       ["float"]=>       string(6) "double"       ["datetime"]=>       string(6) "string"       ["timeinstant"]=>       string(6) "string"       ["base64binary"]=>       string(6) "string"       ["base64"]=>       string(6) "string"       ["ur-type"]=>       string(5) "array"     }     ["http://soapinterop.org/xsd"]=>     array(1) {       ["soapstruct"]=>       string(6) "struct"     }     ["http://schemas.xmlsoap.org/soap/encoding/"]=>     array(3) {       ["base64"]=>       string(6) "string"       ["array"]=>       string(5) "array"       ["array"]=>       string(5) "array"     }     ["http://xml.apache.org/xml-soap"]=>     array(1) {       [0]=>       string(3) "map"     }   }   ["xmlentities"]=>   array(5) {     ["quot"]=>     string(1) """     ["amp"]=>     string(1) "&"     ["lt"]=>     string(1) "<"     ["gt"]=>     string(1) ">"     ["apos"]=>     string(1) "'"   }   ["wsdlfile"]=>   string(60) "https://******?wsdl"   ["wsdl"]=>   null } 

this code :

require_once('libs/nusoap/nusoap.php'); $soapclient = new nusoap_client('https://*****?wsdl','wsdl'); echo $soapclient->geterror() ; echo $soapclient; 


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -