PHP kullanarak Barnes and Noble satıcı SOAP API

0 Cevap php

Ben SOAP için yeni ve sabun fonksiyonları inşa php5 kullanarak Barnes and Noble soap API bağlanmaya çalışıyorlar.

http://www.php.net/manual/en/class.soapclient.php

Benim sorum herkes Barnes and Noble sistemi kullanarak herhangi bir belge ya da deneyim var mı, nedir? Ben destek kişi ile ileri ve geri gidiyor ve onlar biz sadece bunu anlamaya muktedir olmalıdır varsayıyorum gibi hissediyorum.

I alıyorum faultcode "HTTP" ve arıza dize "İzin Verilmeyen Yöntem" dir.

Burada destek adam benim başlık gibi görünmelidir ne diyor.

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
    <SessionInfo xmlns="http://tempuri.org/SessionInfoHeader">
        <User xmlns="">your username goes here</User>
        <Password xmlns="">your password goes here.</Password>
    </SessionInfo>
</soap:Header>

Bu i alabilirsiniz olarak yakındır.

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:ns1="http://tempuri.org">
<SOAP-ENV:Header><ns1:SessionInfo>
<item>
  <key>SessionInfo</key>
  <value>
    <item><key>User</key><value>[username]</value></item>
    <item><key>Password</key><value>[password]</value></item>
  </value>
 </item>
 </ns1:SessionInfo>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<searchCriteria/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Ben bu sorun bile emin değilim. Herhangi bir yardım harika olurdu.

0 Cevap