code: public String createTarget( String targetContent ) throws TargetWsException {
  
  		this.logger.finer( "Creating a new target."  );
  
  		WebResource path = this.resource.path( UrlConstants.TARGETS );
  		ClientResponse response = this.wsClient.createBuilder( path ).post( ClientResponse.class, targetContent );
  		handleResponse( response );
  
  		return response.getEntity( String.class );
  	}
docs: Creates a new target.
  @param targetContent non-null target properties
  @return the ID of the newly created target
  @throws TargetWsException if the creation failed