What is the namespace that includes the MSXML2 class? I´m trying to define this :
MSXML2.ServerXMLHTTP40 objXML;
but I get this error:
"The type or namespace name 'MSXML2' could not be found (are you missing a using directive or an assembly reference?"
I´m working with Framework 1.1 and with the "int?" statement I´m getting an error.
Is the method 2 the only way?
My webmethod is too long and it has 4 parameters and the first is optional. Do I need to repeat the webmethod for the two situations? :(
Dears:
I´m using a web services with the webmethod below
[WebMethod]
public Client[] GetData(int Val) {
.....
}
On the page for GetData WebMethod, I decide not to type any value for the Val field and when I 'Invoke' the Web Services I receive this: System.ArgumentException: Cannot...
And If the client's project uses other application or language like PHP? Is the SOAP protocol the only way to Invoke the ASP.NET standard web services?
For example:
I have this Class:
public class Class1
{
public string Code;
public string Name;
}
and if I get a null value of Code, add the property:
public Errors Error;
I'm using this class in a web service and the normal response is:
<Class1>
<Code>...</Code>
<Name>...</Name>...
Hi:
How can I pass to the class below, the name of the class type in order to assume the string type passed, in the class methods:
For example
I have the following classes:
---------------
public class Class1 : System.Collections.CollectionBase
{
public Class1(string...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.