0
웹 검색과 많은 검색을 시도했지만 어떻게해야하는지 알 수 없습니다.PHP soap xml request
헤더와 XML 코드로 SOAP 요청을 만들고 싶습니다. 나는이처럼 보이는 보낼
$headers = array(
"POST /somefile.asmx HTTP/1.1",
"Host: a ip adress",
"Content-Type: application/soap+xml; charset=utf-8",
"Content-Length: ".strlen($xml_post_string)
);
와 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>
<GetViVaDataT xmlns="http://www.somesite.se/somefile.wsdl">
<PlatsId>int</PlatsId>
</GetViVaDataT>
</soap:Body>
</soap:Envelope>
을하지만 난 더이 더 멀리 나아갈 생각. 나는 비누 1.2를 사용하고있다.
스택 오버플로에 대한 다른 SOAP 질문이 있습니까? 예 : http://stackoverflow.com/questions/11502105/send-an-xml-request-to-a-another-web-server-using-soap-in-php?rq=1 –
예, 있습니다. 저는 그것을 가지고 있습니다. cUrl로 테스트하는 오랜 시간이 지난 후에도 작업 할 수 있습니다 :) – zarex360
그냥 게시하세요 :) – zarex360