Project: WSO2 Web Services Framework for PHP (WSO2 WSF/PHP)

This is the discussion forum for WSO2 Web Services Framework for PHP (WSO2 WSF/PHP).
karim.alloudi.pro.gmail.com's picture

Hi,

I have a request payload like this:

cdiscla.inwind.it's picture

Hello, i'm trying to consume a WS over https on a port different from 80 and 443; here is the code:

$client = new WSClient(array("wsdl"=>"https://host:5678/...service?WSDL"));

$proxy = $client->getProxy();

$arr_param=array(....);

$return_val = $proxy->method_name($arr_param);

var_dump($return_val);

$return_val is always null. What am i doing wrong? Thanks in advance and greetings !

me.toshiro.it's picture

Dear WSO2 team,
i'm an Italian student and I'm trying to use your framework.
I have to use a WSDL file for my SOAP Client so I used your wsdl2php script.

matthias.ehrmann.bamf.bund.de's picture
Hi devs, I'm fighting since three weeks with Rampart and WS Security (latest WSO 2.10). Our devs just need to use WS Security for a Client Call to an Oracle Webservice. For that just Username / PW Protection is needed. Any Token / SAML Stuff or encryption / signing is NOT needed. Nonetheless, Rampart always complains about missing certificates. I've read somewhere that those certificates are always needed, but I don't know if this is correct, and if they're needed I've no idea how to add them to a certificate store or something.
eric.hubscher.anatole.net's picture
Hello, I'm trying to implement a client to consume a .NET Webservice in WSDL mode. The WSDL can be found here : https://as37.airwatchportals.com/AirWatchServices/UserServiceEndpoint.svc?wsdl. The policy declaration is embedded in it and  I used the wsdl2php script to genereate the classes needed. Here is my code, I skip the class map declaration, not to clutter this post : <pre class="brush: php">
ingmar.spath.dbschenker.com's picture
Hello, I'm using wsf-php 2.1.0 on Debian 6.0 (PHP 5.3.3). I get errors when trying to convert specific wsdl to php classes. It has worked without problems before with other wsdl's. I get following output from the wsdl2php.php script: PHP Warning: XSLTProcessor::transformToDoc(): runtime error: file /usr/lib/php5/20090626/wsf_c/scripts/ line 657 element attribute in /usr/lib/php5/20090626/wsf_c/scripts/dynamic_invocation/wsf_wsdl_util.php on line 222 PHP Stack trace: PHP 1. {main}() /usr/lib/php5/20090626/wsf_c/scripts/wsdl2php.php:0 PHP 2.
carrauk.gmail.com's picture
I am trying to authenticate a request using usernameToken but I receive the error "NO Response Received". Here is my code http://pastebin.com/9aJ9XfF6. If I remove the securityToken from the client, I receive the error " InvalidSecurity". Please advise.
rmv_surya.rediffmail.com's picture
While i was installing WSF/PHP, as stated in installation document i added the statement "extension=php_xsl.dll" to php.ini. I don't have the php_xsl.dll in my ext(extensions) folder. Then i downloaded it and placed it in ext folder. When i am starting my apache server,I am getting the following exception. PHP Warning: PHP Startup: xsl: Unable to initialize module Module compiled with build ID=API20090626,TS,VC6 PHP compiled with build ID=API20090626,TS,VC9 These options need to match in Unknown on line 0 Please help me.
Syndicate content