私は、次の形式でのDrupal 6とSOAP呼び出しを実装しようとしています:DrupalでSOAPリクエストを作成していますか?
POST /0_5/ClassService.asmx HTTP/1.1
Host: api.mindbodyonline.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://clients.mindbodyonline.com/api/0_5/AddClientsToClasses"
<?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>
<AddClientsToClasses xmlns="http://clients.mindbodyonline.com/api/0_5">
<Request>
<ClientIDs>
<string>string</string>
<string>string</string>
</ClientIDs>
<ClassIDs>
<int>int</int>
<int>int</int>
</ClassIDs>
<Test>boolean</Test>
<RequirePayment>boolean</RequirePayment>
</Request>
</AddClientsToClasses>
</soap:Body>
</soap:Envelope>
私はSOAPに新しいですし、すべてのWebドキュメントはDrupalのために動作しません。また、SOAP(HTTP GETまたはPOSTではなく)でこの呼び出しを行う必要があります。
DrupalでSOAPコールを作成するにはどうすればよいですか?上記のリクエストフォーマットの例を使用して実用的なコード例を提供できますか?