Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. web service help

web service help

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjsonlearning
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chakkara2003
    wrote on last edited by
    #1

    hi all am created a simple hello world web service. and that is working properly. my problem is when i try to add this service in another aspx page, it is showing an error, Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not create type 'newService'. Source Error: Line 1: <%@ WebService Language="C#" CodeBehind="~/App_Code/newService.cs" Class="newService" %> Source File: /MyService/newService.asmx Line: 1 thanks in advance chakkara

    B I 2 Replies Last reply
    0
    • C chakkara2003

      hi all am created a simple hello world web service. and that is working properly. my problem is when i try to add this service in another aspx page, it is showing an error, Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not create type 'newService'. Source Error: Line 1: <%@ WebService Language="C#" CodeBehind="~/App_Code/newService.cs" Class="newService" %> Source File: /MyService/newService.asmx Line: 1 thanks in advance chakkara

      B Offline
      B Offline
      benqazou
      wrote on last edited by
      #2

      Hey, I don't know what you mean by adding the webservice to an aspx age? Have you added a web reference to the webservice?

      C 1 Reply Last reply
      0
      • C chakkara2003

        hi all am created a simple hello world web service. and that is working properly. my problem is when i try to add this service in another aspx page, it is showing an error, Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not create type 'newService'. Source Error: Line 1: <%@ WebService Language="C#" CodeBehind="~/App_Code/newService.cs" Class="newService" %> Source File: /MyService/newService.asmx Line: 1 thanks in advance chakkara

        I Offline
        I Offline
        Ista
        wrote on last edited by
        #3

        you havent set the we reference yet for the project right click the project>Add Web Reference type in the wsdl to your web service instantiate that new proxy MyWebService an = new MyWebService(); an.HelloWorld(); 1 line of code equals many bugs. So don't write any!!

        1 Reply Last reply
        0
        • B benqazou

          Hey, I don't know what you mean by adding the webservice to an aspx age? Have you added a web reference to the webservice?

          C Offline
          C Offline
          chakkara2003
          wrote on last edited by
          #4

          am getting this error when am trying to add web reference thanx chakkara

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups