How to use different asmx in different sub-directories ?

Discussion in 'ASP .Net Web Services' started by Sophie PARISOT, Feb 8, 2006.

  1. Hi,

    I try to create one application and different virtual sub-directories (?)
    with their own webservices but I have this kind of error : unable to create
    the type myNamespace

    Ligne 1 : <%@ WebService Language="c#" Codebehind="myClass.asmx.cs"
    Class="myNamespace" %>


    When all the webservices are in the same web application (same directory)
    it works ...

    Has someone an idea?

    Thanks
     
    Sophie PARISOT, Feb 8, 2006
    #1
    1. Advertising

  2. Sophie PARISOT

    Satish Guest

    Hi,

    You can directly access the asmx files which is in the subfolders, there is
    no restriction,once you compile the project, then you can access with the
    name space which is mentioned in the asmx file.

    regards
    Satish

    "Sophie PARISOT" wrote:

    > Hi,
    >
    > I try to create one application and different virtual sub-directories (?)
    > with their own webservices but I have this kind of error : unable to create
    > the type myNamespace
    >
    > Ligne 1 : <%@ WebService Language="c#" Codebehind="myClass.asmx.cs"
    > Class="myNamespace" %>
    >
    >
    > When all the webservices are in the same web application (same directory)
    > it works ...
    >
    > Has someone an idea?
    >
    > Thanks
    >
    >
    >
    >
    >
     
    Satish, Feb 13, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joel Finkel
    Replies:
    0
    Views:
    505
    Joel Finkel
    Sep 12, 2003
  2. Nicolas Fleury

    Two sub-packages in different directories

    Nicolas Fleury, Feb 17, 2004, in forum: Python
    Replies:
    1
    Views:
    259
    Peter Otten
    Feb 18, 2004
  3. Ben
    Replies:
    2
    Views:
    936
  4. Lawrence D'Oliveiro

    Death To Sub-Sub-Sub-Directories!

    Lawrence D'Oliveiro, May 5, 2011, in forum: Java
    Replies:
    92
    Views:
    2,128
    Lawrence D'Oliveiro
    May 20, 2011
  5. Ron Smith
    Replies:
    5
    Views:
    161
    Michele Dondi
    Nov 2, 2004
Loading...

Share This Page