View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2008 eviware.com 
3    *
4    *  soapUI is free software; you can redistribute it and/or modify it under the 
5    *  terms of version 2.1 of the GNU Lesser General Public License as published by 
6    *  the Free Software Foundation.
7    *
8    *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
9    *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
10   *  See the GNU Lesser General Public License for more details at gnu.org.
11   */
12  
13  package com.eviware.soapui.settings;
14  
15  import com.eviware.soapui.settings.Setting.SettingType;
16  
17  /***
18   * WS-A Settings constants
19   * 
20   * @author dragica.soldo
21   */
22  public interface WsaSettings {
23  
24  	@Setting( name="Use default Action", description="Use default Action generated from wsdl", type=SettingType.BOOLEAN )
25  	public final static String USE_DEFAULT_ACTION = WsaSettings.class.getSimpleName() + "@" + "useDefaultAction";
26  	
27  	@Setting( name="Generate MessageID", description="Randomly generate MessageID", type=SettingType.BOOLEAN )
28  	public final static String GENERATE_MESSAGE_ID = WsaSettings.class.getSimpleName() + "@" + "generateMessageID";
29  	
30  	@Setting( name="Use default RelationshipType", description="Use default 'reply' for RelationshipType", type=SettingType.BOOLEAN )
31  	public final static String USE_DEFAULT_RELATIONSHIP_TYPE = WsaSettings.class.getSimpleName() + "@" + "useDefaultRelationshipType";
32  	
33  	@Setting( name="Use default RelatesTo", description="Use default 'unspecified' for RelatesTo", type=SettingType.BOOLEAN )
34  	public final static String USE_DEFAULT_RELATES_TO = WsaSettings.class.getSimpleName() + "@" + "useDefaultRelatesTo";
35  	
36  	@Setting( name="Override existing headers", description="Replaces existing WS-A headers (or skips them if unchecked) ", type=SettingType.BOOLEAN )
37  	public final static String OVERRIDE_EXISTING_HEADERS = WsaSettings.class.getSimpleName() + "@" + "overrideExistingHeaders";
38  	
39  	@Setting( name="Enable for optional Addressing policy", description="Enables WS-Addressing for Addressing Optional='true'", type=SettingType.BOOLEAN )
40  	public final static String ENABLE_FOR_OPTIONAL = WsaSettings.class.getSimpleName() + "@" + "enableForOptional";
41  	
42  }