B
Bob
I've got a web service, WS, that has two web methods, A, and B.
Yesterday, in VS2K3, I created a web application that needed to use A.
I opened the 'Add Web Reference' dialog, clicked on the 'find web services
available on the local machine' link, selected WS, and web methods A and B
were displayed. What was unusual was that A was displayed in a lighter blue
font than B. I clicked the 'Add Reference' button and in my code wrote
"Dim X As New localhost."
When I typed the ".", the B web method name came up in Intelisense, but A
did not.
I opened up IE and entered, "http://localhost/WS/WS" and both web methods
came up. I selected A, entered data in the Post form that came up, and the
web method worked just like it should.
I had an earlier version on another server, so I went back into VS23K,
deleted the localhost web reference, opened the "Add Web Reference" dialog
again, typed in the address of WS on the other server and once again, both
web methods came backup, but A was 'blued out'.
I hunted down and deleted all WS.wsdl and WS.disco files on my machine.
Opened up the WS source, changed the name of A to XA, rebuilt WS, went back
to the other instance of VS2K3, went through the "Add Web Reference" dialog
and this time XA showed up in the normal blue.
I re-opened the source to WS, changed the name of XA back to A, rebuilt WS,
went back to the other instance of VS2K3, went through the "Add Web
Reference" dialog and A showed up again in the 'blued out' blue.
Can anyone tell me what I need to do to fix this problem and what I might
have done to get myself into this mess?
Thanks,
Bob
Yesterday, in VS2K3, I created a web application that needed to use A.
I opened the 'Add Web Reference' dialog, clicked on the 'find web services
available on the local machine' link, selected WS, and web methods A and B
were displayed. What was unusual was that A was displayed in a lighter blue
font than B. I clicked the 'Add Reference' button and in my code wrote
"Dim X As New localhost."
When I typed the ".", the B web method name came up in Intelisense, but A
did not.
I opened up IE and entered, "http://localhost/WS/WS" and both web methods
came up. I selected A, entered data in the Post form that came up, and the
web method worked just like it should.
I had an earlier version on another server, so I went back into VS23K,
deleted the localhost web reference, opened the "Add Web Reference" dialog
again, typed in the address of WS on the other server and once again, both
web methods came backup, but A was 'blued out'.
I hunted down and deleted all WS.wsdl and WS.disco files on my machine.
Opened up the WS source, changed the name of A to XA, rebuilt WS, went back
to the other instance of VS2K3, went through the "Add Web Reference" dialog
and this time XA showed up in the normal blue.
I re-opened the source to WS, changed the name of XA back to A, rebuilt WS,
went back to the other instance of VS2K3, went through the "Add Web
Reference" dialog and A showed up again in the 'blued out' blue.
Can anyone tell me what I need to do to fix this problem and what I might
have done to get myself into this mess?
Thanks,
Bob