exportLibraryStructureWithoutSteps インターフェイスは、ライブラリ、フォルダ、および共有ステップ オブジェクトを XML ファイルとしてエクスポートするために使用します。共有ステップ オブジェクトに含まれているステップはエクスポートされません。次の表は、exportLibraryStructureWithoutSteps インターフェイスのパラメータを表しています。
| インターフェイス URL | パラメータ | 説明 | 
|---|---|---|
| http://<front-end URL>/servicesExchange?hid=exportLibraryStructureWithoutSteps | sid | ユーザー認証用の Web サービス トークンまたはセッション識別子。Web サービス トークンは、Silk Central UI の 設定ページ から生成できます。このページにアクセスするには、Silk Central メニューに表示されているユーザー名にマウス カーソルを移動し、ユーザー設定 を選択します。セッション識別子は、利用可能な Web サービス のうちの logonUser メソッドを呼び出すことで取得できます。 | 
| nodeID | エクスポートされるライブラリ ツリー内のライブラリ ノードまたはフォルダ。共有ステップ ノードの ID は使用できません。 | 
例:http://<front-end URL>/servicesExchange?hid=exportLibraryStructureWithoutSteps&sid=<webServiceToken>&nodeID=<id>
以下のコードでは、Apache HttpClient を使用して、ライブラリがエクスポートされます。
import org.apache.commons.httpclient.*; // Apache HttpClient
String webServiceToken = "e39a0b5b-45db-42db-84b2-b85028d954d5";
URL service = new URL("http", mWebServiceHelper.getHost(),
  mWebServiceHelper.getPort(), String.format("/servicesExchange?hid=%s&sid=%s&nodeID=%d",
  "exportLibraryStructureWithoutSteps", webServiceToken, NODE_ID));
	
HttpClient client = new HttpClient();
client.getHttpConnectionManager().getParams().setConnectionTimeout(60000);
HttpMethod fileGet = new GetMethod(service.toExternalForm());
int status = client.executeMethod(fileGet);
System.out.println(fileGet.getStatusLine());
String exportedTestPlanResponse = fileGet.getResponseBodyAsString();
System.out.println(exportedTestPlanResponse); 
               		Apache HttpComponents をダウンロードするには、http://hc.apache.org/downloads.cgi を参照してください。必要なライブラリについては、コンポーネントのドキュメントを参照してください。