visual studio .net walkthrough

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

    visual studio .net walkthrough

    I have completed the walkthrough on creating and
    consuming a web service. Worked fine on my local machine.
    I then did a project copy to my web host. When I try to
    access the web service using the aspx program it gives
    the 'Conversion Failed' message which is the try catch
    message I put in. Appears that the namespace is not being
    recognized. Any help is appreciated.

    thanks
  • flagisup

    #2
    visual studio .net walkthrough

    The answer to my own question is the following.
    In the code behind portion of your client aspx
    application put the following as a replacement for the
    proxy class ws.Url = "http://xxxx.com/service1.asmx"
    where the xxxx represents your domain name on the web
    hosts server. This would be where your files reside for
    this application. (the code behind would be say in the
    event handler for a button)[color=blue]
    >-----Original Message-----
    >I have completed the walkthrough on creating and
    >consuming a web service. Worked fine on my local[/color]
    machine.[color=blue]
    >I then did a project copy to my web host. When I try to
    >access the web service using the aspx program it gives
    >the 'Conversion Failed' message which is the try catch
    >message I put in. Appears that the namespace is not[/color]
    being[color=blue]
    >recognized. Any help is appreciated.
    >
    >thanks
    >.
    >[/color]

    Comment

    Working...