Hi, I'm trying to use the EXAMPLE17 pattern but it can't parse the response from the server (see attached file QACX17M2V3). It shows: "XML parse failed at line 1, col 2: not well-formed (invalid token)". It doesn't seem to be that bad to me. Where am I wrong? Thanks and regards. Paolo
Attachment:
QACX17M2V3
Description: Binary data
HTTPAPI Ver 1.24 released 2012-01-23 OS/400 Ver V5R4M0 http_url_post(): entered http_persist_open(): entered http_long_ParseURL(): entered DNS resolver retrans: 2 DNS resolver retry : 2 DNS resolver options: x'00000136' DNS default domain: GME DNS server found: 192.168.100.30 http_persist_post(): entered http_persist_req(POST) entered. http_long_ParseURL(): entered do_oper(POST): entered There are 0 cookies in the cache POST /passwd-ldap/soap-server/authentication.php HTTP/1.1 Host: 192.168.100.31 User-Agent: http-api/1.24 Content-Type: text/xml SOAPAction: http://192.168.100.31/passwd-ldap/soap-server/authentication.php Content-Length: 762 senddoc(): entered <?xml version="1.0" encoding="iso-8859-1"?> <soapenv:Envelope> <soapenv:Header/> <soapenv:Body> <tns:changePassword soapenv:encodingStyle= "http://schemas.xmlsoap.org/soap/encoding/"> <userName xsi:type="xsd:string">pucpao2</userName> <oldPassword xsi:type="xsd:string">pucpao2</oldPassword><newPassword xsi:type="xsd:string">paopuc2</newPassword></tns:changePassword> </soapenv:Body> </soapenv:Envelope> recvresp(): entered HTTP/1.1 200 OK Date: Sat, 08 Jun 2013 06:36:37 GMT Server: Apache/2.2.15 (CentOS) X-Powered-By: PHP/5.3.3 X-SOAP-Server: NuSOAP/0.7.2 (1.94) Content-Length: 1197 Connection: close Content-Type: text/xml; charset=ISO-8859-1 SetError() £13: HTTP/1.1 200 OK recvresp(): end with 200 recvdoc parms: identity 1197 header_load_cookies() entered recvdoc(): entered SetError() £0: <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:LDAP-SGV"><SOAP-ENV:Body><ns1:changePasswordResponse xmlns:ns1=""><return xsi:type="tns:RCLoginUser"><RC xsi:type="tns:returnCode"><operationCode xsi:type="xsd:int">0</operationCode><errorCode xsi:type="xsd:int">1</errorCode><description xsi:type="xsd:string">Fail</description></RC><Token xsi:type="tns:token"><tokenId xsi:type="xsd:string"></tokenId><tokenExpirationDate xsi:type="xsd:string"></tokenExpirationDate><tokenValid xsi:type="xsd:int">0</tokenValid></Token><ExpirationDatePassword xsi:type="xsd:string">00-00-0000 00:00:00</ExpirationDatePassword><ldapError xsi:type="tns:ldapError"><errno xsi:type="xsd:int">49</errno><errstr xsi:type="xsd:string">Invalid credentials</errstr><err2str xsi:type="xsd:string">Invalid credentials</err2str></ldapError></return></ns1:changePasswordResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> http_close(): entered HTTPAPI Ver 1.24 released 2012-01-23 OS/400 Ver V5R4M0 SetError() £66: XML parse failed at line 1, col 2: not well-formed (invalid token)
----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubscribe, please go to: http://www.scottklement.com/mailman/listinfo/ftpapi -----------------------------------------------------------------------