1public void testDeleteAttributeForSubscriber() throws RemoteException {
2 Soap_PortType stub = init();
3 ConfigureRequestMsg configureRequestMsg = new ConfigureRequestMsg();
4 PropertyDefinition definition = new PropertyDefinition();
5 //create special Attribute under profile management, this attribute holds html content
6 definition.setName("SamplePropertyDefinition");
7 definition.setPropertyType(PropertyType.value1);
8 //Set ClientID to create attribute on sub-account
9 ConfigureOptions options = new ConfigureOptions();
10 ClientID clientID = new ClientID();
11 clientID.setID(232538);
12 options.setClient(clientID); //this creates attribute in sub-account
13 //definition.setClient(clientID); //this creates attribute in parent-account
14 configureRequestMsg.setOptions(options);
15 configureRequestMsg.setAction("delete");
16 APIObject[] objects = {definition};
17 configureRequestMsg.setConfigurations(objects);
18 //API call to delete to Attribute....
19 ConfigureResponseMsg responseMsg = stub.configure(configureRequestMsg);
20 assertNotNull(responseMsg.getOverallStatusMessage());
21 }