Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't show web service
Message
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
00621788
Message ID:
00623651
Vues:
23
Got it working with this info...But invoke from the web page wouldn't work...
Had to reinstall - IIS, Framework, .NET and delete the inetpub directory
to get it to work as designed... Hope it's not this hard to implement at companies...

All works now thanks


>Verbs are limited to GET,HEAD,POST,DEBUG and Script engine is checked.
>
>In fact, this is the same set up for .asax, .ascx, .ashx, .asmx, .aspx, .axd, .config, .cs, .csproj, .licx, .rem, .resources, .resx, .soap, .vb, .vbproj, .vsdisco, and .webinfo file types.
>
>And it was all set up for me. I would try un-installing VS.NET, then the Framework and then re-installing it.
>
>
>>Still confused..
>>Tried this on two XP machines now and same thing!
>>
>>It's not the prompting to save...
>>It's IE or IIS that has the problem it seems the browser does not knoww what to do with the asmx file. In examples I've seen it should open a status page where you can click on the methods to invoke but instead IE just asks me where I want to save the file (as if I'm downloading a strange unrecongnized file type)...
>>
>>Keep in mind this is the default web service project (new - project - asp web service, comment out the hello world method)
>>
>>The asmx is set to the start file and I tried to configure the debugging too.
>>
>>I also tried to invoke it from VFP 7...
>>
>>ows=crea("mssoap.soapclient")
>>ows.mssoapinit("http://localhost/WebService2/Service1.asmx?wsdl")
>>
>>Gives error:
>>OLE IDispatch exception code 0 from client
>>WSDLReader:Loading of the WSDL file failed
>>hRESULT=0x800700057 - WSDLReader:XML parser failed at linepostion 0, linenumber 0, reason is: The download of the specified resource has failed.
>>
>>I installed .NET first then realized I need IIS components so went into XP setup and added them. then I reran .NET setup and added the Web Services stuff.
>>
>>Maybe I forgot something...
>>
>>I also went into IIS setting and ASMX is not recognized as a type
>>control panel | iis config || default eb site||properties||Home directory||
>>application settings||configuration..
>>
>>(maybe I need to bind the .asmx file to an .exe but I dodn't know which one!
>>But seems like this should've been ddone for me!)
>>
>>tried looking at every thing in the documentation but it still can't figure it out
>>
>>
>>Any one know what could be wrong!
>>
>>
>>
>>>On the Tools->Options->Environment->Projects and Solutions page is "Prompt to save changes to open documents" selected? If so, .NET is prompting to save the page.
>>>
>>>VB.NET, unlike VB6, needs to save and build the project before it can run it.
>>>
>>>Did you set the startup page for the solution?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform