Paulo Cabral Posted June 19, 2012 at 12:01 AM Report Share #463901 Posted June 19, 2012 at 12:01 AM Boa noite! Estou a pretender desenvolver um cliente de um webservice criado por mim em php! Ja consegui conexão com o webservice e ja consigo chamar uma função do webservice! essa função supostamente recebe uma string... eu envio essa string mas ele não é recebida no webservice. deixo aqui o meu codigo php <?php $client = new SoapClient("http://localhost:8080/ProjectoServer/Server?WSDL", array('exceptions' => 0)); $name = 'teste'; $result = $client->hello($name); if (is_soap_fault($result)) { trigger_error("SOAP Fault: (faultcode: {$result->faultcode}, faultstring: {$result->faultstring})", E_USER_ERROR); } print_r($result); var_dump($client->__getFunctions()); ?> Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted June 19, 2012 at 12:48 AM Report Share #463905 Posted June 19, 2012 at 12:48 AM mas a chamada do webservice falha, ou simplemente não consegues verificar se o webserivice recebeu a mensagem correcta ? IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
MASNathan Posted June 19, 2012 at 08:09 AM Report Share #463917 Posted June 19, 2012 at 08:09 AM (edited) e como tens no servidor? ps: já adicionaste extension=php_soap.dll ao php.ini? Edited June 19, 2012 at 08:10 AM by MASNathan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now