开发者

Class WSMessage not found in

开发者 https://www.devze.com 2023-01-20 17:43 出处:网络
I try to run SOAP client in PHP to call rampart axis2/java. 开发者_如何学Python// Create message with request payload and options

I try to run SOAP client in PHP to call rampart axis2/java.

开发者_如何学Python  // Create message with request payload and options
$reqMessage = new WSMessage($reqPayloadString,
                     array("to" => "http://localhost:9090/axis2/services/SecureService",
                           "action" => "http://php.rampart.apache.org"));

But there is an error message:

Fatal error: Class 'WSMessage' not found in C:\xampp\htdocs\test\rampart.php on line 21

I added wsf.dll to php/ext/ and config php.ini extension to use wsf.dll

I using xampp v1.7.5 (php5.3.3) and copy wsf.dll from wso2-wsf-php-bin-1.0.0-win32

Please help me solve the problem.

Thank you.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号