Here's a nice, sweet melody showing many soloing techniques. It's a good demo on how to write melodies and how to combine best over your rhythm tracks.
Rhythm Chords
e----2-------2----
B----2-------0----
G----2-------0----
D----0-------0----
A----x-------x----
E----x-------3----
Solo
e----------------------------------------------------------17----------19--17~~~~~---------15h17p15-17
B--------------------------------------------------14--15------15--17---------------------------------
G----------------------------------14----------16-----------------------------------------------------
D--------------------------11--12------12--14---------------------------------------------------------
A----------12----------14-----------------------------------------------------------------------------
E--9---10------10--12---------------------------------------------------------------------------------
I--1-------.-------.-------.-------2-------.-------.-------.-------3-------.-------.-------.--------4--
e----------------------------------14~~~~~~~~~~~~~~~~~~~~~~~10-----10h12p10-------------------------
B------------------------------12-------------------------------------------------------------------
G--------------------------11----------------------------------------------12p-11h-12p-11---9~~~~~--
D---------------------------------------------------------------------------------------------------
A---------------------------------------------------------------------------------------------------
E---------------------------------------------------------------------------------------------------
I--4---------------1---------------2---------------3---------------4---------------1---------------.
e--15p14p12-14-----------------------------------------------------
B------------------15p14p12-14-------------------------------------
G----------------------------------12p11p9--11---------------------
D--------------------------------------------------12p11p9--11-----
A------------------------------------------------------------------
E------------------------------------------------------------------
I--1---------------2---------------3---------------4---------------
e--------------------------------------------------------10----------------10-12-14-12~~~~~~~---
B-----------------------------------------------10-12-14----14-12-10-12-14----------------------
G--------------------7-----------------7--9--11-------------------------------------------------
D-----------7--9--11----11-9--7--9--11----------------------------------------------------------
A--7--9--10-------------------------------------------------------------------------------------
E-----------------------------------------------------------------------------------------------
I--1-----------------2-----------------3-----------------4-----------------1-----------------2--3
e--------------------10-12-14-12~~~~~~-------------------------------------------------------
B-----------10-12-14-------------------------------------------------------------------------
G--9--11-12---------------------------------------------/19----18----18----18----18----18----
D-------------------------------------------------------/x-----x-----x-----x-----x-----x-----
A-------------------------------------------------------/17----16----16----16----16----16----
E--------------------------------------------------------------------------------------------
I--4-----------------1-----------------2-----------------3-----------------4-----------------
e--------------------------------------------------------------------------
B--------------------------------------------------------------------------
G--18\---14----14----14----14----14----14\---12----12----12---/18----18----
D--x-\---x-----x-----x-----x-----x-----x-\---x-----x-----x----/x-----x-----
A--16\---12----12----12----12----12----12\---10----10----10---/16----16----
E--------------------------------------------------------------------------
I--1-----------------2-----------------3-----------------4-----------------
e--------------------------------------------------------------------------
B--------------------------------------------------------------------------
G--18----14----14----14\---12---/14----12----------------------------------
D--x-\---x-----x-----x-\---x----/x-----x------(I think you get the idea)---
A--16\---12----12----12\---10---/12----10----------------------------------
E--------------------------------------------------------------------------
I--1-----------------2-----------------3-----------------4-----------------