Thanks for the response Hugh.
Here's the stripped down code:
Microsoft.Win32.RegistryKey grooveWebServicesRegKey =
Microsoft.Win32.Registry.CurrentUser.OpenSubKey(
"Software\\Microsoft\\Office\\12.0\\Groove\\WebServices" );
Microsoft.Win32.RegistryKey grooveWebServicesHTTPortRegKey =
Microsoft.Win32.Registry.CurrentUser.OpenSubKey(
"Software\\Microsoft\\Office\\12.0\\Groove");
string localRequestKey =
(string)grooveWebServicesRegKey.GetValue("LocalRequestKey");
string localPort =
grooveWebServicesHTTPortRegKey.GetValue("GrooveLocalHTTPPort",
9080).ToString();
string localResponseKey =
(string)grooveWebServicesRegKey.GetValue("LocalResponseKey");
GrooveForms2.GrooveForms2 gf2 = new GrooveForms2.GrooveForms2();
gf2.GrooveRequestHeaderValue = new
GrooveFormReplaceDesign.GrooveForms2.GrooveRequestHeader();
gf2.GrooveRequestHeaderValue.GrooveRequestKey = localRequestKey;
gf2.GrooveRequestHeaderValue.GrooveIdentityURL =
"grooveIdentity://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@";
gf2.Url =
"
http://localhost:9080/GWS/Groove/2....ToolContainer/yyyyyyyyyyyyy/DataModelDelegate";
gf2.ReplaceDesign("
http://localhost:9080/GWS/Groove/2....ToolContainer/uuuuuuuuuuuuu/DataModelDelegate");
Obviously, the URIs have been obfuscated, but you get the idea.
Both the source and target urls were snagged out using GrooveRemoteExplorer.
What happens at ReplaceDesign is SoapException "IDispatch error #528", but,
get this, only if the tool was just created. If I go in the UI and click the
"import" or "start" button, the design can be replaced without error.
Any ideas? Could it be that it only works in the gdb... We've been working
against the client.
BTW: I've been watchin' the cb301/302 videos from sdc2006. Good stuff.
-LZ