Hi,

kennt sich jemand mit SOAP aus? ich nämlich nicht….

Möchte mich im ersten Schritt mal einloggen, scheitere aber schon, hier mein 
Code und die Fehlermeldung:

Server was unable to process request. ---> Object reference not set to an 
instance of an object.
und hier die URL mit der Beschreibung:
http://vlbapi.bvdep.com/VlbOnlineAPI.asmx?op=LogIn


  Dim sm as SOAPMethod
  Dim sr as SoapResult
  
  sm = New SOAPMethod
  
  sm.methodNamespace="http://vlbapi.bvdep.com/VlbOnlineAPI.asmx?WSDL";
  sm.action = "http://vlbapi.bvdep.com/LogIn";
  sm.url = "http://vlbapitest.bvdep.com";
  
  sm.parameter("Login") = "*********"
  sm.parameter("Password") = "********"
  
  sr= sm.Invoke("LogIn")
  
  if sr<> Nil then
    label1.Text = "OK - " + sr.errorMessage
  end if
  
Exception err
  MsgBox "Exception: " + err.message 

Gruß

Stefan

Antwort per Email an