SharePoint Products TechCenter > SharePoint Products and Technologies Forums > SharePoint - Development and Programming > MOSS Webservice is only running in http://server/_layouts folder, not in http://server/_vti_bin
Ask a questionAsk a question
 

QuestionMOSS Webservice is only running in http://server/_layouts folder, not in http://server/_vti_bin

All Replies

  • Wednesday, November 04, 2009 8:18 AMKarine BoschMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Sasha,

    I'm pretty sure this works: I used the same walkthrough last week without any problem. Have you copied all 3 files to the ISAPI folder? Have you deployed the dll to the GAC?

    If I was you, I would restart from step "Generating and Modifying Static Discovery and WSDL files". Pay attention to what you need to change and don't forget your files from MyService.disco to MyServicedisco.aspx and from MyService.wsdl to MyServicewsdl.aspx

    Also check if you added your service to the disco.aspx page in the ISAPI folder.

    Good luck! 
    Karine Bosch
  • Wednesday, November 04, 2009 12:43 PMskleineboes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Karine,
    Thank's for your reply.
    You're right, I forgot to rename my files correctly. However, after rebuilding the whole Webservice I still have exactly the same problem :-(
    Can it be a environmental configuration problem? I am thinking especially about that error mesage linge:
    The document at the url http://localhost/_vti_bin/Service.asmx was not recognized as a known document type.
    Best Regards,

    Sascha
  • Wednesday, November 11, 2009 7:18 AMMoss-dever Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,Sascha

        Where did you need to cunsume your webservice? In another web app?
        Please also double check the url, http://MyServer/_layouts/MyService.asmx, did you miss sites inside? 
        Like http://MyServer/sites/yoursite/_layouts/MyService.asmx
        Also, look at this article,try use wsdl instead of asmx
        http://www.landofsharepoint.com/2009/08/error-when-trying-to-reference-custom.html

        Hope this can help.

    dever