Writing custom webservice  
Author Message
rajuraju





PostPosted: SharePoint - Development and Programming, Writing custom webservice Top

helo
i have wirte a c# web service for accessing to sharepoint service according to this document
http://msdn2.microsoft.com/en-us/library/ms916810.aspx

the document here mostly for C# language.but there is no spcification for VB.net. here i have seen i need to create three files
.asmx
*disco.aspx
*wsdl.aspx
in the document it says replace the content of disco file according to following
< xml version="1.0" encoding="utf-8" >

To

<%@ Page Language="C#" Inherits="System.Web.UI.Page"%> <%@ Assembly Name="Microsoft.SharePoint, Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint.Utilities" %> <%@ Import Namespace="Microsoft.SharePoint" %>
<% Response.ContentType = "text/xml"; %>


but my question, as i am writing my webservice in vb.net , so what i will do here

i just used the following way

<%@ Page Language="VB" Inherits="System.Web.UI.Page"%> <%@ Assembly Name="Microsoft.SharePoint, Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint.Utilities" %> <%@ Import Namespace="Microsoft.SharePoint" %>

just change the C# to VB, but it doesnt works.i have tried with VB.net.
but it doesnt work at all.

plz help me,provide some specific help, or refer the documentation.

Thanks











SharePoint Products and Technologies5