How can i consume a signed xml?

Hi

How can i consume a webservice that use a signed xml?, how can i pass the signature ?

I am new to ionic and following cconraets ionic tutorial and the sessions example using a factory

.factory(‘Session’, function ($resource) {
return $resource(‘http://localhost:5000/sessions/:sessionId’);
});

https://ccoenraets.github.io/ionic-tutorial/create-angular-service.html

And andrew macgivery posts about soarp webservices

Thank´s in advance

The xml have this pattern : http://www.w3.org/TR/xmldsig-core/ where i must pass a key to have access to the webservice