dou7466 2014-12-22 11:24 采纳率: 0%
浏览 49

来自php的.Net Soap WSDL webservice调用没有响应

I am getting issue to call brandbank webservice via php by using nusoap.php library. 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

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.

  • 写回答

1条回答 默认 最新

  • dtvnnhh8992 2015-11-12 13:28
    关注

    I can see this ticket is old, but it appears you are trying to send Coverage file information to the GetUnsent endpoint.

    The endpoint for Coverage can be found via https://www.i-label.net/partners/webservices/datafeedbasic/extractdata.asmx?WSDL

    评论

报告相同问题?

悬赏问题

  • ¥15 想问一下树莓派接上显示屏后出现如图所示画面,是什么问题导致的
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号