ID:               44581
 Updated by:       [EMAIL PROTECTED]
 Reported By:      storozhilov at mail dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         SOAP related
 Operating System: FreeBSD 7.0-RELEASE #2
 PHP Version:      5.2.5
 New Comment:

Can't seem to access resources from http://soap.tver.pregrad.net/.
Please make them available somewhere.

Also, include a meaningful debuging information, like the XML request
sent:

$client = new SoapClient("isale.wsdl", array('trace' => true));
try {
    $uuid = $client->initUserSession(1, 'user', 'password');
} catch (Exception $e) {
    echo $client->__getLastRequest();
}




Previous Comments:
------------------------------------------------------------------------

[2008-03-31 14:28:40] storozhilov at mail dot ru

Description:
------------
It's recommended to use Document-style WSDL, so we've made our
SOAP-server, that publish WSDL-document of this style. Unfortunately,
PHP SOAP-module works fine with RPC-style, but makes a error with the
same, but Document-style WSDL. Our SOAP-server, written using gSOAP
works fine with gSOAP-based clients, but can't serve PHP ones.

Reproduce code:
---------------
1. WSDL is here: http://pregrad.net/temp/isale.wsdl

2. PHP code is:

<?php

ini_set('soap.wsdl_cache_enabled', '0');
$client = new SoapClient("isale.wsdl");
$uuid = $client->initUserSession(1, 'user', 'password');

?>




Expected result:
----------------
without errors

Actual result:
--------------
PHP Fatal error:  Uncaught SoapFault exception: [SOAP-ENV:Client]
Method 'parameters' not implemented: method name or namespace not
recognized in
/usr/home/illy/Programming/SOAP/PHP/document_style_wsdl/run_me.php:5
Stack trace:
#0 [internal function]: SoapClient->__call('initUserSession', Array)
#1
/usr/home/illy/Programming/SOAP/PHP/document_style_wsdl/run_me.php(5):
SoapClient->initUserSession(1, 'user', 'password')
#2 {main}
  thrown in
/usr/home/illy/Programming/SOAP/PHP/document_style_wsdl/run_me.php on
line 5



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44581&edit=1

Reply via email to