* @param peer peer to send message to, expressed in TrustEngine terms
* @param endpoint URL of endpoint to recieve message
*/
- virtual void send(const Envelope* env, const xmltooling::KeyInfoSource& peer, const char* endpoint);
+ virtual void send(const Envelope& env, const xmltooling::KeyInfoSource& peer, const char* endpoint);
/**
* Returns the response message, if any. As long as a response is
m_transport=NULL;
}
-void SOAPClient::send(const Envelope* env, const KeyInfoSource& peer, const char* endpoint)
+void SOAPClient::send(const Envelope& env, const KeyInfoSource& peer, const char* endpoint)
{
// Prepare a transport object.
const char* pch = strchr(endpoint,':');
// Serialize envelope.
stringstream s;
- s << *env;
+ s << env;
// Send to peer.
m_transport->send(s);