get current user from webservice xml - InfoPath Dev
in

InfoPath Dev

get current user from webservice xml

Last post 07-10-2006 04:49 PM by fredarwin. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-26-2006 05:18 AM

    • loma
    • Not Ranked
    • Joined on 06-26-2006
    • Posts 5

    get current user from webservice xml

    Hi!

    I am new to webservices and xml, and need some help with displaying the current user in a infopath form. I get the information in a xml-string from a webservice, but how can i get the right node for the current user from the xml-string to show in a textbox in infopath?

    Thanks for any help on this!
  • 06-26-2006 07:24 AM In reply to

    Re: get current user from webservice xml

    Hello loma,
    Welcome to Infopathdev Forums

    Please read the links below,
    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1524
    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=831

    I hope these will help you.
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 06-27-2006 12:12 AM In reply to

    • loma
    • Not Ranked
    • Joined on 06-26-2006
    • Posts 5

    Re: get current user from webservice xml

    Thanks for your help drgkeddy,
    but i have a webservice that generates information about who the current user is. I receive a xml-string from the webservice with information about the current user, his name, mailadress, department and so on, and my problem is that i dont know how to subtract the information i need from the one i dont need.

    I use the webservice as a data connection and want to populate a field in the form with name of the current user. But when i choose the connection to read from i get the entire xml-string, instead of just the name.
  • 07-10-2006 04:49 PM In reply to

    Re: get current user from webservice xml

    loma, i hope this can help you

    1.create a webservice that return a dataset with data of the current user(name,mail, department, etc)
    2. Create a secondary datasource to your webservice.
    3. Query u'r secondary datasource and get data from the fields.

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