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 6767189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:55:18+00:00 2026-05-26T14:55:18+00:00

the contract def is [OperationContract] DataSet myfunc(string a, params object[] args); but the proxy

  • 0

the contract def is

    [OperationContract]
    DataSet myfunc(string a, params object[] args);

but the proxy is generated like so by the add service ref wizard

    public System.Data.DataSet myfunc(string a, object[] args) {
        return base.Channel.GetDataSet(a, args);
    }

what gives ? both are .net 4.0 projects

I can change the proxy but the changes will be lost on update

  • 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-26T14:55:18+00:00Added an answer on May 26, 2026 at 2:55 pm

    Not sure what your question is, but I’m guessing you’re seeing problems because of your use of params there.

    WSDL doesn’t deal with optional parameters like that.

    Is that what you’re getting at?

    If that’s the case, then your best bet may be to do what the proxy generated code is doing instead. Pass an array of objects (though you may run into trouble trying to pass just any old object since some won’t be serializable or interoperable).

    I’m not really sure what you’re trying to do with the optional parameters though, so I can’t tell you exactly what to do instead.

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

Sidebar

Related Questions

Is contract to interface as object is to class? What is the need to
I have a service contract that defines a method with a parameter of type
UPDATE my show function def show @contact = Contact.find(params[:id]) @data = Register.all :include =>
I have a controller that has if-condition: def update @contact_email = ContactEmail.find(params[:id]) if @contact_email.update_attributes(params[:contact_email])
Something that I see people doing all the time is: class Man(object): def say_hi(self):
My form looks like this def handle(self,filefield_data): Upload the file data, in chunks, to
class CommentsController < ApplicationController def create @contact = Contact.find(params[:contact_id]) @comment = @contact.comments.create(params[:comment]) respond_to do
I'm a contract programmer with lots of experience. I'm used to being hired by
I have a contract in the offering from a client to develop an intranet
When programming by contract a function or method first checks whether its preconditions are

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.