version 1.30, 2002/03/01 19:48:24
|
version 1.31, 2002/03/02 00:15:57
|
|
|
// | // |
// appendLocalObjectPathElement() | // appendLocalObjectPathElement() |
// | // |
// If the reference has keys, write a LOCALINSTANCEPATH, otherwise write |
// If the reference refers to an instance, write a LOCALINSTANCEPATH; |
// a LOCALCLASSPATH. |
// otherwise write a LOCALCLASSPATH. |
// | // |
//------------------------------------------------------------------------------ | //------------------------------------------------------------------------------ |
| |
|
|
Array<Sint8>& out, | Array<Sint8>& out, |
const CIMReference& objectPath) | const CIMReference& objectPath) |
{ | { |
if (objectPath.getKeyBindings().size() > 0) |
if (objectPath.isInstanceName()) |
{ | { |
appendLocalInstancePathElement(out, objectPath); | appendLocalInstancePathElement(out, objectPath); |
} | } |
|
|
// | // |
// appendMethodCallHeader() | // appendMethodCallHeader() |
// | // |
// Build HTTP request header. |
// Build HTTP method call request header. |
// | // |
//------------------------------------------------------------------------------ | //------------------------------------------------------------------------------ |
| |
|
|
tmp, | tmp, |
host, | host, |
methodName, | methodName, |
path.getNameSpace(), // ATTN-RK-P3-20020301: Need more in header? |
path.toString(false), |
authenticationHeader, | authenticationHeader, |
out.size()); | out.size()); |
tmp << out; | tmp << out; |