if u were a real friend, i think u doesn't need an invitation, some time people misses the person whom they love too much, also possible that he or she really forgot to invite you, in fact you should attend the wedding and celebrate it, im sure if he or she remember about invitation he might feel bad and will remember for ur good attitude