Welcome to Office & SharePoint Pro Sign in | Join | Help
in Search

SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%      FREE Email Newsletters Vista UPDATE, Windows IT Pro UPDATE & More

How To Consume SharePoint Web Services?

Last post 04-18-2007, 4:35 PM by jwmiller. 0 replies.
Sort Posts: Previous Next
  •  04-18-2007, 4:35 PM 28321

    How To Consume SharePoint Web Services?

    I am having problems with integrating SharePoint web services into a BEA web application.  I want to consume the SharePoint Web Services (for example, http://<sitename>/_vti_bin/Search.asmx).  I've generated a service control out of the WSDL, but when I execute any method, it responds with

    <faultcode>soap:Server</faultcode>
    <faultstring>Server was unable to process request. --> Object reference not set to an instance of an object.</faultstring>

    I've found tons of examples for consuming these from .NET and C#, but not from BEA.  It sounds like I need to instantiate the SharePoint object and pass in some Windows credentials.  I am using BEA 8.1.6 and WSS 2.0 / SPS 2003.  I watched the BEA online demo at http://dev2dev.bea.com/downloads/ExcelServer/workshop_vista.html but this is for much newer BEA and WSS/SPS versions.  Can it be done with my versions and if so how?

View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

SharePoint Security SimplifiediDevFactory announces that SWAT 2007® is now FREE! Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management and deployment capabilities with this free SharePoint CD. Maximize Your SharePoint Investment: Get Your Data MovingJoin us as we take a look at the complex business of securing, accessing and managing vast amounts of information in a global network and various ways to get your data moving. SharePoint Connections event returns to Las Vegas Nov 10 - 13Connections returns to Las Vegas for this exciting event where each attendee will receive SQL Server 2008 standard with 1 CAL. It is co-located with Microsoft ASP.NET, SQL Server and Windows Connections with over 250 in-depth sessions. Ease Your Scripting Pains with the Flexibility of PowerShell!Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer!