Pregunta Custom Sharepoint WebServices And VB.NET

  • viernes, 11 de mayo de 2012 19:57
     
     

    Hi All <o:p></o:p>

    My question
    might sound weird or stupid but..............<o:p></o:p>

    I had
    developed a web service using VS 2010. I used VB.NET for coding. I wanted this web
    service to be consumed by SharePoint custom web part. I couldn’t access these
    web service methods. The asmx was throwing parse exceptions in spite of using
    correct namespace and classes. I was irritated. <o:p></o:p>

    Then I
    converted code to c and hosted web service on SharePoint. And wonder, I am able
    to access the web methods.<o:p></o:p>

    Is it that
    VB.NET web service for SharePoint doesn’t work? Is it that I have to code web
    services in c#? Sounds stupid.<o:p></o:p>

    Thanks<o:p></o:p>

    MK<o:p></o:p>


Todas las respuestas

  • viernes, 11 de mayo de 2012 21:00
     
     
    It probably worked because you hosted the web service in SharePoint.

    Blog | SharePoint Field Notes Dev Tool | ClassMaster

  • lunes, 14 de mayo de 2012 13:24
     
     

    Thanks Steve for the reply.

    But thats not the case. Both the services are identical. Both were hosted in Sharepoint. Code is also exactly same.

    Madhura