title: How to consume web service with WSDL file?
body: <p>have been given a URL to a WSDL, a piece of it is here..not sure if this is a pertinent piece or not. I know how to add the web reference and import the namespace in Visual Studio 2005. </p>
  
  <p>Questions...how do I pass my values to it? How do I encode for binary-64? I have the methodname (GETP)...not sure how to invoke it as a function to pass parameters, or if that is even the correct way to do it with this type of reference. Have only consumed .asmx files previously.  </p>
  
  <pre><code>  &lt;wsdl:message name="GETPResponse"&gt;
        &lt;wsdl:part name="GETPReturn" type="xsd:string" /&gt; 
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="GETPRequest"&gt;
        &lt;wsdl:part name="BASE64DATA" type="xsd:base64Binary" /&gt; 
    &lt;/wsdl:message&gt;
    &lt;wsdl:portType name="Dist"&gt;
       &lt;wsdl:operation name="GETP" parameterOrder="BASE64DATA"&gt;
           &lt;wsdl:input message="impl:GETPRequest" name="GETPRequest" /&gt; 
           &lt;wsdl:output message="impl:GETPResponse" name="GETPResponse" /&gt; 
       &lt;/wsdl:operation&gt;
    &lt;/wsdl:portType&gt;
  </code></pre>