projects
/
shibboleth
/
xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch to reference for SOAP request envelope.
[shibboleth/xmltooling.git]
/
xmltooling
/
soap
/
impl
/
SOAPClient.cpp
diff --git
a/xmltooling/soap/impl/SOAPClient.cpp
b/xmltooling/soap/impl/SOAPClient.cpp
index
ba4676d
..
fbfc1bd
100644
(file)
--- a/
xmltooling/soap/impl/SOAPClient.cpp
+++ b/
xmltooling/soap/impl/SOAPClient.cpp
@@
-46,7
+46,7
@@
void SOAPClient::reset()
m_transport=NULL;
}
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,':');
{
// Prepare a transport object.
const char* pch = strchr(endpoint,':');
@@
-58,7
+58,7
@@
void SOAPClient::send(const Envelope* env, const KeyInfoSource& peer, const char
// Serialize envelope.
stringstream s;
// Serialize envelope.
stringstream s;
- s <<
*
env;
+ s << env;
// Send to peer.
m_transport->send(s);
// Send to peer.
m_transport->send(s);