Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7056103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:49:40+00:00 2026-05-28T03:49:40+00:00

Has ANYONE gotten a web service call to work with SharePoint to operate with

  • 0

Has ANYONE gotten a web service call to work with SharePoint to operate with MonoTouch/MonoDevelop/Mono??

I am able to get the WSDL from the typical endpoint (/_vti_bin/Lists.asmx in this case), and MonoDevelop creates a Reference.cs as expected.

I have modified the Reference.cs to include the “name” parameter, so all XmyAnyElements now look like:
[System.Xml.Serialization.XmlAnyElement(“Any”,””)] //name and namespace

While this can compile, runtime complains about the XmlNode. Fair enough, I made it into XmlNode[] so it could be an array, which invoke[] seems to want.

I then build a GetListItemsQuery and pass it along to my GetListItems call via:
var result = svc.GetListItems (“Tasks”, null, q, null, “100”, null, null);

While I can connect and get the web service to respond, all responses are coming back with null in the Any field.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:49:41+00:00Added an answer on May 28, 2026 at 3:49 am

    What I have found that works is quite frustrating, but successful.

    Pull up Visual Studio on a Windows machine, start an old-school .Net 2.0 windows form app, and connect to the same WSDL. This will create a new Reference.cs file. Bring that file into your MonoTouch app.

    Modify the constructor to use the OLD MonoTouch constr, as the .Net 2.0 one will not compile.

    Imported constructor

    /// <remarks/>
        public Lists() {
            *this.Url = global::test.Properties.Settings.Default.test_gxgvwn1_Lists; //BREAKS HERE, BY THAT'S OK!*
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
    

    MonoTouch generated (I used this):

        public Lists() {
            this.Url = "http://www.mysite.com/_vti_bin/Lists.asmx";
        }
    
        public Lists(string url) {
            this.Url = url;
        }
    

    Once that is changed, the app will compile and the result = svc.GetListItems() will actually return data in the XmlNodes!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone gotten Multicast to work on Android 2.2, specifically JmDNS for Bonjour service
Has anyone gotten the glassfish v3 adapter to work with Eclipse without restarting every
Has anyone gotten the Globalize plugin to work Rails 2.3.2 or later? If so,
Has anyone gotten Fluent NHibernate to work with Castle ActiveRecord? I am particularly interested
Has anyone successfully gotten IronPython running without issues in a web environment? I am
has anyone gotten this http://www.xarg.org/project/jquery-webcam-plugin/ , to work with aps.net mvc 3? I can't
Has anyone gotten the IFilter sample from Microsoft to work on 64bit Windows 7?
Has anyone gotten the Open Source QR Code Library to work with ColdFusion? I
Has anyone gotten dotNetOpenAuth to work with F# and ASP.NET MVC yet? I've corrected
has anyone gotten these ms-access errors? what do they mean? im connecting access with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.