나는 다음과 같은 형식으로 드루팔 (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과 드루팔 작동하지 않는 모든 웹 문서에 대한 새로운입니다. 또한 SOAP (HTTP GET 또는 POST 아님)에서이 호출을 만들어야합니다.
Drupal에서 SOAP 호출을 어떻게 작성합니까? 위의 예제 요청 형식을 사용하여 작업 코드 예제를 제공 할 수 있습니까?