Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
elwoos
Master Smack Fu Yak Hacker
2052 Posts |
Posted - 2010-03-19 : 11:10:57
|
Hi all I would really appreciate any suggestions you may have on how to start to debug this frankly bizzare situation.I have setup a web service (using .NET 3.5 if it matters) which has a number of methods, all of which work fine either by invoking them directly from the web page that is generated or by using SOAPUI.I need to call some of these methods from an ASP.NET 1.1 website. Most of the time this works fine, however one particular page needs to call 3 different methods on the web service. The first of these is on page load, the others are when the user clicks a button. Two seperate buttons). The first button works fine, however the second causes an issue. When I try to debug this I get an error - Cannot obtain value on the line on all the properties for the WebService object declared belowDIM WebService as new WServicesi.e. exactly the same line as used twice earlier.There are some suggestions on google that this is related to the number of parameters somewhere along the line but if that's the case why would it work twioe earlier?Any clues, suggestions, offers of a job driving buses etc would be appreciatedthankssteve-----------Deja Moo - The feeling you've heard the same bull before. |
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2010-03-19 : 17:27:23
|
check your spellings. |
|
|
Kristen
Test
22859 Posts |
Posted - 2010-03-20 : 06:51:45
|
You have Webservices, SOAP and ASP.NET in your prehistoric organisation? Well I never ...ASP.NET version 1.1 eh? FWIW I'm not a fan of Web Services, the few that we have used have taken a disproportionate amount of time to sort out. The solution may lie in a conference I went to years ago on EDI. People like Tescos were saying that they had expected to save X from just-in-time deliveries but actually saved X * Y because they had fewer returns.The issue was that Tescos (say) would order a "box of baked beans" expecting 144 x 100gm cans, but actually got a box of 20 x 250gm cans - which they then sent back, and had no baked beans on their shelves until the replacement arrived.Sorting out the product codes, so that they "matched", on both sides of the EDI (which I expect was a pain to do) had huge downstream benefits.All the webservices I have used, so far, have been written by well meaning 3rd party companies, and the "nuance" of the parameters, and the data values, is in their heads and NOT in their documentation We only ever solved them by locking their webservices programmer, and ours, in a room and not letting them out, or providing food (other than Jolt Cola!) until they had fixed it.Perhaps you should go to your barber and buy his "something for the weekend" instead?!! |
|
|
elwoos
Master Smack Fu Yak Hacker
2052 Posts |
Posted - 2010-03-23 : 06:34:00
|
quote: check your spellings.
Afrika perhaps I haven't made myself clear. When I step through the call. All the properties for the webservice call show the error - Cannot obtain value - in the debugger however it only does this for one of the callsquote: ASP.NET version 1.1 eh
Kristen you mean this isn't the latest version? More seriously this is what our website is running on - it's a case of if it aint broke. Of course if you want to pay more tax we can keep it up to date with the latest technology quote: All the webservices I have used, so far, have been written by well meaning 3rd party companies
Urgh - I'm not even going down that route, there are plenty of gotcha's in the whole business. i've learned more about SOAP than I ever wanted to know during the whole process. quote: We only ever solved them by locking their webservices programmer, and ours, in a room and not letting them out, or providing food (other than Jolt Cola!) until they had fixed it.
You have Jolt Cola!! I thought you were even further out in the sticks than me. Don't tell me you import it specially.This whole things strikes me as being some obscure "feature" given that the calls work fine from elsewhere. Look out Kristen it looks like its time to upgrade the website steve-----------Deja Moo - The feeling you've heard the same bull before. |
|
|
|
|
|
|
|