ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Build a Simple Web Service
Subject:   c:\inetpub\wwwroot\MathLibrary\Service1.asmx.vb(5): Expected an identifier.
Date:   2003-04-01 01:47:56
From:   anonymous2
Response to: c:\inetpub\wwwroot\MathLibrary\Service1.asmx.vb(5): Expected an identifier.

If you took code from WWW page:
Public Function <WebMethod()> Add(ByVal n1 As
Integer, _ ByVal n2 As Integer) As Integer


...it should appear in your files as:
Public Function <WebMethod()> Add(ByVal n1 As _
Integer, ByVal n2 As Integer) As Integer


...to pass parser right.
Hope this helps.


1 to 1 of 1
  1. c:\inetpub\wwwroot\MathLibrary\Service1.asmx.vb(5): Expected an identifier.
    2003-09-01 03:31:33  anonymous2 [View]

    • c:\inetpub\wwwroot\MathLibrary\Service1.asmx.vb(5): Expected an identifier.
      2003-12-03 20:48:32  anonymous2 [View]

1 to 1 of 1