Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > WSE 2 SP3 Problem

Thread Tools

WSE 2 SP3 Problem

Posts: n/a

I just updated my web services to 2.0 sp3 and I implemented the code in my
win form as such:

I have a web service thats local and created a web ref called lh1.
At the top of my win form 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 at:
public EMS1() {
this.Url = "http://localhost/WSEMS1/EMS1.asmx"; <-- This line

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

What am I doing wrong?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
WSE 2.0 SP3 DIME client error: Response is not well-formed XML. ---> System.Xml.XmlException: Root element is missing. Rich Fowler ASP .Net Web Services 2 01-22-2010 03:31 PM
To XP SP3 or not to XP SP3? ~misfit~ NZ Computing 13 05-10-2008 07:47 AM
Web Services Enhancements (WSE) 2.0 SP3 for Microsoft .NET =?Utf-8?B?VmlubmllIEw=?= ASP .Net 0 08-08-2006 11:59 PM
WSE 2 SP3 error: Client found response content type of '', but expected 'text/xml'. j.edwards ASP .Net Web Services 1 02-13-2006 04:26 PM
Problem of using apache soap to consume WSE 2.0 soap attachment Mullin Yu ASP .Net Web Services 0 10-08-2003 08:09 AM