469,573 Members | 1,702 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,573 developers. It's quick & easy.

ASP.NET server control thinks web service is done processing, but.

I have a VS.NET 2003 project that's giving me issues. Any assistance would
be greatly appreciated!

I have a fairly straight-forward system of server controls and web services,
where the server controls access the web services for content. The prolem
I'm having is very odd.

One of my controls is calling the corresponding web service as normal.
However, the client application is continuting to process PRIOR TO the
completion of the web service.

The web service returns a small class containing two properties, one with
the content and the other with the status of the operation. When this
segment of code runs in the debugger, the object that is supposedly being
returned by the web service (you know, the one that is still processing) is
an object that was created by the classes default constructor. I can tell
because the one property is set to a null value (actually, nothing - this is
VB), and that value causes problems later on.

The real issue here is that the client seems to think that the web service
has completed processing when, in fact, it hasn't.

Has anyone else ever seen this behavior and,if so, what did you do to
correct the issue?

Go Orange!!!!!!!!!!!!!!!!!!!!!!!

May 4 '06 #1
1 977
Hello Scott,
When CLR creates a structure containing def. constructor, i will use
it, so your values are default, from client side.
i suppose you are using asynchronous WS calls. Then you need to set
correct handler co get web service result ant dont forget to call
EndAsyncCall or what is that name of WS method. Then you will get that
result you need.
Does this solved your trouble ?


May 5 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Curtis Justus | last post: by
3 posts views Thread by Ken Allen | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.