http://www.php.net/manual/en/soapclient.soapclient.php
Куча примеров в каментах
Также обратите внимание на SOAP_AUTHENTICATION_DIGEST
Объясните чайнику, где нужный пример. Я по данной ссылке не нашла именно отправку xml, только получение и разбор xml ответа. Может, не там ищу.
Объясню ещё раз задачу:
1. Есть веб-сервис, к которому надо с нашего сайта обратиться по
http://*.asmx c аутентификацией (это удается сделать)
2. У веб-сервиса есть метод Method, описание которого представлено следующим образом:
Test
The test form is only available for requests from the local machine.
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST href HTTP/1.1
Host: host
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "href"
<?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>
<SetMethod xmlns="href">
<Method>
<Debtor />
<LegalCase CaseNumber="string" CourtName="string" Base="string" />
<ArbitrManager SROName="string" RegNum="string" />
<TradeOrganizer />
<TradeInfo AuctionType="OpenAuction or OpenConcours or PublicOffer" FormPrice="OpenForm or CloseForm">
<DatePublishSMI>date</DatePublishSMI>
<DatePublishEFIR>date</DatePublishEFIR>
<Application TimeBegin="dateTime" TimeEnd="dateTime">
<Rules>string</Rules>
</Application>
<Concours>string</Concours>
<SaleAgreement>string</SaleAgreement>
<Payments>string</Payments>
<LotList>
<Lot xsi:nil="true" />
<Lot xsi:nil="true" />
</LotList>
<Attach>
<FileName>string</FileName>
<Type>string</Type>
<Blob>base64Binary</Blob>
</Attach>
</TradeInfo>
</Method>
</SetMethod>
</soap:Body>
</soap:Envelope>
Вопрос: как воспользоваться этим методом и передать в него нужную информацию?