2012-07-06 4 views
0

Est-ce que quelqu'un sait ce que cette erreur signifie? J'ai lu que ce pourrait être la version de PHP. Cela pourrait-il aussi être dû à des autorisations? Ou dire ... comme un pare-feu?Exception de savon WSDL dans les services Web

SoapFault Object ([message:protected] => SOAP-ERROR: Parsing Schema: can't import schema from 
'http://www.w3.org/2005/05/xmlmime' [string:Exception:private] => [code:protected] => 0 [file: 
protected] => /person/ok/my_library/Zend/Soap/aplace.php [line:protected] => 51 [trace 
:Exception:private] => Array ([0] => Array ([file] => /person/ok/my_library/Zend/Soap/Client 
/aplace.php [line] => 51 [function] => SoapClient [class] => SoapClient [type] => -> [args] => 
Array ([0] => http://myWSDL:7001/web/10/Intw?WSDL [1] => Array ([encoding] 
=> UTF-8 [soap_version] => 2 [trace] => 1))) [1] => Array ([file] => /person/ok/my_library/ 
Zend/Soap/Client.php [line] => 1024 [function] => __construct [class] => Zend_Soap_Client_aplace 
[type] => -> [args] => Array ([0] => Array ([0] => Zend_Soap_Client Object ([_encoding:protected] 
=> UTF-8 [_classmap:protected] => [_faultExceptions:protected] => Array () [_soapVersion:protected] 
=> 2 [_uri:protected] => [_location:protected] => [_style:protected] => [_use:protected] => 
[_login:protected] => [_password:protected] => [_proxy_host:protected] => [_proxy_port:protected] 
=> [_proxy_login:protected] => [_proxy_password:protected] => [_local_cert:protected] => 
[_passphrase:protected] => [_compression:protected] => [_connection_timeout:protected] => 
[_stream_context:protected] => [_features:protected] => [_cache_wsdl:protected] => 
[_user_agent:protected] => [_wsdl:protected] => http://myWSDL:7001/web/101/Intw?WSDL 
[_soapClient:protected] => [_lastMethod:protected] => [_soapInputHeaders:protected] => Array () 
[_permanentSoapInputHeaders:protected] => Array () [_soapOutputHeaders:protected] => Array ()) 
[1] => _doRequest) [1] => http://myWSDL:7001/web/101/Intw?WSDL [2] => 
Array ([encoding] => UTF-8 [soap_version] => 2 [trace] => 1))) [2] => 
Array ([file] => /my_library/place.php [line] => 
1180 [function] => _initSoapClientObject [class] => Zend_Soap_Client 
[type] => -> [args] => Array ()) [3] => Array ([file] => /my_library/place.php 
[line] => 1104 [function] => getSoapClient [class] => Zend_Soap_Client [type] => -> [args] => Array ()) [4] => 
Array ([file] => /some/path/to/my/file.php [line] => 
149 [function] => __call [class] => Zend_Soap_Client [type] => -> [args] => Array ([0] => command [1] => 
Array ([0] => Array ([arg0] => Array ([Username] => myUsername:) [Password] => 
myPassword:) [InputField] => Summary [ItemId] => 9999999))))) [5] => 
Array ([file] => /some/path/to/my/file.php 
[line] => 149 [function] => command [class] => Zend_Soap_Client [type] => -> [args] => 
Array ([0] => Array ([arg0] => Array ([Username] => myUsername:) [Password] => myPassword:) [InputField] => 
Summary [ItemId] => 9999999)))) [6] => Array ([file] => /some/path/to/my/file.php 
[line] => 256 [function] => getPickFieldValue [class] => Code_Tracker_PriNvcProcessController [type] => -> [args] => 
Array ([0] => Dev Task Component)) [7] => Array ([file] => /person/ok/my_library/Zend/Controller/Action.php [line] => 513 [function] => 
mksFormAction [class] => Code_Tracker_PriNvcProcessController [type] => -> [args] => Array ()) [8] => 
Array ([file] => /some/other/path/to/another/file.php [line] => 289 [function] => 
dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ([0] => mksFormAction)) [9] => 
Array ([file] => /person/ok/my_library/Zend/Controller/Front.php [line] => 954 [function] => dispatch [class] => 
Zend_Controller_Dispatcher_Standard [type] => -> [args] => Array ([0] => Zend_Controller_Request_Http Object ([_paramSources:protected] => 
Array ([0] => _GET [1] => _POST) [_requestUri:protected] => /yet/another/path/to/a/js/form?code_id=706 [_baseUrl:protected] => 
[_basePath:protected] => [_pathInfo:protected] => /yet/another/path/to/a/js/form [_params:protected] => Array ([module] => 
code_tracker [controller] => pri-nvc-process [action] => mks-form) [_rawBody:protected] => [_aliases:protected] => Array () 
[_dispatched:protected] => 1 [_module:protected] => code_tracker [_moduleKey:protected] => module [_controller:protected] => 
pri-nvc-process [_controllerKey:protected] => controller [_action:protected] => mks-form [_actionKey:protected] => action) [1] => 
Zend_Controller_Response_Http Object ([_body:protected] => Array () [_exceptions:protected] => Array () [_headers:protected] => Array () 
[_headersRaw:protected] => Array () [_httpResponseCode:protected] => 200 [_isRedirect:protected] => [_renderExceptions:protected] => 
[headersSentThrowsException] => 1))) [10] => Array ([file] => /again/another/path/to/initialize.php [line] => 67 [function] => 
dispatch [class] => Zend_Controller_Front [type] => -> [args] => Array ()) [11] => Array ([file] => /again/another/path/to/initialize.php 
[line] => 43 [function] => dispatch [class] => application_Init [type] => :: [args] => Array ()) [12] => Array ([file] => 
/again/another/path/to/initialize.php [line] => 55 [function] => init [class] => application_Init [type] => :: [args] => 
Array ()) [13] => Array ([file] => /another/path/but/to/html/index.php [line] => 20 [function] => start [class] => 
application_Init [type] => :: [args] => Array ())) [previous:Exception:private] => [faultstring] => SOAP-ERROR: 
Parsing Schema: can't import schema from 'http://www.w3.org/2005/05/xmlmime' [faultcode] => WSDL) 
+0

Essayez d'accéder à l'emplacement de schéma http://www.w3.org/2005/05/xmlmime dans le navigateur ou en utilisant curl du même serveur que vous exécutez cette application et voir si vous pouvez y arriver. – helios

+0

Je peux y accéder dans mon navigateur sans aucun problème. Merci pour la réponse. D'autres idées? – BigBug

Répondre

0

Il pourrait encore être proxy (de votre application empêchant l'accès au schéma), mais votre navigateur peut-être déjà préconfiguré pour elle.

Dans votre application php, pouvez-vous imprimer la sortie du journal pour le code HTTP renvoyé pour cet emplacement de schéma? N'avez pas utilisé PHP avant mais peut-être en utilisant HttpClient - quelque chose comme ceci: http://scripts.incutio.com/httpclient/examples.php

Questions connexes