WebService for WebApp

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mr t

    WebService for WebApp

    Sometimes ago, when I added a webreference, visual studio created a
    Reference.vb proxy class. In vs.net 2005, I don't see it. instead it
    adds .disco, .discomap, .wsdl. when I try to run the web app, it
    attemps to write to the c:\windows\temp directory.

    I hate that approach. because I DO not want to give IIS the
    permissions to write to windows temp directory due to potential
    security problems. there might be other process writing to that dir
    that I do not want the web app to access.

    Is there a way to instruct visual studio to create the proxy class in
    the design and all I have to do is to upload the class to the web app
    like we did it before?

    Is there a way to tell asp.net where to create the proxy class. c:
    \windows\temp is not the directory I wish IIS to access really!

    thanks for all replies.
  • Mr. Arnold

    #2
    Re: WebService for WebApp


    "mr t" <tascien@gmail. comwrote in message
    news:61bce980-b00f-4969-a8c3-248fdd35c167@w4 g2000prd.google groups.com...
    Sometimes ago, when I added a webreference, visual studio created a
    Reference.vb proxy class. In vs.net 2005, I don't see it. instead it
    adds .disco, .discomap, .wsdl. when I try to run the web app, it
    attemps to write to the c:\windows\temp directory.
    >
    I hate that approach. because I DO not want to give IIS the
    permissions to write to windows temp directory due to potential
    security problems. there might be other process writing to that dir
    that I do not want the web app to access.
    >
    Is there a way to instruct visual studio to create the proxy class in
    the design and all I have to do is to upload the class to the web app
    like we did it before?
    >
    Is there a way to tell asp.net where to create the proxy class. c:
    \windows\temp is not the directory I wish IIS to access really!
    >
    Why don't you just use the .Net WDSL utility at the .Net Command Prompt to
    generate the proxy class to include in your project? That way, you don't
    need a .disco or anything else or writing to some temp directory.


    Comment

    • mr t

      #3
      Re: WebService for WebApp

      Why don't you just use the .Net WDSL utility at the .Net Command Prompt to
      generate the proxy class to include in your project? That way,  you don't
      need a .disco or anything else or writing to some temp directory.- Hide quoted text -
      >
      - Show quoted text -
      yes, how do I access the .net command prompt?

      Comment

      • Mr. Arnold

        #4
        Re: WebService for WebApp


        "mr t" <tascien@gmail. comwrote in message
        news:df90c33b-8ddd-4dab-a842-76261ec6549d@n1 g2000prb.google groups.com...
        Why don't you just use the .Net WDSL utility at the .Net Command Prompt to
        generate the proxy class to include in your project? That way, you don't
        need a .disco or anything else or writing to some temp directory.- Hide
        quoted text -
        >
        - Show quoted text -
        yes, how do I access the .net command prompt?

        -------------------

        It's one of the tools in VS 2003, 2005, 2008 -- the .Net Command Prompt.

        The .Net wdsl.exe tool is part of the .Net Framework. So, maybe you can find
        out how to execute the WDSL.exe utility without the .Net Command Prompt of
        VS.

        You should use Google and find out how to use the WDSL.exe

        Maybe, there is some free WDSL utility for .Net too.

        Comment

        Working...