SharePointCommunity
Die deutschsprachige Community für SharePoint, Microsoft 365, Teams, Yammer und mit Azure

Sponsored by

Willkommen im Forum Archiv.
Einträge sind hier nicht mehr möglich, aber der Bestand von 12 Jahren SharePoint-Wissen ist hier recherchierbar.




WSS 3.0: Zugriff auf spsearch.asmx mit PHP

Unbeantwortet Dieser Beitrag hat 0 Antworten

Ohne Rang
1 Beiträge
jomaham erstellt 22 Juli 2009 13:04
SchlechtSchlechtIn OrdnungIn OrdnungDurchschnittDurchschnittGutGutSehr gutSehr gut

Hallo,

ich arbeite gerade an meiner Diplomarbeit, bei der ich per PHP und SOAP auf die Sharepoint Services 3.0 (nicht Server) zugreifen möchte. Mit einigen Methoden von Lists.asmx macht das auch keine Probleme. Aber seit einiger Zeit raubt mir spsearch.asmx den letzten Nerv.

Rufe ich die Methode "Status" auf, erhalte ich die Antwort "Online". Die Query-Methode jedoch liefert mir "Fehler 400: Bad Request". Leider gibt es dazu keinen weiteren Content, aus dem der Fehler hervorginge.

Es wäre sehr nett, wenn Ihr einen Blick auf meinen PHP-Code werfen und Euch die Ausgabe anschauen würdet (beides am Ende dieses Posts). Habt Ihr einen Tipp für mich, woher der Fehler stammen könnte (evtl. Problem im XML-Request?) bzw. wie ich ihm auf die Spur kommen kann?

Ich habe bereits das PHP-interne SOAP sowie nuSOAP probiert.  Wie gesagt, mit einigen Webservices funktioniert es prima. Ich nutze Basic Authentication, um mich beim Exchange-Server anzumelden, auf dem die WSS laufen.

Schonmal danke und viele Grüße,

Jörg

 

Da ich keine Möglichkeit gefunden habe, Anhänge an meinen Post zu hängen, folgt hier ein Haufen Code bzw. Debugging-Output:

Der PHP-Code mit XML-Request:

<?php

require_once('nusoap-0.7.3/lib/nusoap.php');
 
$wsdl = 'http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx?WSDL';

$client = new nusoap_client($wsdl, true);
// using basic authentication
$client->setCredentials("j.hambuch","passwort");

$err = $client->getError();
if ($err) {
    echo '<h2>Constructor error</h2><pre>' . $err . '</pre>';
    echo '<h2>Debug</h2><pre>' . htmlspecialchars($client->getDebug(), ENT_QUOTES) . '</pre>';
    exit();
}

// xml for the query-method
$xml = '
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <Query xmlns="urn:Microsoft.Search">
            <queryXml>
                <QueryPacket xmlns="urn:Microsoft.Search.Query">
                    <Query>
                        <SupportedFormats>
                            <Format revision="1">urn:Microsoft.Search.Response.Document:Document</Format>
                        </SupportedFormats>
                        <Context>
                            <QueryText language="en-US" type="STRING">guide</QueryText>
                        </Context>
                    </Query>
                </QueryPacket>
            </queryXml>
        </Query>
    </soap:Body>
</soap:Envelope>
';

// xml for the status-method
/*
$status_xml = '
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <Status xmlns="urn:Microsoft.Search" />
    </soap:Body>
</soap:Envelope>
';
*/

/* Invoke the Web Service */
//$result = $client->call('Status', $status_xml);
$result = $client->call('Query', $xml);

/* Check for Errors */
if(isset($fault)) {
    echo("<h2>Error</h2>". $fault);
}

/* Debugging Info */
echo("<h2>Request</h2><pre>" . htmlspecialchars($client->request, ENT_QUOTES) . "</pre>");
echo("<h2>Response</h2><pre>" . htmlspecialchars($client->response, ENT_QUOTES) . "</pre>");
echo("<h2>Debug</h2><pre>" . htmlspecialchars($client->debug_str, ENT_QUOTES) . "</pre>");

unset($client);
?>

 

Der Debugging-Output:

Request

POST /_vti_bin/Spsearch.asmx HTTP/1.0
Host: exchange.connecta.ag:81
User-Agent: NuSOAP/0.7.3 (1.114)
Content-Type: text/xml; charset=UTF-8
SOAPAction: "urn:Microsoft.Search/Query"
Authorization: Basic ai5oYW1idWNoOnN0YXJ0cHcwOSE=
Content-Length: 668


<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Query xmlns="urn:Microsoft.Search">
<queryXml>
<QueryPacket xmlns="urn:Microsoft.Search.Query">
<Query>
<SupportedFormats>
<Format revision="1">urn:Microsoft.Search.Response.Document:Document</Format>
</SupportedFormats>
<Context>
<QueryText language="en-US" type="STRING">guide</QueryText>
</Context>
</Query>
</QueryPacket>
</queryXml>
</Query>
</soap:Body>
</soap:Envelope>

Response

HTTP/1.1 400 Bad Request
Connection: close
Date: Mon, 29 Jun 2009 09:27:24 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 12.0.0.6219
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Length: 0

Debug

2009-06-29 11:27:24.270676 nusoap_client: ctor wsdl=1 timeout=0 response_timeout=30
endpoint=string(58) "http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx?WSDL"
2009-06-29 11:27:24.270934 nusoap_client: will use lazy evaluation of wsdl from http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx?WSDL
2009-06-29 11:27:24.271022 nusoap_client: setCredentials username=j.hambuch authtype=basic certRequest=
array(0) {
}
2009-06-29 11:27:24.271176 nusoap_client: call: operation=Query, namespace=http://tempuri.org, soapAction=, rpcParams=, style=rpc, use=encoded, endpointType=wsdl
params=string(668) "
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Query xmlns="urn:Microsoft.Search">
<queryXml>
<QueryPacket xmlns="urn:Microsoft.Search.Query">
<Query>
<SupportedFormats>
<Format revision="1">urn:Microsoft.Search.Response.Document:Document</Format>
</SupportedFormats>
<Context>
<QueryText language="en-US" type="STRING">guide</QueryText>
</Context>
</Query>
</QueryPacket>
</queryXml>
</Query>
</soap:Body>
</soap:Envelope>
"
headers=bool(false)
2009-06-29 11:27:24.271317 nusoap_client: instantiating wsdl class with doc: http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx?WSDL
2009-06-29 11:27:24.271636 wsdl: ctor wsdl= timeout=0 response_timeout=30
2009-06-29 11:27:24.271838 wsdl: parse and process WSDL path=
2009-06-29 11:27:24.272035 wsdl: setCredentials username=j.hambuch authtype=basic certRequest=
array(0) {
}
2009-06-29 11:27:24.272246 wsdl: parse and process WSDL path=http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx?WSDL
2009-06-29 11:27:24.272381 wsdl: parse WSDL at path=http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx?WSDL
2009-06-29 11:27:24.272514 wsdl: getting WSDL http(s) URL http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx?WSDL
2009-06-29 11:27:24.272803 soap_transport_http: ctor url=http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx?WSDL use_curl= curl_options:
array(0) {
}
2009-06-29 11:27:24.273032 soap_transport_http: parsed URL scheme = http
2009-06-29 11:27:24.273148 soap_transport_http: parsed URL host = exchange.connecta.ag
2009-06-29 11:27:24.273259 soap_transport_http: parsed URL port = 81
2009-06-29 11:27:24.278649 soap_transport_http: parsed URL path = /_vti_bin/Spsearch.asmx
2009-06-29 11:27:24.278786 soap_transport_http: parsed URL query = WSDL
2009-06-29 11:27:24.278923 soap_transport_http: set header Host: exchange.connecta.ag:81
2009-06-29 11:27:24.279145 soap_transport_http: set header User-Agent: NuSOAP/0.7.3 (1.114)
2009-06-29 11:27:24.281105 soap_transport_http: setCredentials username=j.hambuch authtype=basic digestRequest=
array(0) {
}
2009-06-29 11:27:24.281337 soap_transport_http: certRequest=
array(0) {
}
2009-06-29 11:27:24.281490 soap_transport_http: set header Authorization: Basic ai5oYW1idWNoOnN0YXJ0cHcwOSE=
2009-06-29 11:27:24.281616 soap_transport_http: set header Accept-Encoding: gzip, deflate
2009-06-29 11:27:24.281715 soap_transport_http: set header Connection: close
2009-06-29 11:27:24.281828 soap_transport_http: entered send() with data of length: 0
2009-06-29 11:27:24.281944 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host exchange.connecta.ag, port 81
2009-06-29 11:27:24.282099 soap_transport_http: calling fsockopen with host exchange.connecta.ag connection_timeout 0
2009-06-29 11:27:24.284567 soap_transport_http: set response timeout to 30
2009-06-29 11:27:24.284692 soap_transport_http: socket connected
2009-06-29 11:27:24.284834 soap_transport_http: set header Content-Length: 0
2009-06-29 11:27:24.284918 soap_transport_http: HTTP request: GET /_vti_bin/Spsearch.asmx?WSDL HTTP/1.1
2009-06-29 11:27:24.284997 soap_transport_http: HTTP header: Host: exchange.connecta.ag:81
2009-06-29 11:27:24.285071 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.7.3 (1.114)
2009-06-29 11:27:24.285144 soap_transport_http: HTTP header: Authorization: Basic ai5oYW1idWNoOnN0YXJ0cHcwOSE=
2009-06-29 11:27:24.285216 soap_transport_http: HTTP header: Accept-Encoding: gzip, deflate
2009-06-29 11:27:24.285288 soap_transport_http: HTTP header: Connection: close
2009-06-29 11:27:24.285362 soap_transport_http: HTTP header: Content-Length: 0
2009-06-29 11:27:24.285567 soap_transport_http: wrote data to socket, length = 231
2009-06-29 11:27:24.455344 soap_transport_http: read line of 17 bytes: HTTP/1.1 200 OK
2009-06-29 11:27:24.456070 soap_transport_http: read line of 24 bytes: Cache-Control: private
2009-06-29 11:27:24.456363 soap_transport_http: read line of 22 bytes: Content-Length: 8223
2009-06-29 11:27:24.456628 soap_transport_http: read line of 39 bytes: Content-Type: text/xml; charset=utf-8
2009-06-29 11:27:24.456974 soap_transport_http: read line of 27 bytes: Server: Microsoft-IIS/6.0
2009-06-29 11:27:24.457250 soap_transport_http: read line of 23 bytes: X-Powered-By: ASP.NET
2009-06-29 11:27:24.457550 soap_transport_http: read line of 46 bytes: MicrosoftSharePointTeamServices: 12.0.0.6219
2009-06-29 11:27:24.457813 soap_transport_http: read line of 29 bytes: X-AspNet-Version: 2.0.50727
2009-06-29 11:27:24.458081 soap_transport_http: read line of 53 bytes: Set-Cookie: WSS_KeepSessionAuthenticated=81; path=/
2009-06-29 11:27:24.458347 soap_transport_http: read line of 37 bytes: Date: Mon, 29 Jun 2009 09:27:24 GMT
2009-06-29 11:27:24.458611 soap_transport_http: read line of 19 bytes: Connection: close
2009-06-29 11:27:24.458860 soap_transport_http: read line of 2 bytes:
2009-06-29 11:27:24.459548 soap_transport_http: found end of headers after length 338
2009-06-29 11:27:24.460656 soap_transport_http: found cookie: WSS_KeepSessionAuthenticated = 81
2009-06-29 11:27:24.461032 soap_transport_http: want to read content of length 8223
2009-06-29 11:27:24.461448 soap_transport_http: read buffer of 8192 bytes
2009-06-29 11:27:24.461773 soap_transport_http: read buffer of 31 bytes
2009-06-29 11:27:24.462011 soap_transport_http: read to EOF
2009-06-29 11:27:24.466013 soap_transport_http: read body of length 8223
2009-06-29 11:27:24.466345 soap_transport_http: received a total of 8561 bytes of data from server
2009-06-29 11:27:24.466659 soap_transport_http: closed socket
2009-06-29 11:27:24.467054 soap_transport_http: No Content-Encoding header
2009-06-29 11:27:24.467270 soap_transport_http: end of send()
2009-06-29 11:27:24.467611 wsdl: got WSDL URL
2009-06-29 11:27:24.468108 wsdl: Parse WSDL
2009-06-29 11:27:24.471464 wsdl: Parsing WSDL schema
2009-06-29 11:27:24.472020 nusoap_xmlschema: nusoap_xmlschema class instantiated, inside constructor
2009-06-29 11:27:24.473235 nusoap_xmlschema: <urn:Microsoft.Search> processing untyped element Query type _Query_ContainedType
2009-06-29 11:27:24.473552 nusoap_xmlschema: <urn:Microsoft.Search> add element Query to elements array
2009-06-29 11:27:24.474204 nusoap_xmlschema: <urn:Microsoft.Search> processing unnamed complexType for element Query named _Query_ContainedType
2009-06-29 11:27:24.475446 nusoap_xmlschema: <urn:Microsoft.Search> processing typed element queryXml of type http://www.w3.org/2001/XMLSchema:string
2009-06-29 11:27:24.475872 nusoap_xmlschema: <urn:Microsoft.Search> add element queryXml to complexType _Query_ContainedType
2009-06-29 11:27:24.476447 nusoap_xmlschema: <urn:Microsoft.Search> done processing element queryXml
2009-06-29 11:27:24.477090 nusoap_xmlschema: <urn:Microsoft.Search> done processing complexType _Query_ContainedType
2009-06-29 11:27:24.477532 nusoap_xmlschema: <urn:Microsoft.Search> done processing element Query
2009-06-29 11:27:24.478186 nusoap_xmlschema: <urn:Microsoft.Search> processing untyped element QueryResponse type _QueryResponse_ContainedType
2009-06-29 11:27:24.478476 nusoap_xmlschema: <urn:Microsoft.Search> add element QueryResponse to elements array
2009-06-29 11:27:24.479148 nusoap_xmlschema: <urn:Microsoft.Search> processing unnamed complexType for element QueryResponse named _QueryResponse_ContainedType
2009-06-29 11:27:24.480397 nusoap_xmlschema: <urn:Microsoft.Search> processing typed element QueryResult of type http://www.w3.org/2001/XMLSchema:string
2009-06-29 11:27:24.480687 nusoap_xmlschema: <urn:Microsoft.Search> add element QueryResult to complexType _QueryResponse_ContainedType
2009-06-29 11:27:24.481072 nusoap_xmlschema: <urn:Microsoft.Search> done processing element QueryResult
2009-06-29 11:27:24.481588 nusoap_xmlschema: <urn:Microsoft.Search> done processing complexType _QueryResponse_ContainedType
2009-06-29 11:27:24.482059 nusoap_xmlschema: <urn:Microsoft.Search> done processing element QueryResponse
2009-06-29 11:27:24.485564 nusoap_xmlschema: <urn:Microsoft.Search> processing untyped element Registration type _Registration_ContainedType
2009-06-29 11:27:24.485866 nusoap_xmlschema: <urn:Microsoft.Search> add element Registration to elements array
2009-06-29 11:27:24.486515 nusoap_xmlschema: <urn:Microsoft.Search> processing unnamed complexType for element Registration named _Registration_ContainedType
2009-06-29 11:27:24.487621 nusoap_xmlschema: <urn:Microsoft.Search> processing typed element registrationXml of type http://www.w3.org/2001/XMLSchema:string
2009-06-29 11:27:24.488040 nusoap_xmlschema: <urn:Microsoft.Search> add element registrationXml to complexType _Registration_ContainedType
2009-06-29 11:27:24.488549 nusoap_xmlschema: <urn:Microsoft.Search> done processing element registrationXml
2009-06-29 11:27:24.489221 nusoap_xmlschema: <urn:Microsoft.Search> done processing complexType _Registration_ContainedType
2009-06-29 11:27:24.489684 nusoap_xmlschema: <urn:Microsoft.Search> done processing element Registration
2009-06-29 11:27:24.490352 nusoap_xmlschema: <urn:Microsoft.Search> processing untyped element RegistrationResponse type _RegistrationResponse_ContainedType
2009-06-29 11:27:24.490619 nusoap_xmlschema: <urn:Microsoft.Search> add element RegistrationResponse to elements array
2009-06-29 11:27:24.491268 nusoap_xmlschema: <urn:Microsoft.Search> processing unnamed complexType for element RegistrationResponse named _RegistrationResponse_ContainedType
2009-06-29 11:27:24.492532 nusoap_xmlschema: <urn:Microsoft.Search> processing typed element RegistrationResult of type http://www.w3.org/2001/XMLSchema:string
2009-06-29 11:27:24.492916 nusoap_xmlschema: <urn:Microsoft.Search> add element RegistrationResult to complexType _RegistrationResponse_ContainedType
2009-06-29 11:27:24.493448 nusoap_xmlschema: <urn:Microsoft.Search> done processing element RegistrationResult
2009-06-29 11:27:24.494089 nusoap_xmlschema: <urn:Microsoft.Search> done processing complexType _RegistrationResponse_ContainedType
2009-06-29 11:27:24.494533 nusoap_xmlschema: <urn:Microsoft.Search> done processing element RegistrationResponse
2009-06-29 11:27:24.495372 nusoap_xmlschema: <urn:Microsoft.Search> processing untyped element Status type _Status_ContainedType
2009-06-29 11:27:24.495689 nusoap_xmlschema: <urn:Microsoft.Search> add element Status to elements array
2009-06-29 11:27:24.496567 nusoap_xmlschema: <urn:Microsoft.Search> processing unnamed complexType for element Status named _Status_ContainedType
2009-06-29 11:27:24.497541 nusoap_xmlschema: <urn:Microsoft.Search> done processing complexType _Status_ContainedType
2009-06-29 11:27:24.498132 nusoap_xmlschema: <urn:Microsoft.Search> done processing element Status
2009-06-29 11:27:24.498791 nusoap_xmlschema: <urn:Microsoft.Search> processing untyped element StatusResponse type _StatusResponse_ContainedType
2009-06-29 11:27:24.499059 nusoap_xmlschema: <urn:Microsoft.Search> add element StatusResponse to elements array
2009-06-29 11:27:24.499702 nusoap_xmlschema: <urn:Microsoft.Search> processing unnamed complexType for element StatusResponse named _StatusResponse_ContainedType
2009-06-29 11:27:24.500843 nusoap_xmlschema: <urn:Microsoft.Search> processing typed element StatusResult of type http://www.w3.org/2001/XMLSchema:string
2009-06-29 11:27:24.501150 nusoap_xmlschema: <urn:Microsoft.Search> add element StatusResult to complexType _StatusResponse_ContainedType
2009-06-29 11:27:24.501564 nusoap_xmlschema: <urn:Microsoft.Search> done processing element StatusResult
2009-06-29 11:27:24.502136 nusoap_xmlschema: <urn:Microsoft.Search> done processing complexType _StatusResponse_ContainedType
2009-06-29 11:27:24.502563 nusoap_xmlschema: <urn:Microsoft.Search> done processing element StatusResponse
2009-06-29 11:27:24.504635 wsdl: Parsing WSDL schema done
2009-06-29 11:27:24.505111 wsdl: Parsing WSDL schema
2009-06-29 11:27:24.505439 nusoap_xmlschema: nusoap_xmlschema class instantiated, inside constructor
2009-06-29 11:27:24.506461 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> processing untyped element QueryEx type _QueryEx_ContainedType
2009-06-29 11:27:24.506670 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> add element QueryEx to elements array
2009-06-29 11:27:24.507093 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> processing unnamed complexType for element QueryEx named _QueryEx_ContainedType
2009-06-29 11:27:24.507909 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> processing typed element queryXml of type http://www.w3.org/2001/XMLSchema:string
2009-06-29 11:27:24.508127 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> add element queryXml to complexType _QueryEx_ContainedType
2009-06-29 11:27:24.508438 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> done processing element queryXml
2009-06-29 11:27:24.508900 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> done processing complexType _QueryEx_ContainedType
2009-06-29 11:27:24.509196 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> done processing element QueryEx
2009-06-29 11:27:24.509624 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> processing untyped element QueryExResponse type _QueryExResponse_ContainedType
2009-06-29 11:27:24.509808 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> add element QueryExResponse to elements array
2009-06-29 11:27:24.510222 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> processing unnamed complexType for element QueryExResponse named _QueryExResponse_ContainedType
2009-06-29 11:27:24.511031 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> processing untyped element QueryExResult type __QueryExResponse_ContainedType_QueryExResult_ContainedType
2009-06-29 11:27:24.511221 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> add element QueryExResult to complexType _QueryExResponse_ContainedType
2009-06-29 11:27:24.511705 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> processing unnamed complexType for element QueryExResult named __QueryExResponse_ContainedType_QueryExResult_ContainedType
2009-06-29 11:27:24.512457 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> processing element as ref to http://www.w3.org/2001/XMLSchema:schema
2009-06-29 11:27:24.512662 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> add element schema to complexType __QueryExResponse_ContainedType_QueryExResult_ContainedType
2009-06-29 11:27:24.513018 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> done processing element ref to http://www.w3.org/2001/XMLSchema:schema
2009-06-29 11:27:24.513766 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> done processing complexType __QueryExResponse_ContainedType_QueryExResult_ContainedType
2009-06-29 11:27:24.514067 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> done processing element QueryExResult
2009-06-29 11:27:24.514478 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> done processing complexType _QueryExResponse_ContainedType
2009-06-29 11:27:24.514831 nusoap_xmlschema: <http://microsoft.com/webservices/SharePoint/QueryService> done processing element QueryExResponse
2009-06-29 11:27:24.515237 wsdl: Parsing WSDL schema done
2009-06-29 11:27:24.516338 wsdl: msg QuerySoapIn: found part (with element) parameters: parameters,urn:Microsoft.Search:Query
2009-06-29 11:27:24.517636 wsdl: msg QuerySoapOut: found part (with element) parameters: parameters,urn:Microsoft.Search:QueryResponse
2009-06-29 11:27:24.522419 wsdl: msg QueryExSoapIn: found part (with element) parameters: parameters,http://microsoft.com/webservices/SharePoint/QueryService:QueryEx
2009-06-29 11:27:24.523699 wsdl: msg QueryExSoapOut: found part (with element) parameters: parameters,http://microsoft.com/webservices/SharePoint/QueryService:QueryExResponse
2009-06-29 11:27:24.524970 wsdl: msg RegistrationSoapIn: found part (with element) parameters: parameters,urn:Microsoft.Search:Registration
2009-06-29 11:27:24.526144 wsdl: msg RegistrationSoapOut: found part (with element) parameters: parameters,urn:Microsoft.Search:RegistrationResponse
2009-06-29 11:27:24.527403 wsdl: msg StatusSoapIn: found part (with element) parameters: parameters,urn:Microsoft.Search:Status
2009-06-29 11:27:24.528594 wsdl: msg StatusSoapOut: found part (with element) parameters: parameters,urn:Microsoft.Search:StatusResponse
2009-06-29 11:27:24.529765 wsdl: portType QueryServiceSoap operation: Query
2009-06-29 11:27:24.532186 wsdl: portType QueryServiceSoap operation: QueryEx
2009-06-29 11:27:24.534354 wsdl: portType QueryServiceSoap operation: Registration
2009-06-29 11:27:24.536134 wsdl: portType QueryServiceSoap operation: Status
2009-06-29 11:27:24.537678 wsdl: current binding: QueryServiceSoap of portType: http://microsoft.com/webservices/SharePoint/QueryService:QueryServiceSoap
2009-06-29 11:27:24.538177 wsdl: current binding operation: Query
2009-06-29 11:27:24.539227 wsdl: current binding operation: QueryEx
2009-06-29 11:27:24.540192 wsdl: current binding operation: Registration
2009-06-29 11:27:24.541144 wsdl: current binding operation: Status
2009-06-29 11:27:24.542135 wsdl: current binding: QueryServiceSoap12 of portType: http://microsoft.com/webservices/SharePoint/QueryService:QueryServiceSoap
2009-06-29 11:27:24.542471 wsdl: current binding operation: Query
2009-06-29 11:27:24.543342 wsdl: current binding operation: QueryEx
2009-06-29 11:27:24.544246 wsdl: current binding operation: Registration
2009-06-29 11:27:24.545195 wsdl: current binding operation: Status
2009-06-29 11:27:24.546104 wsdl: current service: QueryService
2009-06-29 11:27:24.546528 wsdl: current port: QueryServiceSoap
2009-06-29 11:27:24.546940 wsdl: current port: QueryServiceSoap12
2009-06-29 11:27:24.547307 wsdl: Parsing WSDL done
2009-06-29 11:27:24.547483 wsdl: post-parse data gathering for Query
2009-06-29 11:27:24.547654 wsdl: post-parse data gathering for QueryEx
2009-06-29 11:27:24.547845 wsdl: post-parse data gathering for Registration
2009-06-29 11:27:24.548004 wsdl: post-parse data gathering for Status
2009-06-29 11:27:24.548160 wsdl: post-parse data gathering for Query
2009-06-29 11:27:24.548313 wsdl: post-parse data gathering for QueryEx
2009-06-29 11:27:24.548459 wsdl: post-parse data gathering for Registration
2009-06-29 11:27:24.548605 wsdl: post-parse data gathering for Status
2009-06-29 11:27:24.548907 nusoap_client: checkWSDL
2009-06-29 11:27:24.549046 nusoap_client: got 4 operations from wsdl http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx?WSDL for binding type soap
2009-06-29 11:27:24.549145 nusoap_client: found operation
opData=array(9) {
["name"]=>
string(5) "Query"
["binding"]=>
string(16) "QueryServiceSoap"
["endpoint"]=>
string(53) "http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx"
["soapAction"]=>
string(26) "urn:Microsoft.Search/Query"
["style"]=>
string(8) "document"
["input"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(11) "QuerySoapIn"
["parts"]=>
array(1) {
["parameters"]=>
string(27) "urn:Microsoft.Search:Query^"
}
}
["output"]=>
array(3) {
["use"]=>
string(7) "literal"
["message"]=>
string(12) "QuerySoapOut"
["parts"]=>
array(1) {
["parameters"]=>
string(35) "urn:Microsoft.Search:QueryResponse^"
}
}
["transport"]=>
string(36) "http://schemas.xmlsoap.org/soap/http"
["documentation"]=>
string(0) ""
}
2009-06-29 11:27:24.549403 nusoap_client: serializing param string for WSDL operation Query
2009-06-29 11:27:24.549533 nusoap_client: In serializeEnvelope length=668 body (max 1000 characters)=
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Query xmlns="urn:Microsoft.Search">
<queryXml>
<QueryPacket xmlns="urn:Microsoft.Search.Query">
<Query>
<SupportedFormats>
<Format revision="1">urn:Microsoft.Search.Response.Document:Document</Format>
</SupportedFormats>
<Context>
<QueryText language="en-US" type="STRING">guide</QueryText>
</Context>
</Query>
</QueryPacket>
</queryXml>
</Query>
</soap:Body>
</soap:Envelope>
style=document use=literal encodingStyle=
2009-06-29 11:27:24.549649 nusoap_client: headers:
bool(false)
2009-06-29 11:27:24.549779 nusoap_client: namespaces:
array(1) {
["ns8780"]=>
string(18) "http://tempuri.org"
}
2009-06-29 11:27:24.549962 nusoap_client: endpoint=http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx, soapAction=urn:Microsoft.Search/Query, namespace=http://tempuri.org, style=document, use=literal, encodingStyle=
2009-06-29 11:27:24.550057 nusoap_client: SOAP message length=668 contents (max 1000 bytes)=
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Query xmlns="urn:Microsoft.Search">
<queryXml>
<QueryPacket xmlns="urn:Microsoft.Search.Query">
<Query>
<SupportedFormats>
<Format revision="1">urn:Microsoft.Search.Response.Document:Document</Format>
</SupportedFormats>
<Context>
<QueryText language="en-US" type="STRING">guide</QueryText>
</Context>
</Query>
</QueryPacket>
</queryXml>
</Query>
</soap:Body>
</soap:Envelope>

2009-06-29 11:27:24.550181 nusoap_client: transporting via HTTP
2009-06-29 11:27:24.551493 nusoap_client: sending message, length=668
2009-06-29 11:27:24.550327 soap_transport_http: ctor url=http://exchange.connecta.ag:81/_vti_bin/Spsearch.asmx use_curl= curl_options:
array(0) {
}
2009-06-29 11:27:24.550470 soap_transport_http: parsed URL scheme = http
2009-06-29 11:27:24.550566 soap_transport_http: parsed URL host = exchange.connecta.ag
2009-06-29 11:27:24.550644 soap_transport_http: parsed URL port = 81
2009-06-29 11:27:24.550716 soap_transport_http: parsed URL path = /_vti_bin/Spsearch.asmx
2009-06-29 11:27:24.550808 soap_transport_http: set header Host: exchange.connecta.ag:81
2009-06-29 11:27:24.550943 soap_transport_http: set header User-Agent: NuSOAP/0.7.3 (1.114)
2009-06-29 11:27:24.551040 soap_transport_http: set header Content-Type: text/xml; charset=UTF-8
2009-06-29 11:27:24.551122 soap_transport_http: set header SOAPAction: "urn:Microsoft.Search/Query"
2009-06-29 11:27:24.551210 soap_transport_http: setCredentials username=j.hambuch authtype=basic digestRequest=
array(0) {
}
2009-06-29 11:27:24.551302 soap_transport_http: certRequest=
array(0) {
}
2009-06-29 11:27:24.551408 soap_transport_http: set header Authorization: Basic ai5oYW1idWNoOnN0YXJ0cHcwOSE=
2009-06-29 11:27:24.551581 soap_transport_http: entered send() with data of length: 668
2009-06-29 11:27:24.551842 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host exchange.connecta.ag, port 81
2009-06-29 11:27:24.552006 soap_transport_http: calling fsockopen with host exchange.connecta.ag connection_timeout 0
2009-06-29 11:27:24.553608 soap_transport_http: set response timeout to 30
2009-06-29 11:27:24.553781 soap_transport_http: socket connected
2009-06-29 11:27:24.553933 soap_transport_http: set header Content-Length: 668
2009-06-29 11:27:24.554049 soap_transport_http: HTTP request: POST /_vti_bin/Spsearch.asmx HTTP/1.0
2009-06-29 11:27:24.554170 soap_transport_http: HTTP header: Host: exchange.connecta.ag:81
2009-06-29 11:27:24.554288 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.7.3 (1.114)
2009-06-29 11:27:24.554400 soap_transport_http: HTTP header: Content-Type: text/xml; charset=UTF-8
2009-06-29 11:27:24.554518 soap_transport_http: HTTP header: SOAPAction: "urn:Microsoft.Search/Query"
2009-06-29 11:27:24.554657 soap_transport_http: HTTP header: Authorization: Basic ai5oYW1idWNoOnN0YXJ0cHcwOSE=
2009-06-29 11:27:24.556568 soap_transport_http: HTTP header: Content-Length: 668
2009-06-29 11:27:24.556885 soap_transport_http: wrote data to socket, length = 927
2009-06-29 11:27:24.558580 soap_transport_http: read line of 26 bytes: HTTP/1.1 400 Bad Request
2009-06-29 11:27:24.558804 soap_transport_http: read line of 19 bytes: Connection: close
2009-06-29 11:27:24.559053 soap_transport_http: read line of 37 bytes: Date: Mon, 29 Jun 2009 09:27:24 GMT
2009-06-29 11:27:24.559517 soap_transport_http: read line of 27 bytes: Server: Microsoft-IIS/6.0
2009-06-29 11:27:24.559995 soap_transport_http: read line of 23 bytes: X-Powered-By: ASP.NET
2009-06-29 11:27:24.560277 soap_transport_http: read line of 46 bytes: MicrosoftSharePointTeamServices: 12.0.0.6219
2009-06-29 11:27:24.560411 soap_transport_http: read line of 29 bytes: X-AspNet-Version: 2.0.50727
2009-06-29 11:27:24.560532 soap_transport_http: read line of 24 bytes: Cache-Control: private
2009-06-29 11:27:24.560673 soap_transport_http: read line of 19 bytes: Content-Length: 0
2009-06-29 11:27:24.560871 soap_transport_http: read line of 2 bytes:
2009-06-29 11:27:24.561185 soap_transport_http: found end of headers after length 252
2009-06-29 11:27:24.561550 soap_transport_http: want to read content of length 0
2009-06-29 11:27:24.561706 soap_transport_http: read to EOF
2009-06-29 11:27:24.561810 soap_transport_http: read body of length 0
2009-06-29 11:27:24.561910 soap_transport_http: received a total of 252 bytes of data from server
2009-06-29 11:27:24.562085 soap_transport_http: closed socket
2009-06-29 11:27:24.562256 soap_transport_http: end of send()
2009-06-29 11:27:24.562543 nusoap_client: Error: HTTP Error: Unsupported HTTP response status 400 Bad Request (soapclient->response has contents of the response)