简体   繁体   English

来自php的.Net Soap WSDL Web服务调用没有响应

[英].Net Soap WSDL webservice call from php not responding

I am getting issue to call brandbank webservice via php by using nusoap.php library. 我在使用nusoap.php库通过php调用brandbank webservice时遇到问题。 I have to fetch data from Brandbank webservice which they exposed at https://www.i-label.net/partners/webservices/datafeedbasic/extractdata.asmx?WSDL I have made my code in php by using nusoap.php library but getting errors 我必须从他们在https://www.i-label.net/partners/webservices/datafeedbasic/extractdata.asmx?WSDL公开的Brandbank Web服务中获取数据,我已经使用nusoap.php库在php中编写了代码,但是错误

MY code 我的密码

require_once "nusoap.php";
$client = new nusoap_client("https://www.i-label.net/partners/webservices/datafeedbasic/extractdata.asmx?WSDL");
$error = $client->getError();
if ($error) {
    echo "<h2>Constructor error</h2><pre>" . $error . "</pre>";
}
$param = array('ExternalCallerId'=>' 32 char     key ','GTIN'=>'04015400440819','Description'=>'TAMPAX BLUE BOX MINI 20s','OwnLabel'=>'false','Category'=>'HHB','HasImage'=>'false');
$client->setUseCurl(true);
$client->soap_defencoding = 'UTF-8';
$result = $client->call("GetUnsentProductData", $param);

if ($client->fault) {
    echo "<h2>Fault</h2><pre>";
    print_r($result);
    echo "</pre>";
}
else {
    $error = $client->getError();
    if ($error) {
        echo "<h2>Error</h2><pre>" . $error . "</pre>";
    }
else {
    echo "<h2>Products Info</h2><pre>";
    echo $result;
    echo "</pre>";
}

} }

Here is response of webservice 这是网络服务的响应

Array
(
    [faultcode] => soap:Server
    [faultstring] => Server was unable to process request. ---> An exception has occured whilst processing your request. The details have been logged, and the system administrator has been notified
    [detail] => 
)

Brandbank WSDL link: https://www.i-label.net/partners/webservices/datafeedbasic/extractdata.asmx?WSDL The problem that I am facing I don't know how to send them product list in parameters along with this soap call. Brandbank WSDL链接: https ://www.i-label.net/partners/webservices/datafeedbasic/extractdata.asmx?WSDL我所面临的问题我不知道如何将这些产品列表连同参数一起发送给他们呼叫。

I can see this ticket is old, but it appears you are trying to send Coverage file information to the GetUnsent endpoint. 我可以看到此票证已旧,但是看来您正在尝试将Coverage文件信息发送到GetUnsent端点。

The endpoint for Coverage can be found via https://www.i-label.net/partners/webservices/datafeedbasic/extractdata.asmx?WSDL 覆盖范围的端点可以通过https://www.i-label.net/partners/webservices/datafeedbasic/extractdata.asmx?WSDL找到

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM