How to consume C# webservice?How do I calculate someone's age in C#?What is the difference between String and string in C#?Hidden Features of C#?Calling the base constructor in C#Cast int to enum in C#How do you give a C# Auto-Property a default value?How do I enumerate an enum in C#?How do I create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office?What are the correct version numbers for C#?How do I get a consistent byte representation of strings in C# without manually specifying an encoding?

How to split a string by the third .(dot) delimiter

C++ - using const reference to prolong a member of a temporary, ok or UB?

How could a imperial dynasty keep a loose collection of pirates, raiders, etc unified?

What is Japanese Language Stack Exchange called in Japanese?

What does "synoptic" mean in avionics?

Which currencies does Wizz Air use in-flight?

Why did it become so much more expensive to start a university?

Evidence that matrix multiplication cannot be done in O(n^2 poly(log(n))) time

Why should I always enable compiler warnings?

Sol Ⅲ = Earth: What is the origin of this planetary naming scheme?

Tall red piece with coffee cup, phone and gas picture?

Is English tonal for some words, like "permit"?

Is there a star over my head?

Did Picard get in trouble when he was in command of the Stargazer and lost his ship?

Does the wording of the Wrathful Smite spell imply that there are other living beings that aren't considered "creatures"?

Gas pipes - why does gas burn "outwards?"

How does Vivi differ from other Black Mages?

Query store audit

How to determine the traffic avoidance manuver?

How do email clients "send later" without storing a password?

Has any object launched from Earth gone into the Sun?

How seriously should I take a CBP interview where I was told I have a red flag and could only stay for 30 days?

Can I disable a battery powered device by reversing half of its batteries?

Exact Brexit date and consequences



How to consume C# webservice?


How do I calculate someone's age in C#?What is the difference between String and string in C#?Hidden Features of C#?Calling the base constructor in C#Cast int to enum in C#How do you give a C# Auto-Property a default value?How do I enumerate an enum in C#?How do I create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office?What are the correct version numbers for C#?How do I get a consistent byte representation of strings in C# without manually specifying an encoding?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I practice some web service to know more about the limit of input and output they can receive. Is any parameter can use (include instance data type) in webservice? If true how can I consume this webservice?



[WebMethod]
public string uploadFile(string path, string fileName, string mimeType, byte[] documentContent)
return ECMApi.createDocumentByPath(path, fileName, mimeType, documentContent);










share|improve this question


























  • Your question is kind of broad so you may want to narrow it down to more specifically what you are wanting to accomplish.

    – Popo
    Mar 28 at 15:09

















0















I practice some web service to know more about the limit of input and output they can receive. Is any parameter can use (include instance data type) in webservice? If true how can I consume this webservice?



[WebMethod]
public string uploadFile(string path, string fileName, string mimeType, byte[] documentContent)
return ECMApi.createDocumentByPath(path, fileName, mimeType, documentContent);










share|improve this question


























  • Your question is kind of broad so you may want to narrow it down to more specifically what you are wanting to accomplish.

    – Popo
    Mar 28 at 15:09













0












0








0








I practice some web service to know more about the limit of input and output they can receive. Is any parameter can use (include instance data type) in webservice? If true how can I consume this webservice?



[WebMethod]
public string uploadFile(string path, string fileName, string mimeType, byte[] documentContent)
return ECMApi.createDocumentByPath(path, fileName, mimeType, documentContent);










share|improve this question
















I practice some web service to know more about the limit of input and output they can receive. Is any parameter can use (include instance data type) in webservice? If true how can I consume this webservice?



[WebMethod]
public string uploadFile(string path, string fileName, string mimeType, byte[] documentContent)
return ECMApi.createDocumentByPath(path, fileName, mimeType, documentContent);







c# web-services






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 17:03









double-beep

3,1977 gold badges19 silver badges33 bronze badges




3,1977 gold badges19 silver badges33 bronze badges










asked Mar 28 at 8:53









Luyen Tran VanLuyen Tran Van

2510 bronze badges




2510 bronze badges















  • Your question is kind of broad so you may want to narrow it down to more specifically what you are wanting to accomplish.

    – Popo
    Mar 28 at 15:09

















  • Your question is kind of broad so you may want to narrow it down to more specifically what you are wanting to accomplish.

    – Popo
    Mar 28 at 15:09
















Your question is kind of broad so you may want to narrow it down to more specifically what you are wanting to accomplish.

– Popo
Mar 28 at 15:09





Your question is kind of broad so you may want to narrow it down to more specifically what you are wanting to accomplish.

– Popo
Mar 28 at 15:09












1 Answer
1






active

oldest

votes


















0
















If by instance type you are referring to a reference object as opposed to value type, then yes you can you them. There may be different constraints if you are using REST, or WCF, or calling web methods via ajax.






share|improve this answer
























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55393461%2fhow-to-consume-c-sharp-webservice%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0
















    If by instance type you are referring to a reference object as opposed to value type, then yes you can you them. There may be different constraints if you are using REST, or WCF, or calling web methods via ajax.






    share|improve this answer





























      0
















      If by instance type you are referring to a reference object as opposed to value type, then yes you can you them. There may be different constraints if you are using REST, or WCF, or calling web methods via ajax.






      share|improve this answer



























        0














        0










        0









        If by instance type you are referring to a reference object as opposed to value type, then yes you can you them. There may be different constraints if you are using REST, or WCF, or calling web methods via ajax.






        share|improve this answer













        If by instance type you are referring to a reference object as opposed to value type, then yes you can you them. There may be different constraints if you are using REST, or WCF, or calling web methods via ajax.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 28 at 15:09









        PopoPopo

        2,1175 gold badges27 silver badges49 bronze badges




        2,1175 gold badges27 silver badges49 bronze badges





















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.




















            draft saved

            draft discarded















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55393461%2fhow-to-consume-c-sharp-webservice%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript