Click here to Skip to main content
15,892,809 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# custom "drop down list" Pin
Judah Gabriel Himango1-May-05 17:22
sponsorJudah Gabriel Himango1-May-05 17:22 
GeneralImage Acqusition from scanner in c# Pin
Member 149969330-Apr-05 11:20
Member 149969330-Apr-05 11:20 
GeneralRe: Debugging Pin
Tomas Brennan30-Apr-05 5:28
Tomas Brennan30-Apr-05 5:28 
GeneralRe: Debugging Pin
Colin Angus Mackay30-Apr-05 10:54
Colin Angus Mackay30-Apr-05 10:54 
GeneralRe: Debugging Pin
EssOEss30-Apr-05 19:51
EssOEss30-Apr-05 19:51 
QuestionError handling using MS Word ? Pin
fracalifa30-Apr-05 5:18
fracalifa30-Apr-05 5:18 
GeneralDrag-Drop & Transparent Panel Pin
ADeris30-Apr-05 4:46
ADeris30-Apr-05 4:46 
GeneralRe: Drag-Drop & Transparent Panel Pin
ADeris30-Apr-05 6:01
ADeris30-Apr-05 6:01 
Generalcopying feature from Mac OS X Tiger Pin
ekynox30-Apr-05 3:56
ekynox30-Apr-05 3:56 
GeneralRe: copying feature from Mac OS X Tiger Pin
Dave Kreskowiak30-Apr-05 4:03
mveDave Kreskowiak30-Apr-05 4:03 
GeneralRe: copying feature from Mac OS X Tiger Pin
ekynox30-Apr-05 4:17
ekynox30-Apr-05 4:17 
GeneralRe: copying feature from Mac OS X Tiger Pin
Dave Kreskowiak30-Apr-05 4:38
mveDave Kreskowiak30-Apr-05 4:38 
GeneralRe: copying feature from Mac OS X Tiger Pin
Luis Alonso Ramos30-Apr-05 11:01
Luis Alonso Ramos30-Apr-05 11:01 
GeneralRe: copying feature from Mac OS X Tiger Pin
ekynox30-Apr-05 15:18
ekynox30-Apr-05 15:18 
GeneralRe: copying feature from Mac OS X Tiger Pin
Luis Alonso Ramos30-Apr-05 15:36
Luis Alonso Ramos30-Apr-05 15:36 
GeneralRe: copying feature from Mac OS X Tiger Pin
ekynox1-May-05 3:33
ekynox1-May-05 3:33 
GeneralDeveloping On Pin
MrJJKoolJ30-Apr-05 3:27
MrJJKoolJ30-Apr-05 3:27 
GeneralRe: Developing On Pin
Dave Kreskowiak30-Apr-05 3:59
mveDave Kreskowiak30-Apr-05 3:59 
GeneralRe: Developing On Pin
MrJJKoolJ30-Apr-05 6:09
MrJJKoolJ30-Apr-05 6:09 
Hi,

This is the exact Error in my web proxy:

An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll

Additional information: This is an unexpected token. The expected token is 'NAME'. Line 4, position 36.


I have a web service thats local and created a web ref called lh1.
At the top of my win form where I call the web ref is this:
using EMS.lh1;

private static lh1.EMS1 wsHrs = new lh1.EMS1();

When I enter win form that has the call to the web service it bombs as soon as I enter the proxy at:
public EMS1() {<-- This line

this.Url = "http://localhost/WSEMS1/EMS1.asmx";

}



This is what the top of my proxy file code looks like, I added nothing to
it:

[System.Diagnostics.DebuggerStepThroughAttribute()]

[System.ComponentModel.DesignerCategoryAttribute("code")]

[System.Web.Services.WebServiceBindingAttribute(Name="EMS1Soap",
Namespace="http://tempuri.org/")]
public class EMS1 : System.Web.Services.Protocols.SoapHttpClientProtocol {


/// <remarks>

public EMS1() {

this.Url = "http://localhost/WSEMS1/EMS1.asmx";

}


Following Error is: This is an unexpected token. The expected token is
'NAME'

What am I doing wrong?


public EMS1() {
this.Url = "http://localhost/WSEMS1/EMS1.asmx";
}

This line is located in the proxy file generated by my web reference.


Thanks,

JJ
GeneralUsing a mouse-offset in a Picture Box Pin
NortonC30-Apr-05 1:57
NortonC30-Apr-05 1:57 
GeneralRe: Using a mouse-offset in a Picture Box Pin
NortonC30-Apr-05 7:21
NortonC30-Apr-05 7:21 
Questionhow to bring pointer to the beginning of file(streamreader) Pin
ashu_sharma2129-Apr-05 20:54
ashu_sharma2129-Apr-05 20:54 
AnswerRe: how to bring pointer to the beginning of file(streamreader) Pin
mav.northwind29-Apr-05 21:09
mav.northwind29-Apr-05 21:09 
GeneralA problem displaying transparant-background images in DirectX Pin
arik_a29-Apr-05 20:24
arik_a29-Apr-05 20:24 
General.NET WebService Problem Pin
Praveen Nayak29-Apr-05 19:51
Praveen Nayak29-Apr-05 19:51 

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.