Deployment and testing from another computer

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Deployment and testing from another computer

    Hi,

    I need to create a web service. This web service should be installed on my
    machine, and accessed by other PCs, so my PC should become a server, how can
    I achieve this?

    I was able to create a web service and tested it successfully on my machine,
    using [url]http://localhost/WebServices/service1.asmx[/url] . But how would other
    machine access it? I don't want to create a website. Is it possible to
    access it like this: [url]http://138.203.xxx.xxx/WebServices/service1.asmx[/url] (I was
    not able to access it from my own machine!)
    What settings should I change on my computer to allow other users to access
    it?
    How can I restrict access to only some users?
    Is it due to a firewall?
    Any samples is appreciated, or msdn documentation, or a good webservices
    book...

    Thanks,
    Sebastien


    Sebastien Lange Guest

  2. Similar Questions and Discussions

    1. Trying to make my computer a testing server
      I installed the package XAMPP I successfully. I think it's running because I got a message that said so. Anyway, I have some php files that I want...
    2. MX7 and jar deployment
      In MX6.1 we were deploying java components by simply dropping a jar file to CFusionMX\wwwroot\WEB-INF\lib folder and then restarting CF Server...
    3. Access entire desktop computer from laptop computer on wireless network
      When I try to set up a network place on my laptop, I browse the locations that I want to setup in the network place set-up wizard but it wont let...
    4. Computer to computer connection
      Is there anyone who can help me connect two HP computers with XP home edition? I have parallel cable, firewire, and lan cable. I keep getting I...
    5. Web App Deployment
      I ran into this problem, and tried everything that everyone suggested. After carefully debugging the installer with a series of message boxes, I...
  3. #2

    Default RE: Deployment and testing from another computer

    Hi Sebastien,

    Based on my research and experience, I would like to share the following
    information with you.

    1. How to access web service.

    Please refer to the following Knowledge Base articles for this issue:

    HOW TO: Write a Simple Web Service by Using Visual C# .NET
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;308359[/url]
    "This step-by-step article shows you how to write a simple Web service,
    called MathService, that exposes methods for adding, subtracting, dividing,
    and multiplying two numbers."

    HOW TO: Write a Simple Web Service by Using Visual Basic .NET
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;301273[/url]

    I have tested the sample code. All the following URLs work fine.

    [url]http://localhost/MathService/MathService.asmx[/url]
    [url]http://sha-jiany-2000/MathService/MathService.asmx[/url]
    [url]http://157.60.69.79/MathService/MathService.asmx[/url]

    You have mentioned the firewall in your post. Do you mean that you want to
    access your web service out of the firewall? It should be the reason of
    this issue because of the security consideration. Please refer to the
    following Knowledge Base article.

    HOW TO: Lock Down an ASP.NET Web Application or Web Service
    [url]http://support.microsoft.com/default.aspx?scid=815145[/url]

    2. The security of web service

    Please refer to the following articles carefully regarding this issue:

    Security in a Web Services World: A Proposed Architecture and Roadmap
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwssecur/h[/url]
    tml/securitywhitepaper.asp

    Web Services Security
    [url]http://msdn.microsoft.com/security/securecode/webservices/default.aspx[/url]

    Building Secure ASP.NET Applications: Authentication, Authorization, and
    Secure Communication
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/ht[/url]
    ml/secnetch10.asp

    I hope it helps

    Best regards,

    Jacob Yang
    Microsoft Online Partner Support
    Get Secure! ¨C [url]www.microsoft.com/security[/url]
    This posting is provided "as is" with no warranties and confers no rights.

    Jacob Yang [MSFT] Guest

  4. #3

    Default Re: Deployment and testing from another computer

    Thanks Jacob,

    I'll take a look.

    Sebastien

    "Jacob Yang [MSFT]" <jiany@online.microsoft.com> wrote in message
    news:fILvPJjjDHA.1544@cpmsftngxa06.phx.gbl...
    > Hi Sebastien,
    >
    > Based on my research and experience, I would like to share the following
    > information with you.
    >
    > 1. How to access web service.
    >
    > Please refer to the following Knowledge Base articles for this issue:
    >
    > HOW TO: Write a Simple Web Service by Using Visual C# .NET
    > [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;308359[/url]
    > "This step-by-step article shows you how to write a simple Web service,
    > called MathService, that exposes methods for adding, subtracting,
    dividing,
    > and multiplying two numbers."
    >
    > HOW TO: Write a Simple Web Service by Using Visual Basic .NET
    > [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;301273[/url]
    >
    > I have tested the sample code. All the following URLs work fine.
    >
    > [url]http://localhost/MathService/MathService.asmx[/url]
    > [url]http://sha-jiany-2000/MathService/MathService.asmx[/url]
    > [url]http://157.60.69.79/MathService/MathService.asmx[/url]
    >
    > You have mentioned the firewall in your post. Do you mean that you want to
    > access your web service out of the firewall? It should be the reason of
    > this issue because of the security consideration. Please refer to the
    > following Knowledge Base article.
    >
    > HOW TO: Lock Down an ASP.NET Web Application or Web Service
    > [url]http://support.microsoft.com/default.aspx?scid=815145[/url]
    >
    > 2. The security of web service
    >
    > Please refer to the following articles carefully regarding this issue:
    >
    > Security in a Web Services World: A Proposed Architecture and Roadmap
    >
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwssecur/h[/url]
    > tml/securitywhitepaper.asp
    >
    > Web Services Security
    > [url]http://msdn.microsoft.com/security/securecode/webservices/default.aspx[/url]
    >
    > Building Secure ASP.NET Applications: Authentication, Authorization, and
    > Secure Communication
    >
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/ht[/url]
    > ml/secnetch10.asp
    >
    > I hope it helps
    >
    > Best regards,
    >
    > Jacob Yang
    > Microsoft Online Partner Support
    > Get Secure! ¨C [url]www.microsoft.com/security[/url]
    > This posting is provided "as is" with no warranties and confers no rights.
    >

    Sebastien Lange Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139