My ASP.NET Web Service project has a Web Method that returns an array filled
with instances of a custom class.
The custom class is defined in a Class Library that is included in the
web-service project.
The same class lib is included in the ASP.NET Web Application that calls the
web-method
I can successfully call the web-method with
object[] a = WebReference.WebService.WebMethod();
but when I attempt
myClass element = (myClass) a[i];
I receive the runtime error
"Specified cast is not valid." 7 4702
What the web method (actually the method from proxy class) is returning is a
proxy-type, and not the type that web service originally returned. You have
two choices:
1. Use the proxy type as-is. Since this was generated class, it will be
close to what the web service returned, sans any methods.
2. Manually edit the proxy class (found in webreferences folder of your web
site, with the same name as the reference page), and remove the proxy type,
and include the actual type in the cs file. Then add the corresponding using
statement as well.
--
Manohar Kamath
Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl... My ASP.NET Web Service project has a Web Method that returns an array
filled with instances of a custom class.
The custom class is defined in a Class Library that is included in the web-service project.
The same class lib is included in the ASP.NET Web Application that calls
the web-method
I can successfully call the web-method with
object[] a = WebReference.WebService.WebMethod();
but when I attempt
myClass element = (myClass) a[i];
I receive the runtime error
"Specified cast is not valid."
Hi Manohar, and thanks for the response.
<<<
1. Use the proxy type as-is. Since this was generated class, it will be
close to what the web service returned, sans any methods.
My custom class is very simple. Two private fields. Two properties to
read-access the private fields. Two constructors (default, and one that
sets the two fields' values).
Are you saying that the proxy type will contain the data that my custom
class contains , but the two properties will not be available ?
So, I access the data like this:
a[i].Field1
a[i].Field2
<<<
2. Manually edit the proxy class (found in webreferences folder of your web
site, with the same name as the reference page), and remove the proxy type,
and include the actual type in the cs file. Then add the corresponding using
statement as well.
I'm not sure exactly what to do here.
Looking at my web-application in Visual Studio, and clicking on the
web-reference, a number of expandable nodes are shown: these appear to be
all of the types that my web-service references. Among them is listed the
name of my custom class -- but the first character is in lower case. In the
tree that expands from that node are listed my class' fields, construtors,
and properties exactly as I've defined them.
I'm looking at the contents of the "Web References" folder underneath my
web-app's physical folder: Reference.cs, Reference.map,
<web-service-name>.disco, <web-service-name>.wsdl
These files all look very dangerous to edit.
"Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message
news:uA****************@TK2MSFTNGP10.phx.gbl... What the web method (actually the method from proxy class) is returning is a proxy-type, and not the type that web service originally returned. You have two choices:
1. Use the proxy type as-is. Since this was generated class, it will be close to what the web service returned, sans any methods.
2. Manually edit the proxy class (found in webreferences folder of your web site, with the same name as the reference page), and remove the proxy type, and include the actual type in the cs file. Then add the corresponding using statement as well.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message news:%2******************@TK2MSFTNGP09.phx.gbl... My ASP.NET Web Service project has a Web Method that returns an array filled with instances of a custom class.
The custom class is defined in a Class Library that is included in the web-service project.
The same class lib is included in the ASP.NET Web Application that calls the web-method
I can successfully call the web-method with
object[] a = WebReference.WebService.WebMethod();
but when I attempt
myClass element = (myClass) a[i];
I receive the runtime error
"Specified cast is not valid."
I am saying, your proxy type is identical to your custom type (almost),
except it will be in another namespace -- same as that of the proxy class.
So, by doing a manual changes, you are tricking SOAP to think that it is
actually deserializing to proxy type. As long as the names and types are
same, it will work.
--
Manohar Kamath
Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:u%******************@TK2MSFTNGP10.phx.gbl... Hi Manohar, and thanks for the response.
<<< 1. Use the proxy type as-is. Since this was generated class, it will be close to what the web service returned, sans any methods. My custom class is very simple. Two private fields. Two properties to read-access the private fields. Two constructors (default, and one that sets the two fields' values).
Are you saying that the proxy type will contain the data that my custom class contains , but the two properties will not be available ?
So, I access the data like this:
a[i].Field1 a[i].Field2
<<< 2. Manually edit the proxy class (found in webreferences folder of your
web site, with the same name as the reference page), and remove the proxy
type, and include the actual type in the cs file. Then add the corresponding
using statement as well. I'm not sure exactly what to do here.
Looking at my web-application in Visual Studio, and clicking on the web-reference, a number of expandable nodes are shown: these appear to be all of the types that my web-service references. Among them is listed the name of my custom class -- but the first character is in lower case. In
the tree that expands from that node are listed my class' fields, construtors, and properties exactly as I've defined them.
I'm looking at the contents of the "Web References" folder underneath my web-app's physical folder: Reference.cs, Reference.map, <web-service-name>.disco, <web-service-name>.wsdl
These files all look very dangerous to edit.
"Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message news:uA****************@TK2MSFTNGP10.phx.gbl... What the web method (actually the method from proxy class) is returning
is a proxy-type, and not the type that web service originally returned. You have two choices:
1. Use the proxy type as-is. Since this was generated class, it will be close to what the web service returned, sans any methods.
2. Manually edit the proxy class (found in webreferences folder of your web site, with the same name as the reference page), and remove the proxy type, and include the actual type in the cs file. Then add the corresponding using statement as well.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message news:%2******************@TK2MSFTNGP09.phx.gbl... My ASP.NET Web Service project has a Web Method that returns an array filled with instances of a custom class.
The custom class is defined in a Class Library that is included in the web-service project.
The same class lib is included in the ASP.NET Web Application that
calls the web-method
I can successfully call the web-method with
object[] a = WebReference.WebService.WebMethod();
but when I attempt
myClass element = (myClass) a[i];
I receive the runtime error
"Specified cast is not valid."
Ok. I edited Reference.cs so that my custom type is explicitly declared
using the class library namespace:
used to be : public MyCustomClass Method1() {
changed to: public MyCustomClassLibrary.MyCustomClass Method1() {
Now what happens is that I receive no compile-time nor run-time errors, but
on the web-app side, properties of an instance of MyCustomClass are always
null, no matter what values MyWebService.Method1() has set them to.
so ...
object[] array = MyWebReference.Method1();
(MyCustomClass) element = array[0];
String s1 = element.Field1;
String s2 = element.Field2;
element.Field1 and element.Field2 are always null,
"Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message
news:eR**************@TK2MSFTNGP12.phx.gbl... I am saying, your proxy type is identical to your custom type (almost), except it will be in another namespace -- same as that of the proxy class. So, by doing a manual changes, you are tricking SOAP to think that it is actually deserializing to proxy type. As long as the names and types are same, it will work.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message news:u%******************@TK2MSFTNGP10.phx.gbl... Hi Manohar, and thanks for the response.
<<< 1. Use the proxy type as-is. Since this was generated class, it will be close to what the web service returned, sans any methods. >>>
My custom class is very simple. Two private fields. Two properties to read-access the private fields. Two constructors (default, and one that sets the two fields' values).
Are you saying that the proxy type will contain the data that my custom class contains , but the two properties will not be available ?
So, I access the data like this:
a[i].Field1 a[i].Field2
<<< 2. Manually edit the proxy class (found in webreferences folder of your web site, with the same name as the reference page), and remove the proxy type, and include the actual type in the cs file. Then add the corresponding using statement as well. >>>
I'm not sure exactly what to do here.
Looking at my web-application in Visual Studio, and clicking on the web-reference, a number of expandable nodes are shown: these appear to be all of the types that my web-service references. Among them is listed the name of my custom class -- but the first character is in lower case. In the tree that expands from that node are listed my class' fields, construtors, and properties exactly as I've defined them.
I'm looking at the contents of the "Web References" folder underneath my web-app's physical folder: Reference.cs, Reference.map, <web-service-name>.disco, <web-service-name>.wsdl
These files all look very dangerous to edit.
"Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message news:uA****************@TK2MSFTNGP10.phx.gbl... > What the web method (actually the method from proxy class) is returning is > a > proxy-type, and not the type that web service originally returned. You > have > two choices: > > 1. Use the proxy type as-is. Since this was generated class, it will be > close to what the web service returned, sans any methods. > > 2. Manually edit the proxy class (found in webreferences folder of your > web > site, with the same name as the reference page), and remove the proxy > type, > and include the actual type in the cs file. Then add the corresponding > using > statement as well. > > > -- > Manohar Kamath > Editor, .netWire > www.dotnetwire.com > > > "John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message > news:%2******************@TK2MSFTNGP09.phx.gbl... >> My ASP.NET Web Service project has a Web Method that returns an array > filled >> with instances of a custom class. >> >> The custom class is defined in a Class Library that is included in the >> web-service project. >> >> The same class lib is included in the ASP.NET Web Application that calls > the >> web-method >> >> I can successfully call the web-method with >> >> object[] a = WebReference.WebService.WebMethod(); >> >> but when I attempt >> >> myClass element = (myClass) a[i]; >> >> I receive the runtime error >> >> "Specified cast is not valid." >> >> >> >> >> >> >> > >
I think you misunderstood me...
In the reference.cs, DELETE the custom type MyCustomClass. Then, add the
using statement with the namespace MyCustomClassLibrary. You should not have
to change anything else.
--
Manohar Kamath
Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:e1**************@TK2MSFTNGP12.phx.gbl... Ok. I edited Reference.cs so that my custom type is explicitly declared using the class library namespace:
used to be : public MyCustomClass Method1() {
changed to: public MyCustomClassLibrary.MyCustomClass Method1() {
Now what happens is that I receive no compile-time nor run-time errors,
but on the web-app side, properties of an instance of MyCustomClass are always null, no matter what values MyWebService.Method1() has set them to.
so ...
object[] array = MyWebReference.Method1(); (MyCustomClass) element = array[0]; String s1 = element.Field1; String s2 = element.Field2;
element.Field1 and element.Field2 are always null, "Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message news:eR**************@TK2MSFTNGP12.phx.gbl...I am saying, your proxy type is identical to your custom type (almost), except it will be in another namespace -- same as that of the proxy
class. So, by doing a manual changes, you are tricking SOAP to think that it is actually deserializing to proxy type. As long as the names and types
are same, it will work.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message news:u%******************@TK2MSFTNGP10.phx.gbl... Hi Manohar, and thanks for the response.
<<< 1. Use the proxy type as-is. Since this was generated class, it will be close to what the web service returned, sans any methods. >>>
My custom class is very simple. Two private fields. Two properties to read-access the private fields. Two constructors (default, and one
that sets the two fields' values).
Are you saying that the proxy type will contain the data that my custom class contains , but the two properties will not be available ?
So, I access the data like this:
a[i].Field1 a[i].Field2
<<< 2. Manually edit the proxy class (found in webreferences folder of your web site, with the same name as the reference page), and remove the proxy type, and include the actual type in the cs file. Then add the corresponding using statement as well. >>>
I'm not sure exactly what to do here.
Looking at my web-application in Visual Studio, and clicking on the web-reference, a number of expandable nodes are shown: these appear to
be all of the types that my web-service references. Among them is listed the name of my custom class -- but the first character is in lower case.
In the tree that expands from that node are listed my class' fields, construtors, and properties exactly as I've defined them.
I'm looking at the contents of the "Web References" folder underneath
my web-app's physical folder: Reference.cs, Reference.map, <web-service-name>.disco, <web-service-name>.wsdl
These files all look very dangerous to edit.
"Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message news:uA****************@TK2MSFTNGP10.phx.gbl... > What the web method (actually the method from proxy class) is
returning is > a > proxy-type, and not the type that web service originally returned.
You > have > two choices: > > 1. Use the proxy type as-is. Since this was generated class, it will
be > close to what the web service returned, sans any methods. > > 2. Manually edit the proxy class (found in webreferences folder of
your > web > site, with the same name as the reference page), and remove the proxy > type, > and include the actual type in the cs file. Then add the
corresponding > using > statement as well. > > > -- > Manohar Kamath > Editor, .netWire > www.dotnetwire.com > > > "John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message > news:%2******************@TK2MSFTNGP09.phx.gbl... >> My ASP.NET Web Service project has a Web Method that returns an
array > filled >> with instances of a custom class. >> >> The custom class is defined in a Class Library that is included in
the >> web-service project. >> >> The same class lib is included in the ASP.NET Web Application that calls > the >> web-method >> >> I can successfully call the web-method with >> >> object[] a = WebReference.WebService.WebMethod(); >> >> but when I attempt >> >> myClass element = (myClass) a[i]; >> >> I receive the runtime error >> >> "Specified cast is not valid." >> >> >> >> >> >> >> > >
Ahh, I see. The problem is that the MyCustomClass stub in References.cs
causes the compiler to think that web-method return types of MyCustomClass
originate in the web-service rather than in MyCustomClassLibrary.
Correct ?
"Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl... I think you misunderstood me...
In the reference.cs, DELETE the custom type MyCustomClass. Then, add the using statement with the namespace MyCustomClassLibrary. You should not have to change anything else.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message news:e1**************@TK2MSFTNGP12.phx.gbl... Ok. I edited Reference.cs so that my custom type is explicitly declared using the class library namespace:
used to be : public MyCustomClass Method1() {
changed to: public MyCustomClassLibrary.MyCustomClass Method1() {
Now what happens is that I receive no compile-time nor run-time errors, but on the web-app side, properties of an instance of MyCustomClass are always null, no matter what values MyWebService.Method1() has set them to.
so ...
object[] array = MyWebReference.Method1(); (MyCustomClass) element = array[0]; String s1 = element.Field1; String s2 = element.Field2;
element.Field1 and element.Field2 are always null, "Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message news:eR**************@TK2MSFTNGP12.phx.gbl... >I am saying, your proxy type is identical to your custom type (almost), > except it will be in another namespace -- same as that of the proxy class. > So, by doing a manual changes, you are tricking SOAP to think that it > is > actually deserializing to proxy type. As long as the names and types are > same, it will work. > > -- > Manohar Kamath > Editor, .netWire > www.dotnetwire.com > > > "John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message > news:u%******************@TK2MSFTNGP10.phx.gbl... >> Hi Manohar, and thanks for the response. >> >> <<< >> 1. Use the proxy type as-is. Since this was generated class, it will >> be >> close to what the web service returned, sans any methods. >> >>> >> >> My custom class is very simple. Two private fields. Two properties >> to >> read-access the private fields. Two constructors (default, and one that >> sets the two fields' values). >> >> Are you saying that the proxy type will contain the data that my >> custom >> class contains , but the two properties will not be available ? >> >> So, I access the data like this: >> >> a[i].Field1 >> a[i].Field2 >> >> >> <<< >> 2. Manually edit the proxy class (found in webreferences folder of >> your > web >> site, with the same name as the reference page), and remove the proxy > type, >> and include the actual type in the cs file. Then add the corresponding > using >> statement as well. >> >>> >> >> I'm not sure exactly what to do here. >> >> Looking at my web-application in Visual Studio, and clicking on the >> web-reference, a number of expandable nodes are shown: these appear to be >> all of the types that my web-service references. Among them is listed >> the >> name of my custom class -- but the first character is in lower case. In > the >> tree that expands from that node are listed my class' fields, >> construtors, >> and properties exactly as I've defined them. >> >> I'm looking at the contents of the "Web References" folder underneath my >> web-app's physical folder: Reference.cs, Reference.map, >> <web-service-name>.disco, <web-service-name>.wsdl >> >> These files all look very dangerous to edit. >> >> >> "Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message >> news:uA****************@TK2MSFTNGP10.phx.gbl... >> > What the web method (actually the method from proxy class) is returning > is >> > a >> > proxy-type, and not the type that web service originally returned. You >> > have >> > two choices: >> > >> > 1. Use the proxy type as-is. Since this was generated class, it will be >> > close to what the web service returned, sans any methods. >> > >> > 2. Manually edit the proxy class (found in webreferences folder of your >> > web >> > site, with the same name as the reference page), and remove the >> > proxy >> > type, >> > and include the actual type in the cs file. Then add the corresponding >> > using >> > statement as well. >> > >> > >> > -- >> > Manohar Kamath >> > Editor, .netWire >> > www.dotnetwire.com >> > >> > >> > "John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message >> > news:%2******************@TK2MSFTNGP09.phx.gbl... >> >> My ASP.NET Web Service project has a Web Method that returns an array >> > filled >> >> with instances of a custom class. >> >> >> >> The custom class is defined in a Class Library that is included in the >> >> web-service project. >> >> >> >> The same class lib is included in the ASP.NET Web Application that > calls >> > the >> >> web-method >> >> >> >> I can successfully call the web-method with >> >> >> >> object[] a = WebReference.WebService.WebMethod(); >> >> >> >> but when I attempt >> >> >> >> myClass element = (myClass) a[i]; >> >> >> >> I receive the runtime error >> >> >> >> "Specified cast is not valid." >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> > >> >> > >
Yes... by removing the custom type, you are actually returning from the
proxy class, an object which is the same type the web service returns.
--
Manohar Kamath
Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:uR**************@TK2MSFTNGP14.phx.gbl... Ahh, I see. The problem is that the MyCustomClass stub in References.cs causes the compiler to think that web-method return types of MyCustomClass originate in the web-service rather than in MyCustomClassLibrary.
Correct ?
"Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message news:em**************@TK2MSFTNGP10.phx.gbl...I think you misunderstood me...
In the reference.cs, DELETE the custom type MyCustomClass. Then, add the using statement with the namespace MyCustomClassLibrary. You should not have to change anything else.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message news:e1**************@TK2MSFTNGP12.phx.gbl... Ok. I edited Reference.cs so that my custom type is explicitly declared using the class library namespace:
used to be : public MyCustomClass Method1() {
changed to: public MyCustomClassLibrary.MyCustomClass Method1() {
Now what happens is that I receive no compile-time nor run-time errors, but on the web-app side, properties of an instance of MyCustomClass are always null, no matter what values MyWebService.Method1() has set them to.
so ...
object[] array = MyWebReference.Method1(); (MyCustomClass) element = array[0]; String s1 = element.Field1; String s2 = element.Field2;
element.Field1 and element.Field2 are always null, "Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message news:eR**************@TK2MSFTNGP12.phx.gbl... >I am saying, your proxy type is identical to your custom type
(almost), > except it will be in another namespace -- same as that of the proxy class. > So, by doing a manual changes, you are tricking SOAP to think that it > is > actually deserializing to proxy type. As long as the names and types are > same, it will work. > > -- > Manohar Kamath > Editor, .netWire > www.dotnetwire.com > > > "John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message > news:u%******************@TK2MSFTNGP10.phx.gbl... >> Hi Manohar, and thanks for the response. >> >> <<< >> 1. Use the proxy type as-is. Since this was generated class, it will >> be >> close to what the web service returned, sans any methods. >> >>> >> >> My custom class is very simple. Two private fields. Two properties >> to >> read-access the private fields. Two constructors (default, and one that >> sets the two fields' values). >> >> Are you saying that the proxy type will contain the data that my >> custom >> class contains , but the two properties will not be available ? >> >> So, I access the data like this: >> >> a[i].Field1 >> a[i].Field2 >> >> >> <<< >> 2. Manually edit the proxy class (found in webreferences folder of >> your > web >> site, with the same name as the reference page), and remove the
proxy > type, >> and include the actual type in the cs file. Then add the
corresponding > using >> statement as well. >> >>> >> >> I'm not sure exactly what to do here. >> >> Looking at my web-application in Visual Studio, and clicking on the >> web-reference, a number of expandable nodes are shown: these appear
to be >> all of the types that my web-service references. Among them is
listed >> the >> name of my custom class -- but the first character is in lower case. In > the >> tree that expands from that node are listed my class' fields, >> construtors, >> and properties exactly as I've defined them. >> >> I'm looking at the contents of the "Web References" folder
underneath my >> web-app's physical folder: Reference.cs, Reference.map, >> <web-service-name>.disco, <web-service-name>.wsdl >> >> These files all look very dangerous to edit. >> >> >> "Manohar Kamath" <mk*****@TAKETHISOUTkamath.com> wrote in message >> news:uA****************@TK2MSFTNGP10.phx.gbl... >> > What the web method (actually the method from proxy class) is returning > is >> > a >> > proxy-type, and not the type that web service originally returned. You >> > have >> > two choices: >> > >> > 1. Use the proxy type as-is. Since this was generated class, it
will be >> > close to what the web service returned, sans any methods. >> > >> > 2. Manually edit the proxy class (found in webreferences folder of your >> > web >> > site, with the same name as the reference page), and remove the >> > proxy >> > type, >> > and include the actual type in the cs file. Then add the corresponding >> > using >> > statement as well. >> > >> > >> > -- >> > Manohar Kamath >> > Editor, .netWire >> > www.dotnetwire.com >> > >> > >> > "John Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message >> > news:%2******************@TK2MSFTNGP09.phx.gbl... >> >> My ASP.NET Web Service project has a Web Method that returns an array >> > filled >> >> with instances of a custom class. >> >> >> >> The custom class is defined in a Class Library that is included
in the >> >> web-service project. >> >> >> >> The same class lib is included in the ASP.NET Web Application
that > calls >> > the >> >> web-method >> >> >> >> I can successfully call the web-method with >> >> >> >> object[] a = WebReference.WebService.WebMethod(); >> >> >> >> but when I attempt >> >> >> >> myClass element = (myClass) a[i]; >> >> >> >> I receive the runtime error >> >> >> >> "Specified cast is not valid." >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> > >> >> > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Stefan Weiss |
last post by:
Hi.
The manual for pg_fetch_result() reads:
| All forms of integer types are returned as integer values. All
| forms of float, and real types are returned as float values. Boolean
| is...
|
by: J. Campbell |
last post by:
I have a feeling that I'm doing things all ass-backwards (again ;-),
and would like some advice. What I want to do is:
put some data to memory and then access that memory space as an array
of...
|
by: Bartas |
last post by:
Hi,
I'am writting a simple SOAP client in python (2.4) using SOAPpy lib.
I've met with this problem:
when I want to send a list of complex type using
some method from WebService(java,WAS),
...
|
by: truckaxle |
last post by:
I am trying to pass a slice from a larger 2-dimensional array to a
function that will work on a smaller region of the array space. The
code below is a distillation of what I am trying to...
|
by: JohnR |
last post by:
From reading the documentation, this should be a relatively easy thing. I
have an arraylist of custom class instances which I want to search with
an"indexof" where I'm passing an instance if the...
|
by: george_Martinho |
last post by:
It seems that the ASP.NET Microsoft team didn't think about this!!
The profilemanager class has the following methods:
- DeleteInactiveProfiles. Enables you to delete all profiles older than
a...
|
by: SM |
last post by:
Hi,
I have a web service method developed in .Net 1.1 where both http get and
post protocols are enabled.
the problem is that , when i access my web method from ie window like...
|
by: Sunburned Surveyor |
last post by:
I'm a Java developer in the process of writing a class library in C#,
so please bear with me.
I'm trying to write a method that can return a generic Object OR a
Decimal value. In Java I would...
|
by: =?Utf-8?B?RXRoYW4gU3RyYXVzcw==?= |
last post by:
Hi,
I have a class which "BiologySequence" which looks about like this.
public class BiologySequence
{
private string _Sequence;
public string Sequence
{
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |