473,405 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Method MyMethodName cannot be reflected

Hi,
I posted the following on GotDotNet, sorry for cross posting but I have
a serious issue on an important proof of concept...

Hi,
I have the same issue as

http://www.gotdotnet.com/Community/M...aspx?id=234947

I have a .Net Web Service, which when called from my dotNet client throws an
exception,

"Method myMethodName can not be reflected"

Does anyone know the origins of this and potential fixes? This is causing my
project great difficulties currently.

Any help greatly appreciated.

Regards.
Nov 21 '05 #1
8 16186
Thanks for the deluge of responses!!

I resolved the issue myself.

"John Jenkins" <jo**********@yahoo.com> wrote in message
news:2Y***************@newsfe3-win.ntli.net...
Hi,
I posted the following on GotDotNet, sorry for cross posting but I have a serious issue on an important proof of concept...

Hi,
I have the same issue as

http://www.gotdotnet.com/Community/M...aspx?id=234947

I have a .Net Web Service, which when called from my dotNet client throws an exception,

"Method myMethodName can not be reflected"

Does anyone know the origins of this and potential fixes? This is causing my project great difficulties currently.

Any help greatly appreciated.

Regards.

Nov 21 '05 #2
Hi,

Can you post the solution ?
It might be helpful for others.

Thanks.

Regards,
R.Balaji

"John Jenkins" <jo**********@yahoo.com> wrote in message
news:2V*****************@newsfe3-win.ntli.net...
Thanks for the deluge of responses!!

I resolved the issue myself.

"John Jenkins" <jo**********@yahoo.com> wrote in message
news:2Y***************@newsfe3-win.ntli.net...
Hi,
I posted the following on GotDotNet, sorry for cross posting but I have
a serious issue on an important proof of concept...

Hi,
I have the same issue as

http://www.gotdotnet.com/Community/M...aspx?id=234947

I have a .Net Web Service, which when called from my dotNet client

throws an
exception,

"Method myMethodName can not be reflected"

Does anyone know the origins of this and potential fixes? This is
causing my
project great difficulties currently.

Any help greatly appreciated.

Regards.


Nov 21 '05 #3
It would help if you could post the class and web method signature.

ASP.NET uses reflection to find methods with the [WebMethod] attribute.
Something is causing that reflection process to fail.

Morty :)

Jim Hoffman wrote:
I have the same issue.
I get the error right when I try to instantiate an object off the web service.
Before I even call any methods!

"John Jenkins" wrote:

Hi,
I posted the following on GotDotNet, sorry for cross posting but I have
a serious issue on an important proof of concept...

Hi,
I have the same issue as

http://www.gotdotnet.com/Community/M...aspx?id=234947

I have a .Net Web Service, which when called from my dotNet client throws an
exception,

"Method myMethodName can not be reflected"

Does anyone know the origins of this and potential fixes? This is causing my
project great difficulties currently.

Any help greatly appreciated.

Regards.

Nov 21 '05 #4
I have the same issue.
I get the error right when I try to instantiate an object off the web service.
Before I even call any methods!

"John Jenkins" wrote:
Hi,
I posted the following on GotDotNet, sorry for cross posting but I have
a serious issue on an important proof of concept...

Hi,
I have the same issue as

http://www.gotdotnet.com/Community/M...aspx?id=234947

I have a .Net Web Service, which when called from my dotNet client throws an
exception,

"Method myMethodName can not be reflected"

Does anyone know the origins of this and potential fixes? This is causing my
project great difficulties currently.

Any help greatly appreciated.

Regards.

Nov 21 '05 #5

John,
Can you post the solution you implemented for this problem. I am
having the same issue.
John Jenkins wrote:
*Hi,
I posted the following on GotDotNet, sorry for cross posting but I
have
a serious issue on an important proof of concept...

Hi,
I have the same issue as

http://tinyurl.com/cpfno

I have a .Net Web Service, which when called from my dotNet client
throws an
exception,

"Method myMethodName can not be reflected"

Does anyone know the origins of this and potential fixes? This is
causing my
project great difficulties currently.

Any help greatly appreciated.

Regards. *


--
shyni
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message829385.html

Jan 5 '06 #6

John Jenkins wrote:
*Hi,
I posted the following on GotDotNet, sorry for cross posting but I
have
a serious issue on an important proof of concept...

Hi,
I have the same issue as

http://tinyurl.com/cpfno

I have a .Net Web Service, which when called from my dotNet client
throws an
exception,

"Method myMethodName can not be reflected"

Does anyone know the origins of this and potential fixes? This is
causing my
project great difficulties currently.

Any help greatly appreciated.

Regards. *


--
shyni
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message829385.html

Jan 5 '06 #7
Hi John,
I have also mailed you personally. I am sorry for jamming your mailbox. But can you please tell me the solution that you had found for the problem

Method myMethodName can not be reflected"

I need some input on this urgently

Shall wait for your reply

Thanks and Regards,
Zalak Dedhia
Feb 28 '06 #8
vlidou
1
I had the same issue ; the pb was that the object that was passed to the web service function did not have a default public constructor.

Vincent LIDOU
Feb 28 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Neil Zanella | last post by:
Hello, I would like to ask a question pertaining to programmatic initialization of ASP web controls (as opposed to initialization via standalone attributes and other elements contained in the...
5
by: Terry Olsen | last post by:
Can I have an Event & Method with the same name in the same class? I want to have a "Close" method to close a socket and a "Close" event to be raised when the socket is closed.
1
by: Modica82 | last post by:
I have created a contract first web service, and to test i have created a client (asp.net) to attempt to test that my web service is at least communication. But when i call a method i get the...
0
by: | last post by:
Hello, when i try to create a webservice proxy (Web reference) from my client, an exception occured: Method "XYZ" can not be reflected. StackTrace " at...
1
by: Waldy | last post by:
Hi there, can anyone tell me what the message "Method x can not be reflected" means in English?
36
by: danielx | last post by:
At first I was going to post the following: <!-- beginning of my original post --> I just discovered the inspect module, which contains the isfunction and ismethod functions. For some reason,...
3
by: Peter van der veen | last post by:
Hi In my porject i use a custom header to be added to the SOAP message. I added the the custom SOAP header to the follwoing function which is in the proxy class. But when invoking the proxy...
11
by: eBob.com | last post by:
I have this nasty problem with Shared methods and what I think of as "global storage" - i.e. storage declared outside of any subroutines or functions. In the simple example below this "global"...
5
by: ijrr | last post by:
Hello all! I´m passing a reference using ref to a constructor in class A. A a = new A(ref myObj); If I change values of myObj in class A, they are reflected on the main class. But, If I call...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.