<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	「续PHP下webSerives的nusoap使用」的评论	</title>
	<atom:link href="https://www.mudbest.com/%e7%bb%adphp%e4%b8%8bwebserives%e7%9a%84nusoap%e4%bd%bf%e7%94%a8/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.mudbest.com/%e7%bb%adphp%e4%b8%8bwebserives%e7%9a%84nusoap%e4%bd%bf%e7%94%a8/</link>
	<description>行影不离,忘之却步.</description>
	<lastBuildDate>Tue, 12 Aug 2014 08:14:11 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>
		评论者：疯子		</title>
		<link>https://www.mudbest.com/%e7%bb%adphp%e4%b8%8bwebserives%e7%9a%84nusoap%e4%bd%bf%e7%94%a8/#comment-85168</link>

		<dc:creator><![CDATA[疯子]]></dc:creator>
		<pubDate>Tue, 12 Aug 2014 08:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mudbest.com/?p=1908#comment-85168</guid>

					<description><![CDATA[我把你的方法整合到Yii框架时，报
Error

Response not of type text/xml: text/html
能解答一下吗？
Debug

2014-08-12 16:09:37.480720 nusoap_client: ctor wsdl= timeout=0 response_timeout=30
endpoint=string(66) &quot;http://localhost/allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl&quot;
2014-08-12 16:09:37.480767 nusoap_client: instantiate SOAP with endpoint at http://localhost/allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl
2014-08-12 16:09:37.480803 nusoap_client: call: operation=WebServiceClientController.callTest, namespace=http://tempuri.org, soapAction=, rpcParams=, style=rpc, use=encoded, endpointType=soap
params=array(2) {
  [&quot;userInfo&quot;]=&#062;
  array(3) {
    [&quot;firstname&quot;]=&#062;
    string(5) &quot;Willi&quot;
    [&quot;age&quot;]=&#062;
    int(22)
    [&quot;gender&quot;]=&#062;
    string(4) &quot;male&quot;
  }
  [&quot;interfaceType&quot;]=&#062;
  array(1) {
    [&quot;type&quot;]=&#062;
    string(4) &quot;1==2&quot;
  }
}
headers=bool(false)
2014-08-12 16:09:37.480844 nusoap_client: serializing param array for operation WebServiceClientController.callTest
2014-08-12 16:09:37.480863 nusoap_client: in serialize_val: name=userInfo, type=, name_ns=, type_ns=, use=encoded, soapval=
value=array(3) {
  [&quot;firstname&quot;]=&#062;
  string(5) &quot;Willi&quot;
  [&quot;age&quot;]=&#062;
  int(22)
  [&quot;gender&quot;]=&#062;
  string(4) &quot;male&quot;
}
attributes=bool(false)
2014-08-12 16:09:37.480914 nusoap_client: serialize_val: serialize struct
2014-08-12 16:09:37.480935 nusoap_client: in serialize_val: name=firstname, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(5) &quot;Willi&quot;
attributes=bool(false)
2014-08-12 16:09:37.480960 nusoap_client: serialize_val: serialize string
2014-08-12 16:09:37.480982 nusoap_client: serialize_val returning Willi
2014-08-12 16:09:37.480998 nusoap_client: in serialize_val: name=age, type=, name_ns=, type_ns=, use=encoded, soapval=
value=int(22)
attributes=bool(false)
2014-08-12 16:09:37.481019 nusoap_client: serialize_val: serialize int
2014-08-12 16:09:37.481033 nusoap_client: serialize_val returning 22
2014-08-12 16:09:37.481048 nusoap_client: in serialize_val: name=gender, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(4) &quot;male&quot;
attributes=bool(false)
2014-08-12 16:09:37.481070 nusoap_client: serialize_val: serialize string
2014-08-12 16:09:37.481087 nusoap_client: serialize_val returning male
2014-08-12 16:09:37.481100 nusoap_client: serialize_val returning Willi22male
2014-08-12 16:09:37.481116 nusoap_client: in serialize_val: name=interfaceType, type=, name_ns=, type_ns=, use=encoded, soapval=
value=array(1) {
  [&quot;type&quot;]=&#062;
  string(4) &quot;1==2&quot;
}
attributes=bool(false)
2014-08-12 16:09:37.481144 nusoap_client: serialize_val: serialize struct
2014-08-12 16:09:37.481160 nusoap_client: in serialize_val: name=type, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(4) &quot;1==2&quot;
attributes=bool(false)
2014-08-12 16:09:37.481180 nusoap_client: serialize_val: serialize string
2014-08-12 16:09:37.481197 nusoap_client: serialize_val returning 1==2
2014-08-12 16:09:37.481210 nusoap_client: serialize_val returning 1==2
2014-08-12 16:09:37.481224 nusoap_client: wrapping RPC request with encoded method element
2014-08-12 16:09:37.481243 nusoap_client: In serializeEnvelope length=339 body (max 1000 characters)=Willi22male1==2 style=rpc use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2014-08-12 16:09:37.481255 nusoap_client: headers:
bool(false)
2014-08-12 16:09:37.481272 nusoap_client: namespaces:
array(0) {
}
2014-08-12 16:09:37.481300 nusoap_client: endpoint=http://localhost/allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl, soapAction=, namespace=http://tempuri.org, style=rpc, use=encoded, encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2014-08-12 16:09:37.481315 nusoap_client: SOAP message length=736 contents (max 1000 bytes)=Willi22male1==2
2014-08-12 16:09:37.481337 nusoap_client: transporting via HTTP
2014-08-12 16:09:37.481534 nusoap_client: sending message, length=736
2014-08-12 16:09:37.481377 soap_transport_http: ctor url=http://localhost/allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl use_curl= curl_options:
array(0) {
}
2014-08-12 16:09:37.481404 soap_transport_http: parsed URL scheme = http
2014-08-12 16:09:37.481418 soap_transport_http: parsed URL host = localhost
2014-08-12 16:09:37.481431 soap_transport_http: parsed URL path = /allApi/ympapi/ympapi/index.php/YWS/SericeWeb
2014-08-12 16:09:37.481442 soap_transport_http: parsed URL query = wsdl
2014-08-12 16:09:37.481466 soap_transport_http: set header Host: localhost
2014-08-12 16:09:37.481488 soap_transport_http: set header User-Agent: NuSOAP/0.9.5 (1.123)
2014-08-12 16:09:37.481506 soap_transport_http: set header Content-Type: text/xml; charset=ISO-8859-1
2014-08-12 16:09:37.481520 soap_transport_http: set header SOAPAction: &quot;&quot;
2014-08-12 16:09:37.481552 soap_transport_http: entered send() with data of length: 736
2014-08-12 16:09:37.481569 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host localhost, port 80
2014-08-12 16:09:37.481596 soap_transport_http: calling fsockopen with host localhost connection_timeout 0
2014-08-12 16:09:37.482825 soap_transport_http: set response timeout to 30
2014-08-12 16:09:37.482859 soap_transport_http: socket connected
2014-08-12 16:09:37.482896 soap_transport_http: set header Content-Length: 736
2014-08-12 16:09:37.482919 soap_transport_http: HTTP request: POST /allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl HTTP/1.0
2014-08-12 16:09:37.482935 soap_transport_http: HTTP header: Host: localhost
2014-08-12 16:09:37.482948 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.9.5 (1.123)
2014-08-12 16:09:37.482961 soap_transport_http: HTTP header: Content-Type: text/xml; charset=ISO-8859-1
2014-08-12 16:09:37.482973 soap_transport_http: HTTP header: SOAPAction: &quot;&quot;
2014-08-12 16:09:37.482986 soap_transport_http: HTTP header: Content-Length: 736
2014-08-12 16:09:37.483389 soap_transport_http: wrote data to socket, length = 936
2014-08-12 16:09:37.538893 soap_transport_http: read line of 36 bytes: HTTP/1.0 500 Internal Server Error
2014-08-12 16:09:37.538954 soap_transport_http: read line of 37 bytes: Date: Tue, 12 Aug 2014 08:09:37 GMT
2014-08-12 16:09:37.538990 soap_transport_http: read line of 56 bytes: Server: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19
2014-08-12 16:09:37.539023 soap_transport_http: read line of 26 bytes: X-Powered-By: PHP/5.4.19
2014-08-12 16:09:37.539056 soap_transport_http: read line of 19 bytes: Connection: close
2014-08-12 16:09:37.539087 soap_transport_http: read line of 25 bytes: Content-Type: text/html
2014-08-12 16:09:37.539118 soap_transport_http: read line of 2 bytes: 
2014-08-12 16:09:37.539153 soap_transport_http: found end of headers after length 201
2014-08-12 16:09:37.539220 soap_transport_http: want to read content to EOF
2014-08-12 16:09:37.539328 soap_transport_http: read buffer of 8192 bytes
2014-08-12 16:09:37.542961 soap_transport_http: read buffer of 3250 bytes
2014-08-12 16:09:37.543140 soap_transport_http: read buffer of 5339 bytes
2014-08-12 16:09:37.547216 soap_transport_http: read buffer of 1682 bytes
2014-08-12 16:09:37.547397 soap_transport_http: read buffer of 0 bytes
2014-08-12 16:09:37.547419 soap_transport_http: read to EOF
2014-08-12 16:09:37.547433 soap_transport_http: read body of length 18463
2014-08-12 16:09:37.547455 soap_transport_http: received a total of 18664 bytes of data from server
2014-08-12 16:09:37.547665 soap_transport_http: closed socket
2014-08-12 16:09:37.547694 soap_transport_http: No Content-Encoding header
2014-08-12 16:09:37.547712 soap_transport_http: end of send()
2014-08-12 16:09:37.547742 nusoap_client: got response, length=18463 type=text/html
2014-08-12 16:09:37.547758 nusoap_client: Entering parseResponse() for data of length 18463 headers:
array(5) {
  [&quot;date&quot;]=&#062;
  string(29) &quot;Tue, 12 Aug 2014 08:09:37 GMT&quot;
  [&quot;server&quot;]=&#062;
  string(46) &quot;Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19&quot;
  [&quot;x-powered-by&quot;]=&#062;
  string(10) &quot;PHP/5.4.19&quot;
  [&quot;connection&quot;]=&#062;
  string(5) &quot;close&quot;
  [&quot;content-type&quot;]=&#062;
  string(9) &quot;text/html&quot;
}
2014-08-12 16:09:37.547800 nusoap_client: Error: Response not of type text/xml: text/html]]></description>
			<content:encoded><![CDATA[<p>我把你的方法整合到Yii框架时，报<br />
Error</p>
<p>Response not of type text/xml: text/html<br />
能解答一下吗？<br />
Debug</p>
<p>2014-08-12 16:09:37.480720 nusoap_client: ctor wsdl= timeout=0 response_timeout=30<br />
endpoint=string(66) &#8220;http://localhost/allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl&#8221;<br />
2014-08-12 16:09:37.480767 nusoap_client: instantiate SOAP with endpoint at <a href="http://localhost/allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl" rel="nofollow ugc">http://localhost/allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl</a><br />
2014-08-12 16:09:37.480803 nusoap_client: call: operation=WebServiceClientController.callTest, namespace=http://tempuri.org, soapAction=, rpcParams=, style=rpc, use=encoded, endpointType=soap<br />
params=array(2) {<br />
  [&#8220;userInfo&#8221;]=&gt;<br />
  array(3) {<br />
    [&#8220;firstname&#8221;]=&gt;<br />
    string(5) &#8220;Willi&#8221;<br />
    [&#8220;age&#8221;]=&gt;<br />
    int(22)<br />
    [&#8220;gender&#8221;]=&gt;<br />
    string(4) &#8220;male&#8221;<br />
  }<br />
  [&#8220;interfaceType&#8221;]=&gt;<br />
  array(1) {<br />
    [&#8220;type&#8221;]=&gt;<br />
    string(4) &#8220;1==2&#8221;<br />
  }<br />
}<br />
headers=bool(false)<br />
2014-08-12 16:09:37.480844 nusoap_client: serializing param array for operation WebServiceClientController.callTest<br />
2014-08-12 16:09:37.480863 nusoap_client: in serialize_val: name=userInfo, type=, name_ns=, type_ns=, use=encoded, soapval=<br />
value=array(3) {<br />
  [&#8220;firstname&#8221;]=&gt;<br />
  string(5) &#8220;Willi&#8221;<br />
  [&#8220;age&#8221;]=&gt;<br />
  int(22)<br />
  [&#8220;gender&#8221;]=&gt;<br />
  string(4) &#8220;male&#8221;<br />
}<br />
attributes=bool(false)<br />
2014-08-12 16:09:37.480914 nusoap_client: serialize_val: serialize struct<br />
2014-08-12 16:09:37.480935 nusoap_client: in serialize_val: name=firstname, type=, name_ns=, type_ns=, use=encoded, soapval=<br />
value=string(5) &#8220;Willi&#8221;<br />
attributes=bool(false)<br />
2014-08-12 16:09:37.480960 nusoap_client: serialize_val: serialize string<br />
2014-08-12 16:09:37.480982 nusoap_client: serialize_val returning Willi<br />
2014-08-12 16:09:37.480998 nusoap_client: in serialize_val: name=age, type=, name_ns=, type_ns=, use=encoded, soapval=<br />
value=int(22)<br />
attributes=bool(false)<br />
2014-08-12 16:09:37.481019 nusoap_client: serialize_val: serialize int<br />
2014-08-12 16:09:37.481033 nusoap_client: serialize_val returning 22<br />
2014-08-12 16:09:37.481048 nusoap_client: in serialize_val: name=gender, type=, name_ns=, type_ns=, use=encoded, soapval=<br />
value=string(4) &#8220;male&#8221;<br />
attributes=bool(false)<br />
2014-08-12 16:09:37.481070 nusoap_client: serialize_val: serialize string<br />
2014-08-12 16:09:37.481087 nusoap_client: serialize_val returning male<br />
2014-08-12 16:09:37.481100 nusoap_client: serialize_val returning Willi22male<br />
2014-08-12 16:09:37.481116 nusoap_client: in serialize_val: name=interfaceType, type=, name_ns=, type_ns=, use=encoded, soapval=<br />
value=array(1) {<br />
  [&#8220;type&#8221;]=&gt;<br />
  string(4) &#8220;1==2&#8221;<br />
}<br />
attributes=bool(false)<br />
2014-08-12 16:09:37.481144 nusoap_client: serialize_val: serialize struct<br />
2014-08-12 16:09:37.481160 nusoap_client: in serialize_val: name=type, type=, name_ns=, type_ns=, use=encoded, soapval=<br />
value=string(4) &#8220;1==2&#8221;<br />
attributes=bool(false)<br />
2014-08-12 16:09:37.481180 nusoap_client: serialize_val: serialize string<br />
2014-08-12 16:09:37.481197 nusoap_client: serialize_val returning 1==2<br />
2014-08-12 16:09:37.481210 nusoap_client: serialize_val returning 1==2<br />
2014-08-12 16:09:37.481224 nusoap_client: wrapping RPC request with encoded method element<br />
2014-08-12 16:09:37.481243 nusoap_client: In serializeEnvelope length=339 body (max 1000 characters)=Willi22male1==2 style=rpc use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/<br />
2014-08-12 16:09:37.481255 nusoap_client: headers:<br />
bool(false)<br />
2014-08-12 16:09:37.481272 nusoap_client: namespaces:<br />
array(0) {<br />
}<br />
2014-08-12 16:09:37.481300 nusoap_client: endpoint=http://localhost/allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl, soapAction=, namespace=http://tempuri.org, style=rpc, use=encoded, encodingStyle=http://schemas.xmlsoap.org/soap/encoding/<br />
2014-08-12 16:09:37.481315 nusoap_client: SOAP message length=736 contents (max 1000 bytes)=Willi22male1==2<br />
2014-08-12 16:09:37.481337 nusoap_client: transporting via HTTP<br />
2014-08-12 16:09:37.481534 nusoap_client: sending message, length=736<br />
2014-08-12 16:09:37.481377 soap_transport_http: ctor url=http://localhost/allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl use_curl= curl_options:<br />
array(0) {<br />
}<br />
2014-08-12 16:09:37.481404 soap_transport_http: parsed URL scheme = http<br />
2014-08-12 16:09:37.481418 soap_transport_http: parsed URL host = localhost<br />
2014-08-12 16:09:37.481431 soap_transport_http: parsed URL path = /allApi/ympapi/ympapi/index.php/YWS/SericeWeb<br />
2014-08-12 16:09:37.481442 soap_transport_http: parsed URL query = wsdl<br />
2014-08-12 16:09:37.481466 soap_transport_http: set header Host: localhost<br />
2014-08-12 16:09:37.481488 soap_transport_http: set header User-Agent: NuSOAP/0.9.5 (1.123)<br />
2014-08-12 16:09:37.481506 soap_transport_http: set header Content-Type: text/xml; charset=ISO-8859-1<br />
2014-08-12 16:09:37.481520 soap_transport_http: set header SOAPAction: &#8220;&#8221;<br />
2014-08-12 16:09:37.481552 soap_transport_http: entered send() with data of length: 736<br />
2014-08-12 16:09:37.481569 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host localhost, port 80<br />
2014-08-12 16:09:37.481596 soap_transport_http: calling fsockopen with host localhost connection_timeout 0<br />
2014-08-12 16:09:37.482825 soap_transport_http: set response timeout to 30<br />
2014-08-12 16:09:37.482859 soap_transport_http: socket connected<br />
2014-08-12 16:09:37.482896 soap_transport_http: set header Content-Length: 736<br />
2014-08-12 16:09:37.482919 soap_transport_http: HTTP request: POST /allApi/ympapi/ympapi/index.php/YWS/SericeWeb?wsdl HTTP/1.0<br />
2014-08-12 16:09:37.482935 soap_transport_http: HTTP header: Host: localhost<br />
2014-08-12 16:09:37.482948 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.9.5 (1.123)<br />
2014-08-12 16:09:37.482961 soap_transport_http: HTTP header: Content-Type: text/xml; charset=ISO-8859-1<br />
2014-08-12 16:09:37.482973 soap_transport_http: HTTP header: SOAPAction: &#8220;&#8221;<br />
2014-08-12 16:09:37.482986 soap_transport_http: HTTP header: Content-Length: 736<br />
2014-08-12 16:09:37.483389 soap_transport_http: wrote data to socket, length = 936<br />
2014-08-12 16:09:37.538893 soap_transport_http: read line of 36 bytes: HTTP/1.0 500 Internal Server Error<br />
2014-08-12 16:09:37.538954 soap_transport_http: read line of 37 bytes: Date: Tue, 12 Aug 2014 08:09:37 GMT<br />
2014-08-12 16:09:37.538990 soap_transport_http: read line of 56 bytes: Server: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19<br />
2014-08-12 16:09:37.539023 soap_transport_http: read line of 26 bytes: X-Powered-By: PHP/5.4.19<br />
2014-08-12 16:09:37.539056 soap_transport_http: read line of 19 bytes: Connection: close<br />
2014-08-12 16:09:37.539087 soap_transport_http: read line of 25 bytes: Content-Type: text/html<br />
2014-08-12 16:09:37.539118 soap_transport_http: read line of 2 bytes:<br />
2014-08-12 16:09:37.539153 soap_transport_http: found end of headers after length 201<br />
2014-08-12 16:09:37.539220 soap_transport_http: want to read content to EOF<br />
2014-08-12 16:09:37.539328 soap_transport_http: read buffer of 8192 bytes<br />
2014-08-12 16:09:37.542961 soap_transport_http: read buffer of 3250 bytes<br />
2014-08-12 16:09:37.543140 soap_transport_http: read buffer of 5339 bytes<br />
2014-08-12 16:09:37.547216 soap_transport_http: read buffer of 1682 bytes<br />
2014-08-12 16:09:37.547397 soap_transport_http: read buffer of 0 bytes<br />
2014-08-12 16:09:37.547419 soap_transport_http: read to EOF<br />
2014-08-12 16:09:37.547433 soap_transport_http: read body of length 18463<br />
2014-08-12 16:09:37.547455 soap_transport_http: received a total of 18664 bytes of data from server<br />
2014-08-12 16:09:37.547665 soap_transport_http: closed socket<br />
2014-08-12 16:09:37.547694 soap_transport_http: No Content-Encoding header<br />
2014-08-12 16:09:37.547712 soap_transport_http: end of send()<br />
2014-08-12 16:09:37.547742 nusoap_client: got response, length=18463 type=text/html<br />
2014-08-12 16:09:37.547758 nusoap_client: Entering parseResponse() for data of length 18463 headers:<br />
array(5) {<br />
  [&#8220;date&#8221;]=&gt;<br />
  string(29) &#8220;Tue, 12 Aug 2014 08:09:37 GMT&#8221;<br />
  [&#8220;server&#8221;]=&gt;<br />
  string(46) &#8220;Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19&#8221;<br />
  [&#8220;x-powered-by&#8221;]=&gt;<br />
  string(10) &#8220;PHP/5.4.19&#8221;<br />
  [&#8220;connection&#8221;]=&gt;<br />
  string(5) &#8220;close&#8221;<br />
  [&#8220;content-type&#8221;]=&gt;<br />
  string(9) &#8220;text/html&#8221;<br />
}<br />
2014-08-12 16:09:37.547800 nusoap_client: Error: Response not of type text/xml: text/html</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
