webservice RRS feed

  • Question

  • User-1834799348 posted

    hi ,

    I have access webservice and get the output as net output

    using ValidateNewRequestTest.Validateneworder;

    using NUnit.Framework;

    namespace ValidateNewRequestTest



    public class ValidateNewRequest


    Validateneworder.ESoapClient vNewRequest = new ESoapClient();


    public void NewOrder()


    Array[] OutOfBandData = null;

    object o = null;

    // var NewOnjResponse;

    vNewRequest.ValidateNewOrder("<OW><NewValidate Exercised='NO' OrderTaken='DIRECTLYT'

    Side='SELL_SHORT' Symbol = 'JN' PriceType = 'TRLGSTP' RPChannel = 'REPASSISTED' PNSTermse = 'STANDARD'

    Trading = '1' StopParam = '13' ReadBackInd = '0' PNSTerms_IsMLGiveUp = '1' PNSTerms_MLGiveUpToFCWireCall = 'UNF' PNSTerms_MLGiveUpToFCNumber = '1000' TimeInForce_Code = 'DAY' AccountNumber = '298788' FC_FCNumber = '1008' Quantity = '1' CostCenter = 'CostCenter' MarketDataClientId = 'ZSGEW4A' /></ OW>"

    , null, out o);

    // Assert.AreEqual("x",o);

    //return o;


    I want to show it in netoutcome,,can any help to modify  function

    Thursday, October 31, 2019 9:14 PM

All replies

  • User288213138 posted

    Hi cvm321,

    Validateneworder.ESoapClient vNewRequest = new ESoapClient();

    Can you tell me what it is and what does it do?

    I want to show it in netoutcome

    And what is netoutcome?

    please post more details information about your requirement.

    Best regards,


    Friday, November 1, 2019 6:50 AM
  • User-1834799348 posted

    Thankyou for reply.Actually im service referencing webservice in my application .

    vNewRequest.Validateorder(string InputXml, consService.ServService.ArrayOfAnyType[] OutOfBandData, out object OutputXml)

    now ,I have passed input.xml,now I want to show it in out parameter as newoutput

    when I debug it show null value

    Friday, November 1, 2019 2:14 PM
  • User288213138 posted

    Hi cvm,

    I have passed input.xml,now I want to show it in out parameter as newoutput

    Do you want to show it in visual studio output window? If so, you can try to Debug.write Method.

    when I debug it show null value

    I don't knwo how did you use the Validateorder(), can you show me this method?

    My suggestion is that since you have dubug, you can see why it is empty during dubug.

    Best regards,


    Tuesday, November 5, 2019 1:51 AM