Joined: 18 Dec 2006 |
Posts: 1 |
|
|
|
Posted: Sun Dec 17, 2006 1:03 pm |
|
|
|
|
|
Hi i have a error with the sample file: wsdlclient10.php
I use nusoap 0.7.2, please help me
The error is:
Quote: | Error
wsdl error: http://myserver/WebServices/Population:getCountries (getCountries) is not a supported type.
Request
Response
Debug
2006-12-18 12:48:29.731669 soapclient: instantiating wsdl class with doc: http://myserver/webservices/population/population.wsdl
2006-12-18 12:48:29.732022 wsdl: initial wsdl URL: http://myserver/webservices/population/population.wsdl
2006-12-18 12:48:29.732277 wsdl: getting WSDL http(s) URL http://myserver/webservices/population/population.wsdl
2006-12-18 12:48:29.732563 soap_transport_http: scheme = http
2006-12-18 12:48:29.732807 soap_transport_http: host = myserver
2006-12-18 12:48:29.733045 soap_transport_http: path = /webservices/population/population.wsdl
2006-12-18 12:48:29.733292 soap_transport_http: set Host: myserver
2006-12-18 12:48:29.733554 soap_transport_http: set User-Agent: NuSOAP/0.7.2 (1.94)
2006-12-18 12:48:29.733807 soap_transport_http: set Accept-Encoding: gzip, deflate
2006-12-18 12:48:29.734051 soap_transport_http: set Connection: close
2006-12-18 12:48:29.734300 soap_transport_http: entered send() with data of length: 0
2006-12-18 12:48:29.734554 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host myserver, port 80
2006-12-18 12:48:29.734799 soap_transport_http: calling fsockopen with host myserver connection_timeout 0
2006-12-18 12:48:29.848996 soap_transport_http: set response timeout to 30
2006-12-18 12:48:29.849292 soap_transport_http: socket connected
2006-12-18 12:48:29.849557 soap_transport_http: set Content-Length: 0
2006-12-18 12:48:29.849797 soap_transport_http: HTTP request: GET /webservices/population/population.wsdl HTTP/1.1
2006-12-18 12:48:29.850036 soap_transport_http: HTTP header: Host: myserver
2006-12-18 12:48:29.850271 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.7.2 (1.94)
2006-12-18 12:48:29.850505 soap_transport_http: HTTP header: Accept-Encoding: gzip, deflate
2006-12-18 12:48:29.850739 soap_transport_http: HTTP header: Connection: close
2006-12-18 12:48:29.850974 soap_transport_http: HTTP header: Content-Length: 0
2006-12-18 12:48:29.851312 soap_transport_http: wrote data to socket, length = 187
2006-12-18 12:48:30.000586 soap_transport_http: read line of 17 bytes: HTTP/1.1 200 OK
2006-12-18 12:48:30.000878 soap_transport_http: read line of 22 bytes: Content-Length: 9693
2006-12-18 12:48:30.001129 soap_transport_http: read line of 24 bytes: Content-Type: text/xml
2006-12-18 12:48:30.001375 soap_transport_http: read line of 46 bytes: Last-Modified: Sat, 14 Oct 2006 11:50:07 GMT
2006-12-18 12:48:30.001620 soap_transport_http: read line of 22 bytes: Accept-Ranges: bytes
2006-12-18 12:48:30.001865 soap_transport_http: read line of 30 bytes: ETag: "926e4be586efc61:151b"
2006-12-18 12:48:30.002111 soap_transport_http: read line of 27 bytes: Server: Microsoft-IIS/6.0
2006-12-18 12:48:30.002355 soap_transport_http: read line of 23 bytes: X-Powered-By: ASP.NET
2006-12-18 12:48:30.002600 soap_transport_http: read line of 37 bytes: Date: Mon, 18 Dec 2006 17:48:35 GMT
2006-12-18 12:48:30.002849 soap_transport_http: read line of 19 bytes: Connection: close
2006-12-18 12:48:30.003095 soap_transport_http: read line of 2 bytes:
2006-12-18 12:48:30.003394 soap_transport_http: found end of headers after length 269
2006-12-18 12:48:30.003717 soap_transport_http: want to read content of length 9693
2006-12-18 12:48:30.008805 soap_transport_http: read buffer of 2555 bytes
2006-12-18 12:48:30.129294 soap_transport_http: read buffer of 1412 bytes
2006-12-18 12:48:30.135165 soap_transport_http: read buffer of 1412 bytes
2006-12-18 12:48:30.144311 soap_transport_http: read buffer of 1412 bytes
2006-12-18 12:48:30.254288 soap_transport_http: read buffer of 1412 bytes
2006-12-18 12:48:30.261179 soap_transport_http: read buffer of 1412 bytes
2006-12-18 12:48:30.261725 soap_transport_http: read buffer of 78 bytes
2006-12-18 12:48:30.262164 soap_transport_http: read to EOF
2006-12-18 12:48:30.262527 soap_transport_http: read body of length 9693
2006-12-18 12:48:30.262899 soap_transport_http: received a total of 9962 bytes of data from server
2006-12-18 12:48:30.263347 soap_transport_http: closed socket
2006-12-18 12:48:30.263725 soap_transport_http: No Content-Encoding header
2006-12-18 12:48:30.264091 soap_transport_http: end of send()
2006-12-18 12:48:30.264468 wsdl: got WSDL URL
2006-12-18 12:48:30.264818 wsdl: Parse WSDL
2006-12-18 12:48:30.266162 wsdl: Parsing WSDL schema
2006-12-18 12:48:30.266578 XMLSchema: xmlschema class instantiated, inside constructor
2006-12-18 12:48:30.267089 XMLSchema: <http://myserver/WebServices/Population> processing untyped element getWorldPopulation
2006-12-18 12:48:30.267515 XMLSchema: <http://myserver/WebServices/Population> processing unnamed complexType for element getWorldPopulation
2006-12-18 12:48:30.267914 XMLSchema: <http://myserver/WebServices/Population> done processing complexType getWorldPopulation_ContainedType
2006-12-18 12:48:30.268309 XMLSchema: <http://myserver/WebServices/Population> done processing element getWorldPopulation
2006-12-18 12:48:30.268727 XMLSchema: <http://myserver/WebServices/Population> processing untyped element getWorldPopulationResponse
2006-12-18 12:48:30.269144 XMLSchema: <http://myserver/WebServices/Population> processing unnamed complexType for element getWorldPopulationResponse
2006-12-18 12:48:30.269648 XMLSchema: <http://myserver/WebServices/Population> processing untyped element getWorldPopulationResult
2006-12-18 12:48:30.270050 XMLSchema: <http://myserver/WebServices/Population> done processing element getWorldPopulationResult
2006-12-18 12:48:30.270476 XMLSchema: <http://myserver/WebServices/Population> done processing complexType getWorldPopulationResponse_ContainedType
2006-12-18 12:48:30.270895 XMLSchema: <http://myserver/WebServices/Population> done processing element getWorldPopulationResponse
2006-12-18 12:48:30.271317 XMLSchema: <http://myserver/WebServices/Population> processing untyped element getPopulation
2006-12-18 12:48:30.271743 XMLSchema: <http://myserver/WebServices/Population> processing unnamed complexType for element getPopulation
2006-12-18 12:48:30.272270 XMLSchema: <http://myserver/WebServices/Population> processing typed element strCountry of type http://www.w3.org/2001/XMLSchema:string
2006-12-18 12:48:30.272677 XMLSchema: <http://myserver/WebServices/Population> done processing element strCountry
2006-12-18 12:48:30.273103 XMLSchema: <http://myserver/WebServices/Population> done processing complexType getPopulation_ContainedType
2006-12-18 12:48:30.273496 XMLSchema: <http://myserver/WebServices/Population> done processing element getPopulation
2006-12-18 12:48:30.273911 XMLSchema: <http://myserver/WebServices/Population> processing named complexType Population
2006-12-18 12:48:30.274435 XMLSchema: <http://myserver/WebServices/Population> processing typed element Country of type http://www.w3.org/2001/XMLSchema:string
2006-12-18 12:48:30.274841 XMLSchema: <http://myserver/WebServices/Population> done processing element Country
2006-12-18 12:48:30.275300 XMLSchema: <http://myserver/WebServices/Population> processing typed element Date of type http://www.w3.org/2001/XMLSchema:string
2006-12-18 12:48:30.275705 XMLSchema: <http://myserver/WebServices/Population> done processing element Date
2006-12-18 12:48:30.276165 XMLSchema: <http://myserver/WebServices/Population> processing typed element Pop of type http://www.w3.org/2001/XMLSchema:string
2006-12-18 12:48:30.276569 XMLSchema: <http://myserver/WebServices/Population> done processing element Pop
2006-12-18 12:48:30.276994 XMLSchema: <http://myserver/WebServices/Population> done processing complexType Population
2006-12-18 12:48:30.277412 XMLSchema: <http://myserver/WebServices/Population> processing untyped element getPopulationResponse
2006-12-18 12:48:30.277833 XMLSchema: <http://myserver/WebServices/Population> processing unnamed complexType for element getPopulationResponse
2006-12-18 12:48:30.278357 XMLSchema: <http://myserver/WebServices/Population> processing typed element getPopulationResult of type http://myserver/WebServices/Population:Population
2006-12-18 12:48:30.278762 XMLSchema: <http://myserver/WebServices/Population> done processing element getPopulationResult
2006-12-18 12:48:30.279188 XMLSchema: <http://myserver/WebServices/Population> done processing complexType getPopulationResponse_ContainedType
2006-12-18 12:48:30.279581 XMLSchema: <http://myserver/WebServices/Population> done processing element getPopulationResponse
2006-12-18 12:48:30.280004 XMLSchema: <http://myserver/WebServices/Population> processing untyped element getCountries
2006-12-18 12:48:30.280430 XMLSchema: <http://myserver/WebServices/Population> processing unnamed complexType for element getCountries
2006-12-18 12:48:30.280825 XMLSchema: <http://myserver/WebServices/Population> done processing complexType getCountries_ContainedType
2006-12-18 12:48:30.281218 XMLSchema: <http://myserver/WebServices/Population> done processing element getCountries
2006-12-18 12:48:30.281633 XMLSchema: <http://myserver/WebServices/Population> processing named complexType ArrayOfString
2006-12-18 12:48:30.282169 XMLSchema: <http://myserver/WebServices/Population> processing typed element string of type http://www.w3.org/2001/XMLSchema:string
2006-12-18 12:48:30.282575 XMLSchema: <http://myserver/WebServices/Population> done processing element string
2006-12-18 12:48:30.283001 XMLSchema: <http://myserver/WebServices/Population> done processing complexType ArrayOfString
2006-12-18 12:48:30.283418 XMLSchema: <http://myserver/WebServices/Population> processing untyped element getCountriesResponse
2006-12-18 12:48:30.283835 XMLSchema: <http://myserver/WebServices/Population> processing unnamed complexType for element getCountriesResponse
2006-12-18 12:48:30.284363 XMLSchema: <http://myserver/WebServices/Population> processing typed element getCountriesResult of type http://myserver/WebServices/Population:ArrayOfString
2006-12-18 12:48:30.284769 XMLSchema: <http://myserver/WebServices/Population> done processing element getCountriesResult
2006-12-18 12:48:30.285194 XMLSchema: <http://myserver/WebServices/Population> done processing complexType getCountriesResponse_ContainedType
2006-12-18 12:48:30.285587 XMLSchema: <http://myserver/WebServices/Population> done processing element getCountriesResponse
2006-12-18 12:48:30.286015 XMLSchema: <http://myserver/WebServices/Population> processing untyped element anyType
2006-12-18 12:48:30.286415 XMLSchema: <http://myserver/WebServices/Population> done processing element anyType
2006-12-18 12:48:30.286871 XMLSchema: <http://myserver/WebServices/Population> processing typed element Population of type http://myserver/WebServices/Population:Population
2006-12-18 12:48:30.287273 XMLSchema: <http://myserver/WebServices/Population> done processing element Population
2006-12-18 12:48:30.287722 XMLSchema: <http://myserver/WebServices/Population> processing typed element ArrayOfString of type http://myserver/WebServices/Population:ArrayOfString
2006-12-18 12:48:30.288125 XMLSchema: <http://myserver/WebServices/Population> done processing element ArrayOfString
2006-12-18 12:48:30.288515 wsdl: Parsing WSDL schema done
2006-12-18 12:48:30.289006 wsdl: msg getWorldPopulationSoapIn: found part parameters: parameters,http://myserver/WebServices/Population:getWorldPopulation
2006-12-18 12:48:30.289509 wsdl: msg getWorldPopulationSoapOut: found part parameters: parameters,http://myserver/WebServices/Population:getWorldPopulationResponse
2006-12-18 12:48:30.290010 wsdl: msg getPopulationSoapIn: found part parameters: parameters,http://myserver/WebServices/Population:getPopulation
2006-12-18 12:48:30.290512 wsdl: msg getPopulationSoapOut: found part parameters: parameters,http://myserver/WebServices/Population:getPopulationResponse
2006-12-18 12:48:30.291014 wsdl: msg getCountriesSoapIn: found part parameters: parameters,http://myserver/WebServices/Population:getCountries
2006-12-18 12:48:30.291515 wsdl: msg getCountriesSoapOut: found part parameters: parameters,http://myserver/WebServices/Population:getCountriesResponse
2006-12-18 12:48:30.292072 wsdl: msg getWorldPopulationHttpGetOut: found part Body: Body,http://myserver/WebServices/Population:anyType
2006-12-18 12:48:30.292574 wsdl: msg getPopulationHttpGetIn: found part strCountry: strCountry,http://www.w3.org/2001/XMLSchema:string
2006-12-18 12:48:30.293076 wsdl: msg getPopulationHttpGetOut: found part Body: Body,http://myserver/WebServices/Population:Population
2006-12-18 12:48:30.293641 wsdl: msg getCountriesHttpGetOut: found part Body: Body,http://myserver/WebServices/Population:ArrayOfString
2006-12-18 12:48:30.294199 wsdl: msg getWorldPopulationHttpPostOut: found part Body: Body,http://myserver/WebServices/Population:anyType
2006-12-18 12:48:30.294700 wsdl: msg getPopulationHttpPostIn: found part strCountry: strCountry,http://www.w3.org/2001/XMLSchema:string
2006-12-18 12:48:30.295202 wsdl: msg getPopulationHttpPostOut: found part Body: Body,http://myserver/WebServices/Population:Population
2006-12-18 12:48:30.295760 wsdl: msg getCountriesHttpPostOut: found part Body: Body,http://myserver/WebServices/Population:ArrayOfString
2006-12-18 12:48:30.296240 wsdl: portType PopulationWSSoap operation: getWorldPopulation
2006-12-18 12:48:30.296807 wsdl: portType PopulationWSSoap operation: getPopulation
2006-12-18 12:48:30.297372 wsdl: portType PopulationWSSoap operation: getCountries
2006-12-18 12:48:30.298007 wsdl: portType PopulationWSHttpGet operation: getWorldPopulation
2006-12-18 12:48:30.298573 wsdl: portType PopulationWSHttpGet operation: getPopulation
2006-12-18 12:48:30.299152 wsdl: portType PopulationWSHttpGet operation: getCountries
2006-12-18 12:48:30.299788 wsdl: portType PopulationWSHttpPost operation: getWorldPopulation
2006-12-18 12:48:30.300354 wsdl: portType PopulationWSHttpPost operation: getPopulation
2006-12-18 12:48:30.300919 wsdl: portType PopulationWSHttpPost operation: getCountries
2006-12-18 12:48:30.301540 wsdl: current binding: PopulationWSSoap of portType: http://myserver/WebServices/Population:PopulationWSSoap
2006-12-18 12:48:30.302031 wsdl: current binding operation: getWorldPopulation
2006-12-18 12:48:30.302783 wsdl: current binding operation: getPopulation
2006-12-18 12:48:30.303530 wsdl: current binding operation: getCountries
2006-12-18 12:48:30.304350 wsdl: current binding: PopulationWSHttpGet of portType: http://myserver/WebServices/Population:PopulationWSHttpGet
2006-12-18 12:48:30.304868 wsdl: current binding operation: getWorldPopulation
2006-12-18 12:48:30.305599 wsdl: current binding operation: getPopulation
2006-12-18 12:48:30.306322 wsdl: current binding operation: getCountries
2006-12-18 12:48:30.307097 wsdl: current binding: PopulationWSHttpPost of portType: http://myserver/WebServices/Population:PopulationWSHttpPost
2006-12-18 12:48:30.307570 wsdl: current binding operation: getWorldPopulation
2006-12-18 12:48:30.308304 wsdl: current binding operation: getPopulation
2006-12-18 12:48:30.309033 wsdl: current binding operation: getCountries
2006-12-18 12:48:30.309786 wsdl: current service: PopulationWS
2006-12-18 12:48:30.310212 wsdl: current port: PopulationWSSoap
2006-12-18 12:48:30.310735 wsdl: current port: PopulationWSHttpGet
2006-12-18 12:48:30.311255 wsdl: current port: PopulationWSHttpPost
2006-12-18 12:48:30.311761 wsdl: Parsing WSDL done
2006-12-18 12:48:30.312147 wsdl: post-parse data gathering for getWorldPopulation
2006-12-18 12:48:30.312536 wsdl: post-parse data gathering for getPopulation
2006-12-18 12:48:30.312916 wsdl: post-parse data gathering for getCountries
2006-12-18 12:48:30.313299 wsdl: post-parse data gathering for getWorldPopulation
2006-12-18 12:48:30.313673 wsdl: post-parse data gathering for getPopulation
2006-12-18 12:48:30.314045 wsdl: post-parse data gathering for getCountries
2006-12-18 12:48:30.314421 wsdl: post-parse data gathering for getWorldPopulation
2006-12-18 12:48:30.314795 wsdl: post-parse data gathering for getPopulation
2006-12-18 12:48:30.315166 wsdl: post-parse data gathering for getCountries
2006-12-18 12:48:30.315600 soapclient: got 3 operations from wsdl http://myserver/webservices/population/population.wsdl
2006-12-18 12:48:30.315974 soapclient: call: operation=getCountries, namespace=, soapAction=, rpcParams=1, style=rpc, use=encoded, endpointType=wsdl
params=array(0) {
}
headers=bool(false)
2006-12-18 12:48:30.316358 soapclient: found operation
opData=array(9) {
["name"]=>
string(12) "getCountries"
["binding"]=>
string(16) "PopulationWSSoap"
["endpoint"]=>
string(66) "http://myserver/WebServices/Population/population.asmx"
["soapAction"]=>
string(63) "http://myserver/WebServices/Population/getCountries"
["style"]=>
string( "document"
["input"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(1 "getCountriesSoapIn"
["parts"]=>
array(1) {
["parameters"]=>
string(63) "http://myserver/WebServices/Population:getCountries"
}
}
["output"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(19) "getCountriesSoapOut"
["parts"]=>
array(1) {
["parameters"]=>
string(71) "http://myserver/WebServices/Population:getCountriesResponse"
}
}
["transport"]=>
string(36) "http://schemas.xmlsoap.org/soap/http"
["documentation"]=>
string(0) ""
}
2006-12-18 12:48:30.316771 soapclient: serializing param array for WSDL operation getCountries
2006-12-18 12:48:30.317145 wsdl: in serializeRPCParameters: operation=getCountries, direction=input, XMLSchemaVersion=http://www.w3.org/2001/XMLSchema
parameters=array(0) {
}
2006-12-18 12:48:30.317527 wsdl: opData:
array(9) {
["name"]=>
string(12) "getCountries"
["binding"]=>
string(16) "PopulationWSSoap"
["endpoint"]=>
string(66) "http://myserver/WebServices/Population/population.asmx"
["soapAction"]=>
string(63) "http://myserver/WebServices/Population/getCountries"
["style"]=>
string( "document"
["input"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(1 "getCountriesSoapIn"
["parts"]=>
array(1) {
["parameters"]=>
string(63) "http://myserver/WebServices/Population:getCountries"
}
}
["output"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(19) "getCountriesSoapOut"
["parts"]=>
array(1) {
["parameters"]=>
string(71) "http://myserver/WebServices/Population:getCountriesResponse"
}
}
["transport"]=>
string(36) "http://schemas.xmlsoap.org/soap/http"
["documentation"]=>
string(0) ""
}
2006-12-18 12:48:30.317941 wsdl: have 1 part(s) to serialize
2006-12-18 12:48:30.318300 wsdl: have 0 parameter(s) provided as arraySimple to serialize
2006-12-18 12:48:30.318654 wsdl: serializing part "parameters" of type "http://myserver/WebServices/Population:getCountries"
2006-12-18 12:48:30.319006 wsdl: calling serializeType w/indexed param
2006-12-18 12:48:30.319363 wsdl: in serializeType: name=parameters, type=http://myserver/WebServices/Population:getCountries, use=literal, encodingStyle=, unqualified=qualified
value=NULL
2006-12-18 12:48:30.319731 wsdl: in serializeType: got a prefixed type: getCountries, http://myserver/WebServices/Population
2006-12-18 12:48:30.320093 wsdl: in getTypeDef: type=getCountries, ns=http://myserver/WebServices/Population
2006-12-18 12:48:30.320447 wsdl: in getTypeDef: do not have schema for namespace http://myserver/WebServices/Population
2006-12-18 12:48:30.320803 wsdl: in serializeType: http://myserver/WebServices/Population:getCountries (getCountries) is not a supported type.
2006-12-18 12:48:30.321156 wsdl: serializeRPCParameters returning:
2006-12-18 12:48:30.321527 soapclient: got wsdl error: http://myserver/WebServices/Population:getCountries (getCountries) is not a supported type.
|
|
|