By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,846 Members | 1,646 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,846 IT Pros & Developers. It's quick & easy.

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

P: n/a
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?

Thanks!
Scott
--
-----------------------------------------
Go Orange!!!!!!!!!!!!!!!!!!!!!!!

May 4 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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 ?

Martin

May 5 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.