Multiple hubaction commands in one function and parsing the response

thanks. but I actually have some other problem right now.
parsing may wait. First I need to solve how to send envelope-header in soap request.
any idea on that ?