PHP extension x ksoap2-android
<p>Ksoap2-android doesn´t do with php SOAP extension. 
When I use a function with parameters apresent a message:</p>

<pre><code>&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;SOAP-ENV:Body&gt;
        &lt;SOAP-ENV:Fault&gt;
            &lt;faultcode&gt;SOAP-ENV:Server&lt;/faultcode&gt;
            &lt;faultstring&gt;Procedure 'functionName' not present&lt;/faultstring&gt;
        &lt;/SOAP-ENV:Fault&gt;
    &lt;/SOAP-ENV:Body&gt;
&lt;/SOAP-ENV:Envelope&gt;
</code></pre>

<p>WSDL:</p>

<pre><code>&lt;definitions targetNamespace="urn:Service" xmlns:typens="urn:Service" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/"&gt;
        &lt;message name="getUserRequest"&gt;
        &lt;part name="titulo" type="xsd:string"/&gt;
        &lt;part name="categoria" type="xsd:string"/&gt;
    &lt;/message&gt;
        &lt;message name="getUserResponse"&gt;
                &lt;part name="getUserReturn" type="xsd:string"/&gt;
        &lt;/message&gt;
        &lt;portType name="UserFacadePortType"&gt;
                &lt;operation name="buscarFilmes"&gt;
                        &lt;input message="typens:getUserRequest"/&gt;
                        &lt;output message="typens:getUserResponse"/&gt;
                &lt;/operation&gt;
        &lt;/portType&gt;
        &lt;binding name="UserFacadeBinding" type="typens:UserFacadePortType"&gt;
                &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
                &lt;operation name="buscarFilmes"&gt;
                        &lt;soap:operation soapAction="urn:UserFacadeAction"/&gt;
                        &lt;input&gt;
                                &lt;soap:body namespace="urn:Service" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
                        &lt;/input&gt;
                        &lt;output&gt;
                                &lt;soap:body namespace="urn:Service" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
                        &lt;/output&gt;
                &lt;/operation&gt;
        &lt;/binding&gt;
        &lt;service name="ServiceService"&gt;
                &lt;port name="UserFacadePort" binding="typens:UserFacadeBinding"&gt;
                        &lt;soap:address location="http://192.168.1.100:80/site09/dinamicPages/android/locadora/server.php"/&gt;
                &lt;/port&gt;
        &lt;/service&gt;
&lt;/definitions&gt; 
</code></pre>

<p>Server php:</p>

<pre><code>&lt;?php
        ini_set("soap.wsdl_cache_enabled", "0");

    class UserFacade {

        /**
        * @return string
        */
        public function buscarFilmes($titulo,$categoria) {

            $sName = $titulo;
            $sName .= "&lt;--- [Funcionou!!!] ---&gt;".$categoria;

            return $sName;
        }
    }

    $oSoapServer = new SoapServer('service.wsdl');
    $oSoapServer-&gt;setClass("UserFacade");
    $oSoapServer-&gt;handle();

 ?&gt;
</code></pre>

<p>Android src:</p>

<pre><code>package org.android.example;

import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapPrimitive;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.transport.HttpTransportSE;

public class WsConsumidor {

    public static String consumirWebService(String titulo, String categoria) {
        SoapObject requisicao = new SoapObject("urn:Service", "buscarFilmes");
        requisicao.addProperty("titulo", titulo);
        requisicao.addProperty("categoria", categoria);
        SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
        envelope.setOutputSoapObject(requisicao);
        //HttpTransportSE androidHttpTransport = new HttpTransportSE("http://localhost:8080/LocadoraWS/ServicoWeb?wsdl");
        HttpTransportSE androidHttpTransport = new LogHttpTransport("http://192.168.1.100:80/site09/dinamicPages/android/locadora/server.php?wsdl");

        SoapPrimitive resultado = null;
        try {
            androidHttpTransport.call("urn:Service/buscarFilmes",envelope);
            resultado = (SoapPrimitive) envelope.getResponse();
        } catch (Exception e) {
            e.printStackTrace();
        }
        return resultado==null?"ERRO!!!":resultado.toString();
    }
} 
</code></pre>

<p>What do i do??!?</p>
