×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    66

    How can i send array as parameter in Qtsoap request ?????

    Hello Friends.....................

    QtSoapArray *array=new QtSoapArray(QtSoapQName("Myarray"),QtSoapType::String,5,10,0,0,0);

    array->insert(0, 0, new QtSoapSimpleType(QtSoapQName("top left"), "top left"));
    array->insert(0, 1, new QtSoapSimpleType(QtSoapQName("top right"), "top right"));
    array->insert(1, 0, new QtSoapSimpleType(QtSoapQName("bottom left"), "bottom left"));
    array->insert(1, 1, new QtSoapSimpleType(QtSoapQName("bottom right"), "bottom right"));

    I prepared array successfully, can anybody tell how can i send or pass it using addMethodArgument or any other method.................................

    pls.help me ...................

  2. #2
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: How can i send array as parameter in Qtsoap request ?????

    Have you tried like this

    QtSoapMessage request;
    request.addMethodArgument(&array);

  3. #3
    Registered User
    Join Date
    Oct 2010
    Posts
    66

    Re: How can i send array as parameter in Qtsoap request ?????

    Yes ......i have done and it's working also .........
    thanks.....

  4. #4
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: How can i send array as parameter in Qtsoap request ?????

    Quote Originally Posted by Yogesghpatel View Post
    Yes ......i have done and it's working also .........
    thanks.....
    glad that it worked.

Similar Threads

  1. Replies: 0
    Last Post: 2011-04-15, 11:25
  2. Replies: 0
    Last Post: 2010-09-15, 13:26
  3. Replies: 3
    Last Post: 2009-06-27, 15:58
  4. Replies: 0
    Last Post: 2003-04-29, 15:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×