// Connect to the service
Connector.CreateInstance(__uuidof(HttpConnector));
Connector->Property["EndPointURL"] = "http://202...:8080/soap/servlet/rpcrouter";
Connector->Connect();
// Begin message
Connector->BeginMessage();
// Create the SoapSerializer
Serializer.CreateInstance(__uuidof(SoapSerializer));
// Connect the serializer to the input stream of the connector
Serializer->Init(_variant_t((IUnknown*)Connector->InputStream));
// Build the SOAP Message
Serializer->startEnvelope("","","");
Serializer->SoapNamespace("xsi","http://www.w3.org/1999/XMLSchema-instance");
Serializer->SoapNamespace("xsd","http://www.w3.org/1999/XMLSchema");
Serializer->startBody("http://schemas.xmlsoap.org/soap/encoding/");
// Connect to the service
Connector.CreateInstance(__uuidof(HttpConnector));
Connector->Property["EndPointURL"] = "someURL";
Connector->Connect();
// Begin message
// Connector->Property["SoapAction"] = "";
Connector->BeginMessage();
// Create the SoapSerializer
Serializer.CreateInstance(__uuidof(SoapSerializer));
// Connect the serializer to the input stream of the connector
Serializer->Init(_variant_t((IUnknown*)Connector->InputStream));