A wallet is a collection of one OR MORE RECEIVING ADDRESSES along with the private keys that are needed to control any bitcoins received.
It is not possible for you to know ALL of the receiving addresses that a sender has control over unless he specifically tells you, and even then you would have to trust that he is not lying.
It is also possible that the bitcoins you receive were NOT previously received at an address. There is no such thing as a "sending address", that's not how bitcoin works. Any attempt to show you a "sending address" is a misunderstanding about how transactions work.
You could get a list of all the output scripts that were used in the transactions where the sender previously received the bitcoins before they were sent to you. You could then attempt to convert as many of those scripts into addresses as possible. This seems like a very bad idea though. Perhaps you should explain what it is you are actually trying to accomplish, and we could help you understand a better way to do it.