Assuming physical damage to the dock connector (rather than an electrical short-was the object metal?): you would need to [guide|445|replace] the front assembly. The 1st generation iPhone was built with the digitizer, LCD, cables, mic, and dock connector all intertwined into one part, so it's necessary to replace the one big part. It is also very difficult to acquire this part due to the frequency of damage and age of the device.
I'm sorry, I wish I had better news!