M
mirna
I am having problem.
when i am calling web service method from mobile aplication i get
WebException. I don't know where the problem is because when i call the
same method from windows aplication it works OK and i dont have
problems. I would be thankful if someone could help me...
here is the code where problem occurs (references.cs):
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://localhost/WSRjecnik/Service.asmx/vratiOdgovarajuceRijeci",
RequestNamespace="http://localhost/WSRjecnik/Service.asmx",
ResponseNamespace="http://localhost/WSRjecnik/Service.asmx",
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public object[] vratiOdgovarajuceRijeci(string rijec, string
jezik) {
object[] results = this.Invoke("vratiOdgovarajuceRijeci",
new object[] { <= WebException!!
rijec,
jezik});
return ((object[])(results[0]));
}
does it affect the namespace in wich the web service is??
thank You
when i am calling web service method from mobile aplication i get
WebException. I don't know where the problem is because when i call the
same method from windows aplication it works OK and i dont have
problems. I would be thankful if someone could help me...
here is the code where problem occurs (references.cs):
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://localhost/WSRjecnik/Service.asmx/vratiOdgovarajuceRijeci",
RequestNamespace="http://localhost/WSRjecnik/Service.asmx",
ResponseNamespace="http://localhost/WSRjecnik/Service.asmx",
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public object[] vratiOdgovarajuceRijeci(string rijec, string
jezik) {
object[] results = this.Invoke("vratiOdgovarajuceRijeci",
new object[] { <= WebException!!
rijec,
jezik});
return ((object[])(results[0]));
}
does it affect the namespace in wich the web service is??
thank You