How i can render simple, straight line between two arbitrary point?

I using MapPoint services by soap, client on PHP.

XML sample will be great for this.

Can anyone help?
Thanks.