title: SOAP org.xmlpull.v1.XmlPullParserException: expected: START_TAG
body: <p>I'm try call web-method "Registration" from web Service. It contain  one input parameter and one output. </p>
  
  <pre><code>HttpTransportSE  httpTransport=null;
  
          try 
          {
              String organization = "Слоник Зеленый";
  
              String method = "Registration";
              SoapObject request = new SoapObject("http://www.ServiceDesk.org", method);
  
              PropertyInfo pi1 = new PropertyInfo();
              pi1.setName("Organisation");
              pi1.setValue(organization);
              pi1.setType(String.class);
              request.addProperty(pi1);
  
  
  
              SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); //VER.10,VER.11,VER.12 don't help
              envelope.setOutputSoapObject(request);
  //          envelope.implicitTypes = true;  #don't help me
  
              envelope.dotNet = false; # "true" value don't help
              List&lt;HeaderProperty&gt; headerList = new ArrayList&lt;HeaderProperty&gt;();
              headerList.add(new HeaderProperty("Authorization", "Basic " + org.kobjects.base64.Base64.encode("user:password".getBytes())));
  
  
              httpTransport = new HttpTransportSE(MainAsync.wsdlSchema);
  
              httpTransport.debug=true;
              httpTransport.call("http://www.ServiceDesk.org#ServiceDesk:Registration", envelope,headerList);
  
              SoapObject result =(SoapObject) envelope.bodyIn;
              String roleId = result.getProperty("return").toString();
  
              httpTransport.reset();
  
              return roleId;
          } catch (Exception e) {
              Log.e(httpTransport.responseDump);
              Log.e("Request "+httpTransport.requestDump);
  
              e.printStackTrace();
              if(httpTransport!=null)
                  httpTransport.reset();
              return"";
          } finally{
              if(httpTransport!=null)
                  httpTransport.reset();
          }
  </code></pre>
  
  <p>But om nethod call, i'm get next error: </p>
  
  <pre><code>org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG &lt;definitions name='ServiceDesk' targetNamespace='http://www.ServiceDesk.org'&gt;@9:48 in java.io.InputStreamReader@76ed5528) 
      at org.kxml2.io.KXmlParser.exception(KXmlParser.java:242)
      at org.kxml2.io.KXmlParser.require(KXmlParser.java:1384)
      at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:128)
      at org.ksoap2.transport.Transport.parseResponse(Transport.java:118)
      at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:275)
      at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:118)
  </code></pre>
  
  <p>This is my wsdl file: </p>
  
  <pre><code>&lt;definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12bind="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.ServiceDesk.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://www.ServiceDesk.org" name="ServiceDesk" targetNamespace="http://www.ServiceDesk.org"&gt;
  &lt;types&gt;
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs1="http://www.ServiceDesk.org" targetNamespace="http://www.ServiceDesk.org" elementFormDefault="qualified"&gt;
  &lt;xs:element name="Registration"&gt;
  &lt;xs:complexType&gt;
  &lt;xs:sequence&gt;
  &lt;xs:element name="Organisation" type="xs:string"/&gt;
  &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;/types&gt;
  &lt;message name="RegistrationRequestMessage"&gt;
  &lt;part name="parameters" element="tns:Registration"/&gt;
  &lt;/message&gt;
  &lt;message name="RegistrationResponseMessage"&gt;
  &lt;part name="parameters" element="tns:RegistrationResponse"/&gt;
  &lt;/message&gt;
  &lt;portType name="ServiceDeskPortType"&gt;
  &lt;operation name="Registration"&gt;
  &lt;input message="tns:RegistrationRequestMessage"/&gt;
  &lt;output message="tns:RegistrationResponseMessage"/&gt;
  &lt;/operation&gt;
  &lt;binding name="ServiceDeskSoapBinding" type="tns:ServiceDeskPortType"&gt;
  &lt;soapbind:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
  &lt;operation name="Registration"&gt;
  &lt;soapbind:operation style="document" soapAction="http://www.ServiceDesk.org#ServiceDesk:Registration"/&gt;
  &lt;input&gt;
  &lt;soapbind:body use="literal"/&gt;
  &lt;/input&gt;
  &lt;output&gt;
  &lt;soapbind:body use="literal"/&gt;
  &lt;/output&gt;
  &lt;/operation&gt;
  &lt;/binding-name&gt;
  &lt;service name="ServiceDesk"&gt;
  &lt;port name="ServiceDeskSoap" binding="tns:ServiceDeskSoapBinding"&gt;
  &lt;documentation&gt;
  &lt;wsi:Claim xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" conformsTo="http://ws-i.org/profiles/basic/1.1"/&gt;
  &lt;/documentation&gt;
  &lt;soapbind:address location="http://volga.rarus.ru/abc2009_artur/ru/ws/ServiceDesk"/&gt;
  &lt;/port&gt;
  &lt;port name="ServiceDeskSoap12" binding="tns:ServiceDeskSoap12Binding"&gt;
  &lt;soap12bind:address location="http://volga.rarus.ru/abc2009_artur/ru/ws/ServiceDesk"/&gt;
  &lt;/port&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p>I'm parse stackoverflow on similar questions, but it don't help me. </p>