Webservice passing value - InfoPath Dev
in

InfoPath Dev

Webservice passing value

Last post 08-22-2006 01:37 PM by BonsaiGuy. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 08-21-2006 02:57 PM

    Webservice passing value

    ok, I will scale down my last question to a more specific question in hopes of a response .. because I am lost :)

    -I am passing my webservice a value from a 2nd datasource containing database tables.
    -Let's say I am passing the web service just ONE field '@testfield'.
    -In the database this field contains only 3 rows with values 1,2,3
    -When I pass @testfield to the webservice in EVERY possible way it will only pass the first value from @testfield .. which is 1

    How can I pass the 2 or the 3 or '1,2,3' to the webservice???

    Thank you 1000 times to anyone who can help me with this!!

    -BonsaiGuy
  • 08-22-2006 05:25 AM In reply to

    Re: Webservice passing value

    Hi,

    Check out this link,
    http://infopathdev.com/forums/topic.asp?TOPIC_ID=380

    I hope this will help for you,
    Thanks.
    K.Ramana Reddy / http://www.ggktech.com
    India.
  • 08-22-2006 07:37 AM In reply to

    Re: Webservice passing value

    Thank you very much for your reply. Unfortunately that article does not help in this situation. In that article is appeared that the person was having trouble sending anything to a WS.

    I can send individual fields to a webservice without a problem. My issue is that if I have a dataField that contains multiple values how can I send all those values to the WS not just the first one in the set.

    Thank you.
  • 08-22-2006 12:40 PM In reply to

    Re: Webservice passing value

    Try out by changing your webservice to accept input parameter as an array and you can pass multiple query values as input.
  • 08-22-2006 01:28 PM In reply to

    Re: Webservice passing value

    Hi Agni,

    Thanks for you response. It's strange that is how I started this whole process. I first tried with arrays of Strings and used the 'send this pass String' option in Infopath. I also tried passing into an array of XmlElements and not as Strings. In both cases I would only recieve the first value. This has been a pretty frustrating experience. If you have any more suggestions or examples please let me know.

    Thanks
  • 08-22-2006 01:37 PM In reply to

    Re: Webservice passing value

    Actually I take that back when I pass into an array, it gives no error but all of the array's elements are empty.

    Thanks
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.