Click here to Skip to main content
15,888,293 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Getting web service server URL at runtime... Pin
led mike31-Mar-08 7:28
led mike31-Mar-08 7:28 
QuestionWebServices Question.. Pin
som.nitk29-Mar-08 3:25
som.nitk29-Mar-08 3:25 
GeneralRe: WebServices Question.. Pin
Guffa31-Mar-08 1:24
Guffa31-Mar-08 1:24 
GeneralRe: WebServices Question.. Pin
som.nitk31-Mar-08 7:54
som.nitk31-Mar-08 7:54 
GeneralRe: WebServices Question.. Pin
Guffa31-Mar-08 15:04
Guffa31-Mar-08 15:04 
QuestionRe: WebServices Question.. Pin
ptr2void1-Apr-08 1:11
ptr2void1-Apr-08 1:11 
GeneralRe: WebServices Question.. Pin
Guffa1-Apr-08 9:18
Guffa1-Apr-08 9:18 
GeneralCan't load proxy class created via "Add Web Reference..." Pin
bwilhite28-Mar-08 10:36
bwilhite28-Mar-08 10:36 
Hi,

I have a web service I created and uploaded to my server. In another project (output type .dll) I added a reference to the service via "Add Web Reference..." dialog. All seemed fine at first. A file called Reference.cs is added under the web reference node, and when I look at it, this looks just like the proxy class that is needed. The Build Action associated with this file is "Compile." I am also able to use intellisense to get access to the created proxy class, and when I load the .dll from another project in the same solution through the debugger, everything works fine.

However, when I copy the files from my bin\Release\ to another folder (and also calling the .dll from a separate solution altogether), I get an exception :

"System.TypeLoadException: Could not load type 'Trading.BrokerProxy.net.sbjgroup.CustomerMgmtSvc' from assembly 'SBJCharts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'..."
(where Trading.BrokerProxy.net.sbjgroup.CustomerMgmtSvc is the proxy class)

The other part of all of this, is that if I generate the proxy class via wsdl.exe and add the output to my project...at that point all works as expected (after I also remove the WebReference).

I'd really like to figure out what's going on here, as it would be much simpler just to add the WebReference and then everything works as expected.

Thanks in advance.

BW
GeneralRe: Can't load proxy class created via "Add Web Reference..." Pin
Shog928-Mar-08 15:29
sitebuilderShog928-Mar-08 15:29 
GeneralRe: Can't load proxy class created via "Add Web Reference..." Pin
bwilhite29-Mar-08 1:54
bwilhite29-Mar-08 1:54 
GeneralInquiry about program Pin
ibrahim123456789028-Mar-08 9:47
ibrahim123456789028-Mar-08 9:47 
GeneralRe: Inquiry about program Pin
Bradml28-Mar-08 12:59
Bradml28-Mar-08 12:59 
GeneralRe: Inquiry about program Pin
Eytukan30-Mar-08 5:48
Eytukan30-Mar-08 5:48 
GeneralRe: Inquiry about program Pin
Bradml30-Mar-08 20:52
Bradml30-Mar-08 20:52 
QuestionCould you Inspire Me? Pin
sa3sa327-Mar-08 21:13
sa3sa327-Mar-08 21:13 
AnswerRe: Could you Inspire Me? Pin
Bradml28-Mar-08 1:03
Bradml28-Mar-08 1:03 
GeneralRe: Could you Inspire Me? Pin
sa3sa328-Mar-08 3:23
sa3sa328-Mar-08 3:23 
GeneralRe: Could you Inspire Me? Pin
Bradml28-Mar-08 12:58
Bradml28-Mar-08 12:58 
QuestionHow Bandwidth affects the application Pin
tonymathewt27-Mar-08 20:49
professionaltonymathewt27-Mar-08 20:49 
GeneralRe: How Bandwidth affects the application Pin
Bradml28-Mar-08 1:00
Bradml28-Mar-08 1:00 
GeneralRe: How Bandwidth affects the application Pin
tonymathewt30-Mar-08 19:58
professionaltonymathewt30-Mar-08 19:58 
GeneralRe: How Bandwidth affects the application Pin
Bradml30-Mar-08 20:51
Bradml30-Mar-08 20:51 
GeneralRe: How Bandwidth affects the application Pin
tonymathewt31-Mar-08 2:17
professionaltonymathewt31-Mar-08 2:17 
GeneralRe: How Bandwidth affects the application Pin
Bradml31-Mar-08 12:15
Bradml31-Mar-08 12:15 
GeneralRe: How Bandwidth affects the application Pin
User 98854-Apr-08 18:21
User 98854-Apr-08 18:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.