tu na pewno nie jest wyrzucany wyjatek tylko jest wyrzucany w
ServerResponse.doLogin(login);
wiec pokaz co jest w doLogin
Tak bład wyskakuję przy wrzucaniu obiektu do doLogin.
Update:Admin sprawdził endpoint i u nich działa .P zmianie na https trzeba jakoś inaczej wywołać te funkcje webservicu ?
Zmieniłem link na ten z błedu https://shop.com/backend.php/stWebApiBackend/soap?wsdl ale nadal to samo
Update 2 -Rozwiązanie
Udało się w app.config był link http a nie https ale dlaczego dodawał się bez s to nie wiem.
Referencja
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.2612.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.SoapTypeAttribute(Namespace="urn:StWebApi")]
public partial class doLogin {
private string _cultureField;
private string usernameField;
private string passwordField;
/// <remarks/>
public string _culture {
get {
return this._cultureField;
}
set {
this._cultureField = value;
}
}
/// <remarks/>
public string username {
get {
return this.usernameField;
}
set {
this.usernameField = value;
}
}
/// <remarks/>
public string password {
get {
return this.passwordField;
}
set {
this.passwordField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.2612.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.SoapTypeAttribute(Namespace="urn:StWebApi")]
public partial class doLoginResponse {
private string hashField;
/// <remarks/>
public string hash {
get {
return this.hashField;
}
set {
this.hashField = value;
}
}
}
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:StWebApiSoapServer", RequestNamespace="urn:StWebApi", ResponseNamespace="urn:StWebApi")]
[return: System.Xml.Serialization.SoapElementAttribute("doLoginResponse")]
public doLoginResponse doLogin([System.Xml.Serialization.SoapElementAttribute("doLogin")] doLogin doLogin1) {
object[] results = this.Invoke("doLogin", new object[] {
doLogin1});
return ((doLoginResponse)(results[0]));
}