ID:               44581
 Comment by:       marcel dot pokrandt at vgb dot org
 Reported By:      storozhilov at mail dot ru
 Status:           No Feedback
 Bug Type:         SOAP related
 Operating System: FreeBSD 7.0-RELEASE #2
 PHP Version:      5.2.5
 New Comment:

I have a comparable issue with PHP SOAP as Client with Document
encoding.

My server is a JAX-WS RI 2.2 from Sun. With RPC encoding the connection
works, but not with document encoding which I would prefer. I´ve other
SOAP-Clients working with this Server.

The method on the server is invoked, but without parameters set. Also
the return value is empty.

I´ve had also the error mentioned above - this could be solved with
parameter 'encoding' => 'UTF-8' (which for me should be standard).


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

[2008-08-06 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2008-07-29 21:43:05] [email protected]

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();
}



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

[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