All examples on creating custom web services for WSS deploy the web service
to the folder pointed to by the _vti_bin virtual directory. through
experimention i found that i could create a virtual directory under _vti_bin
that pointed to a non "c:\program files\...." folder. everything is working
fine. i can get the web service documentation correctly, and my web service
functions as expected.

the only problem is that it will not generate the service description in
this deployment scenario. when i navigate to
http://myserver/_vti_bin/_myvirtualdir/myservice.asmx?wsdl i get redirected
to a "file not found" page. the url is
http://myserver/_layouts/1033/error.aspx?ErrorText=File%20Not%20Found%2E.

i thought it may have something to do with the myservicewsdl.aspx and
myservicedisco.aspx file. i also thought it may have to do something with
the entry in the spdisco.aspx file, which is mentioned in the sdk example on
creating a custom web service. i've tried modifing the code in these files,
but nothing seems to change the behavior.

has anyone tried this?

RE: custom web service deployment by englantilainen

englantilainen
Thu Nov 18 01:19:02 CST 2004

Consider posting this instead to the new development newsgroup which is for
all "programming" questions in WSS.

microsoft.public.sharepoint.windowsservices.development


Mike Walsh Helsinki Finland
WSS FAQ wss.collutions.com

"Robert Phillips" wrote:

> All examples on creating custom web services for WSS deploy the web service
> to the folder pointed to by the _vti_bin virtual directory. through
> experimention i found that i could create a virtual directory under _vti_bin
> that pointed to a non "c:\program files\...." folder. everything is working
> fine. i can get the web service documentation correctly, and my web service
> functions as expected.
>
> the only problem is that it will not generate the service description in
> this deployment scenario. when i navigate to
> http://myserver/_vti_bin/_myvirtualdir/myservice.asmx?wsdl i get redirected
> to a "file not found" page. the url is
> http://myserver/_layouts/1033/error.aspx?ErrorText=File%20Not%20Found%2E.
>
> i thought it may have something to do with the myservicewsdl.aspx and
> myservicedisco.aspx file. i also thought it may have to do something with
> the entry in the spdisco.aspx file, which is mentioned in the sdk example on
> creating a custom web service. i've tried modifing the code in these files,
> but nothing seems to change the behavior.
>
> has anyone tried this?
>
>
>