从服务器调用方法,但它说它无效


Calling method from server but it says its not valid

我有一个服务(c#)使用这个方法:

<s:element name="ObterValoresDosTiposDeProdutoParaWebSite"><s:complexType><s:sequence><s:element minOccurs="1" maxOccurs="1" name="FK_TIPO_PRODUTO" type="s:int"/></s:sequence></s:complexType></s:element>

当我尝试用PHP访问它时它返回给我:

Function ("ObterValoresDosTiposDeProdutoParaWebSite") is not a valid method for this service

我100%确定该方法是在服务 tipoproductoso 上创建的,并且可以通过浏览器访问它,但是我的PHP坚持返回我这个错误消息,这是我的PHP:

$propriedades = new PropriedadesSoap();
        $propriedades->FK_TIPO_PRODUTO = $this->session->userdata('tipo_produto');
$material = new SoapClient(TipoProdutoSO, array("exceptions"=>1));
        $res = $material->ObterValoresDosTiposDeProdutoParaWebSite($propriedades);

正如预期的那样,有必要重新启动IIS,我们这样做了,但得到了相同的结果,我们不得不重新启动windows…这是一个简单的解决方案,但它可以工作。