r/DatabaseHelp • • Jul 19 '17

Connect to Database using XML sockets

So I don't know if this qualifies for this site, but I am trying to figure out how to use sockets and XML to send information to a ClearQuest database. I have never dealt with sockets before, and although I'm reading up on this, I'm still not quite getting it. How exactly is my program utilizing sockets going to communicate with the database's sockets? Thanks in advance. I have never done anything like this before.

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/L_darkly Jul 24 '17

Thank you so much for your thorough response and encouragement. Honestly, I was so scared that I would look stupid for taking so long to figure this out or just not figuring it out at all.

I have never done any network programming in my life, and while I do find it interesting to learn about, I don't have much time here and doubt I can finish the task. What she wants isn't crucial, just something that would make her job much easier and resume fodder and experience from me. I really want to be able to leave this internship with something tangible I have done, so it would mean a lot to be able to do this.

From YouTube, I have learned how to use Python to listen to create and listen to a socket at a certain port. I also learned about threading. But I don't know how to incorporate the XML with the Python. Your links and Youtube should help me figure out this next step.

What she's really wanting in the end is a program that allow her to make changes in Excel and upload all of the changes without having to go through the standard interface and create new queries. So this program would have to allow a lot of data to be transferred back and forth for changes to be made, possibly en masse.