Thanks in advance!
/Henke
Could you show the webmethod definition? I'll take a look. Otherwise it's
also sufficient to show me the data definition for input/output.
Lucien
"Henke" <henke...@hotmail.com> wrote in message
news:O9vE9JS1...@TK2MSFTNGP11.phx.gbl...
return companyDataSet;
}
where DBAccess.CompanyDataSet is my typed dataset.
The thing is, as I said earlier, if I don't use the Wse-version of the
method everything works fine.
/Henke
"Lucien" <*lucien*@MicrosoftAccount.com> skrev i meddelandet
news:OWkTioX1...@TK2MSFTNGP09.phx.gbl...
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.o
rg/GetAllCompanies", RequestNamespace="http://tempuri.org/",
ResponseNamespace="http://tempuri.org/",
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public CompanyDataSet GetAllCompanies() {
object[] results = this.Invoke("GetAllCompanies", new object[0]);
return ((CompanyDataSet)(results[0]));
}
Could you try it with this class? It could be that it was fixed. I did find
an error though in the namespace for CompanyDataSet and will file a bug. The
namespace on the proxy is incorrectly set to tempuri.org.
Namespace definition:
namespace DBAccess{
public class CompanyDataSet{
public string[] Name;
public int Total;
public CompanyDataSet(){}
}}
"Henke" <henke...@hotmail.com> wrote in message
news:uPGtYvb1...@TK2MSFTNGP11.phx.gbl...
This is how my WSE-proxy looks:
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.o
rg/GetAllCompanies", RequestNamespace="http://tempuri.org/",
ResponseNamespace="http://tempuri.org/",
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Xml.XmlElement GetAllCompanies()
{
object[] results = this.Invoke("GetAllCompanies", new object[0]);
return ((System.Xml.XmlElement)(results[0]));
}
And this is how my none WSE-proxy looks like:
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.o
rg/GetAllCompanies", RequestNamespace="http://tempuri.org/",
ResponseNamespace="http://tempuri.org/",
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public CompanyDataSet GetAllCompanies()
{
object[] results = this.Invoke("GetAllCompanies", new object[0]);
return ((CompanyDataSet)(results[0]));
}
/Henke
"Lucien" <*lucien*@MicrosoftAccount.com> skrev i meddelandet
news:eH1nfDk1...@TK2MSFTNGP11.phx.gbl...
"Henke" <henke...@hotmail.com> wrote in message
news:unhXVHG2...@TK2MSFTNGP10.phx.gbl...