Sending XML Request to a Server using PHP

Hi,
I need to connect to a server by sending a XML request. How do I do it?
I have a URL with the server name. I constructed the XMl according to their guide, but unfortunately there is no code on how to connect to it.
Please help.
Thanks