Help for this page

Select Code to Download


  1. or download this
      <soap:Header>
        <AuthenticationHeader xmlns="http://www.server.com/">
    ...
          <password>string</password>
        </AuthenticationHeader>
      </soap:Header>
    
  2. or download this
        DataSet ds = new DataSet();            
        theGeoData.AuthenticationHeader auth = new theGeoData.Authenticati
    +onHeader();
    ...
        auth.password = "pass";
        theAdds.AuthenticationHeaderValue = auth;
        ds = theAdds.GetIt();
    
  3. or download this
    sub SOAP::Transport::HTTP::Client::get_basic_credentials { 
        return 'username' => 'user';
        return 'password' => 'pass';    
    }
    
  4. or download this
                -> service('http://user:pass@server/GetData.asmx?WSDL');
    
  5. or download this
        eval {
            $service = SOAP::Lite
    ...
    
        $service -> GetData();
        my $som = $service -> call || &soapGetBad();