BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 11-19-2009, 04:31 PM   #1 (permalink)
New Member
Join Date: Oct 2009
Model: 9530
Carrier: Verizon
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling sharepoint web service

Please Login to Remove!

Has anyone here had any luck calling a SOAP sharepoint web service? I have the WSDL and tried to generate the stubs via wscompile, but it keeps erroring out saying "invalid element "{http_://}definitions"

Any thoughts? Or suggestions on how to call a sharepoint web service?


edit: underscores added to link since I can't post links.

Last edited by boomerhawk : 11-19-2009 at 04:32 PM.
Old 11-20-2009, 10:55 AM   #2 (permalink)
New Member
Join Date: Nov 2009
Model: 9630
Carrier: Sprint
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Wsdl

I've never used wscompile to generate a stub file for accessing webservices. But we do design a product which works to make blackberries and SharePoint interact together (http_:// and we've had luck with tools such as wsdl.exe, which can generate code from a WSDL file (and for a number of languages). Or, if you have access to VS, the built in 'add web references' feature generates some useful code.
These solutions may not work on the platform you're using, but as long as you don't expect the web services to change often (which they don't for SharePoint), you should be able to generate a file once from any platform, fix it up, and then add it to your project.

I hope that helps,

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.