dousuie2222 2012-12-12 20:03
浏览 82

WSO2 WSF PHP - WSClientProxy - > __调用没有返回大响应

I've been trying to consume a service using WSClient in WSDL mode, but the response is always a array with an empty string.

I'm using WSO2 WSF for PHP(WSO2 Web Services Framework for PHP) and my PHP version is 5.3.

I think the problem could be the size of the response(I know its big). There is a way to define maxReceivedMessageSize and maxStringContentLength?

What should I do? There is a "WSO2 WSF for PHP" alternative library?

Code:

function getCatalog($options, $input)
{   
        $client = new WSClient($options);

        // get proxy object reference form client
        $proxy = $client->getProxy();

        //return $proxy->BuscaCatalogo($input);
        var_dump($proxy->BuscaCatalogo($input));
}

Output:

array(1) {
  ["BuscaCatalogoResult"]=>  string(0) ""
}

Log Message: [Thu Dec 13 11:00:59 2012] [error] soap_builder.c(329) Error occurred when building node

-- SOLVED This topic is little old, but here is an alternative for WSO2, https://code.google.com/p/wse-php/source/browse/examples/soap-wsa-example.php?r=407b920367574e85f1302a76ec5a2991b746d79c.

OBS: I'm a PHP developer

  • 写回答

1条回答 默认 最新

  • dpnhp20440 2014-06-08 20:02
    关注

    WSO2 PHP project is deprecated. The project is no longer maintained.

    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题