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

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. Simplify Content Migration for SharePointEase the job of SharePoint migration and ongoing site maintenance. Michael Noel outlines your migration options in this white paper. Download today! You’ve Deployed SharePoint…Now What?This one-day free online conference delivers the technical knowledge needed to kick MOSS up a notch. In one information-packed day, independent SharePoint experts will present practical, real-world information and provide take-away, ready-to-use solutions 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! Protecting Sharepoint with Double-Take for Windows 5.0Providing SharePoint recoverability is a two step process. Learn those steps now. Vendor protection solutions for SharePoint are incomplete at worst and unreliable at best. So what’s an Administrator to do? Read More… Maximize Your SharePoint Investment This web seminar discusses how true bi-directional replication of SharePoint content from one server to another enables branch offices to maintain access to current SharePoint content.